BlzTriggerRegisterPlayerSyncEvent

Parameters
whichTrigger trigger
whichPlayer player
prefix string
fromServer boolean

"should be false"

comment

Create an event that listens to messages sent by player with prefix. (see: BlzSendSyncData)

One can create a player SyncEvent for any prefix with TriggerRegisterPlayerEvent(whichTrigger, whichPlayer, EVENT_PLAYER_SYNC_DATA).

GetTriggerPlayer() is the message source.

patch

1.31

return type
event
Source code
native BlzTriggerRegisterPlayerSyncEvent           takes trigger whichTrigger, player whichPlayer, string prefix, boolean fromServer returns event
Source
ui.j
wc3modding.com
BlzTriggerRegisterPlayerSyncEvent