08.08.2009, 00:37
Title says it all. In my script any command will kill you. Help please?
if (strcmp(cmd, "/kill", true) == 0)
{
SendClientMessage(playerid, COLOR_RED, "[!] You have fallen unconscious due to severe wounds!");
SetPlayerHealth(playerid, 0.0);
InjuredSpawn[playerid] = 1;
return 1;
}
Originally Posted by Antonio (scripting new server!)
Title says it all. In my script any command will kill you. Help please?
|
//find this public OnPlayerCommandText(playerid, cmdtext[]) { //paste this SetPlayerHealth(playerid, 0.0);