13.01.2015, 17:30
aqui lo tienes todo el onplayercommandtext
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) { new cmd[128]; new idx; cmd = strtok(cmdtext, idx); if (strcmp("/kill", cmdtext, true) == 0) { SetPlayerHealth(playerid, 0); return 1; } |