I need help with scripting regarding [/accept death]
#1

Hey everyone,
I want to delete [/accept death] but I don't want to delete it completely only to enable/disable it, let me explain.
I got RP server and I want FD have work and not get bored, I want to script /accept death to be disabled when FD members are on and when the are no members /accept death will be enabled to use..
That is possible to script thing like that?
Please help me.

Code:
Код:
if(strcmp(params, "death", true) == 0) {
            if(GetPVarInt(playerid, "Injured") == 1) {
                SendClientMessageEx(playerid, COLOR_WHITE, "You gave up hope and fell unconscious, you were immediately sent to the hospital.");
                KillEMSQueue(playerid);
                ResetPlayerWeaponsEx(playerid);
                SpawnPlayer(playerid);
            }
            else {  SendClientMessageEx(playerid, COLOR_GREY, "   You are not injured, you can't do this right now !"); }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)