30.03.2011, 16:36
why do it there? why not just do this:
Compile! And your done!
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, 0xC2A2DAAA, "You Have Comitted Suicide");
return 1;
}
return 0;
}