21.12.2012, 17:27
Hello, I've already scripted one command into my Game-Mode, that command is "/kill".
What I want to know what would go exactly after this?:
What I want to know what would go exactly after this?:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true, 5) == 0)
{
SetPlayerHealth(playerid, 0.0);
return 1;
}
return 0;
}

