problem with /accept death
#5

pawn Код:
if(strcmp(params,"death",true) == 0) {
            if(GetPVarInt(playerid, "Injured") == 1) {
                SendClientMessage(playerid, COLOR_WHITE, "You gave up hope and fell unconscious, you were immediately sent to the hospital.");
                KillEMSQueue(playerid);
                ResetPlayerWeaponsEx(playerid);
                SpawnPlayer(playerid);
            }
            else {  SendClientMessage(playerid, COLOR_GREY, "   You're not injured, you can't do this right now!"); }
        }
Is what I use maybe it helps?
Reply


Messages In This Thread
problem with /accept death - by AustinWeerdGuy - 19.03.2014, 10:00
Re: problem with /accept death - by Voxel - 19.03.2014, 10:15
Re: problem with /accept death - by AustinWeerdGuy - 19.03.2014, 17:23
Re: problem with /accept death - by Sascha - 19.03.2014, 18:15
Re: problem with /accept death - by Carac - 19.03.2014, 20:24

Forum Jump:


Users browsing this thread: 1 Guest(s)