if GetLocalPlayer() != Player(0) then
call SetUnitScale(unit, 0, 0, 0)
endif
@ TriggerHappy: Will simply hiding the unit desync ? :S
Like this:
Oh, ok Will change that then
But are you sure that setting it's size to 0 will work ?
In that case, it's better to be "safe than sorry" XD
function A takes nothing returns nothing
local integer unitid = 039;0000039;
if GetLocalPlayer() == Player(0) then
set unitid = 039;hfoo039;
endif
call CreateUnit(Player(0), unitid, 0, 0, 0)
endfunction