Quote:
Originally Posted by kickflipdude
why do it there? why not just do this:
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; }
Compile! And your done!
|
I aint a script begginer, i make a admin script in my gamemode, and the /kill command was just an example. I need the sollution of this.