17.10.2009, 14:30
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/kill", true) == 0)
{
SetPlayerHealth(playerid, 0.0);
SendClientMessage(playerid, COLOR_ORANGE, "[!] You Killed Yourself [!]");
return 1;
}
if(strcmp(cmdtext, "/help", true) == 0)
{
SendClientMessage(playerid, COLOR_SILVER, "[SERVER]:This Server is Currently Under Construction,Help Future Will Be Updates ASAP!");
return 1;
}
return 0;
}