OnPlayerUpdate: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Welcome| desc=This function is called when the packet containing a players data arrives from the server.| params=<syntaxhighlight lang="lua">( playerid, updateType)</syntaxh...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Welcome| | {{Welcome| | ||
wngmsg=This is added in v1.4 only| | |||
desc=This function is called when the packet containing a players data arrives from the server.| | desc=This function is called when the packet containing a players data arrives from the server.| | ||
params=<syntaxhighlight lang="lua">( playerid, updateType)</syntaxhighlight> | params=<syntaxhighlight lang="lua">( playerid, updateType)</syntaxhighlight> |
Revision as of 07:30, 30 November 2022
Description:
This function is called when the packet containing a players data arrives from the server.
Parameters:
( playerid, updateType)
playerId : The ID of the player
updateType : The updateType
Return Values:
This function does not return any specific values.
Example
function OnPlayerUpdate( playerId, updateType ) { }