OnPlayerUpdate: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
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:33, 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 )
{
	
}