User
Server events that are in some way related to the user aspects.
On user connect
This event is triggered when a user is connecting to the server.
The server id of the user who is connecting to the server.
The r* license of the user who is connecting.
The rank of the user who is connecting.
A bool of is it the first time the player is connecting to this server?
AddEventHandler('__WOSA:SERVER:USER_CONNECTING', function(playerID, playerLicense, playerRank, isPlayerNew)
end)On user leave
This event is triggered when a user is leaving the server.
The server id of the user who is connecting to the server.
The r* license of the user who is connecting.
The rank of the user who is connecting.
The reason why the user left, by the system.
AddEventHandler('__WOSA:SERVER:USER_LEAVING', function(playerID, playerLicense, playerRank, leaveReason)
end)Last updated
Was this helpful?