OnPlayerDeath

From NPC for VCMP 0.4 Servers
Revision as of 13:16, 24 November 2022 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
This function is called when a player in the server dies or npc dies.


Parameters:

(playerid)

playerid : The ID of the player died/killed.


Return Values:
This function does not return any specific values.


Example

function OnPlayerDeath(playerid)
{
	//print("Player "+playerid+" has died\n");
}