OnPlayerDeath
Revision as of 15:48, 9 March 2022 by 157.46.138.66 (talk) (Created page with "{{Welcome| desc=This function is called when a player in the server dies.| params=<syntaxhighlight lang="lua">(playerid)</syntaxhighlight> <poem>::playerid : The ID of the pla...")
Description:
This function is called when a player in the server 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"); }