SetPlayerFlagBJ

Parameters
whichPlayerFlag playerstate
flag boolean
whichPlayer player
comment
patch

1.00

return type
nothing
Source code
function SetPlayerFlagBJ takes playerstate whichPlayerFlag, boolean flag, player whichPlayer returns nothing
    call SetPlayerState(whichPlayer, whichPlayerFlag, IntegerTertiaryOp(flag, 1, 0))
endfunction
Source
Blizzard.j
wc3modding.com
SetPlayerFlagBJ