23.04.2012, 22:46
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Kill()", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, COLOR_YELLOW, "(INFO) You have commited suicide!");
return 1;
}
return 0;
}
{
if (strcmp("/Kill()", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, COLOR_YELLOW, "(INFO) You have commited suicide!");
return 1;
}
return 0;
}