Suicide
Jump to navigation
Jump to search
Description:
This function kills the npc.
Parameters:
NoParams
Return Values:
true on success and false on failure (npc not spawned)
Example
The following npc commits suicide if some one textes 'loser' to it.
function OnPlayerText(playerid, message) { if(message=="loser") { Suicide() } }
Related Functions
The following functions may be helpful as they relate to this function in one way or another.