08.03.2011, 10:13
Fixed
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Kill", cmdtext, true, 5) == 0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, 0xFFFF00AA, "You have killed yourself!");
return 1;
}
if (strcmp("/Rules", cmdtext, true, 6) == 0)
{
SendClientMessage(playerid, 0xFFFF00AA, "Rules!");
return 1;
}
return 0;
}