public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/kill", cmdtext, true, 5) == 0) { SetPlayerHealth(playerid, 0.0); SendClientMessage(playerid, 0x00FF00FF, "You respawned!"); return 1; } return 0; }