SA-MP Forums Archive
death system? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: death system? (/showthread.php?tid=365117)



death system? - N0FeaR - 01.08.2012

I got problem when i died i got tp to red county, and spamming this To accept your death type /accept death


pawn Code:
}
        }
        if(Died[playerid] == 1)
        {

            SetPlayerInterior(playerid,dint[playerid]);
            SetPlayerVirtualWorld(playerid,dworld[playerid]);
            SetPlayerPos(playerid,dx[playerid],dy[playerid],dz[playerid]);
            TogglePlayerControllable(playerid,0);
            SetPlayerHealthEx(playerid, 1);
            ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
            SendClientMessage(playerid,COLOR_WHITE,"To accept your death type /accept death");
            dx[playerid] = 0;
            dy[playerid] = 0;
            dz[playerid] = 0;
            dint[playerid] = 0;
            dworld[playerid] = 0;
            return 1;



Re: death system? - N0FeaR - 01.08.2012

Nvm fixed.