LurkerAspect
Now officially a Super Lurker
- Reaction score
- 118
Hi there
Here I am, using GetLocalPlayer for the first time to create my own function. I was hoping someone could take a look at it and let me know if it will cause a desynch, because I don't really understand the function or the concept by how it works.
Here it is:
Basically I'm trying to hide a particular item from a particular player.
Thanks in advance! +rep is promised!
Here I am, using GetLocalPlayer for the first time to create my own function. I was hoping someone could take a look at it and let me know if it will cause a desynch, because I don't really understand the function or the concept by how it works.
Here it is:
JASS:
function HideItemFromPlayer takes item i, player p returns nothing
if GetLocalPlayer() == p then
call SetItemVisible(i,false)
endif
endfunction
Basically I'm trying to hide a particular item from a particular player.
Thanks in advance! +rep is promised!