SendChat

From NPC for VCMP 0.4 Servers
Revision as of 04:02, 6 September 2024 by 127.0.0.1 (talk)
Jump to navigation Jump to search


Description:
This function forces the player character to commit suicide in the game.


Parameters:

()


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


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.