21.06.2009, 18:31
I am trying to disable /kill in all circumstances but nothing works. Here is my /kill command.
They still die without any messages.
pawn Код:
if(!strcmp(cmd, "/kill")) {
if(IsPlayerConnected(playerid)) {
SendClientMessage(playerid, Red1, "Error: Unknown command! For available commands please use: /commands.");
return 1;
}
SetPlayerHealth(playerid, 0.0);
return 1;
}