xPlayer.triggerEvent¶
xPlayer.triggerEvent(eventName, ...)
This function triggers an client event for the player.
Arguments¶
Argument | Data Type | Optional | Default Value | Explanation |
---|---|---|---|---|
eventName | string | No | - | Event name |
... | any | Yes | - | Variable number of arguments |