- Joined
- Nov 27, 2007
- Messages
- 85
I can turn player into observer... But how do I set the player state to "referee"?
(EXPLANATION: referee is an observer that can chat with normal players; by default observers can only chat with other observers).
The best I could find is this:
Which is used like:
(EXPLANATION: referee is an observer that can chat with normal players; by default observers can only chat with other observers).
The best I could find is this:
JASS:
native SetPlayerState takes player whichPlayer, playerstate whichPlayerState, integer value returns nothing
Which is used like:
JASS:
// make player an observer (NOT referee)
call SetPlayerState( p, PLAYER_STATE_OBSERVER, 1 )