OnPlayerDeath

From NPC for VCMP 0.4 Servers
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");
}