24.07.2013, 06:26
When I use /kill my server says it is a uknown command
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
TextDrawCreate(190.0, 190.0, "WASTED");
if (strcmp("/kill", cmdtext, true, 5) == 0)
{
SetPlayerHealth(playerid, 0.0);
return 1;
}
return 0;
}