Arena
#4

Problem is that if a person dies inside there, he doesn't spawn back in there,

pawn Code:
// under OnPlayerDeath
    if(InDMS[playerid] == 1)
    {
        new Random = random(sizeof(RandomDMSpawns));
        SetPlayerPos(playerid, RandomDMSpawns[Random][0], RandomDMSpawns[Random][1], RandomDMSpawns[Random][2]);
        SetPlayerFacingAngle(playerid, RandomDMSpawns[Random][3]);
        SetTimer("DMSTimer", 3000, false);
    }
Reply


Messages In This Thread
Arena - by Ananisiki - 02.03.2014, 21:22
Re: Arena - by GrassHopper101 - 02.03.2014, 21:45
Re: Arena - by GrassHopper101 - 02.03.2014, 21:48
Re: Arena - by Ananisiki - 02.03.2014, 22:09
Re: Arena - by Ananisiki - 03.03.2014, 17:24
Re: Arena - by CutX - 03.03.2014, 17:33
Re: Arena - by Ananisiki - 03.03.2014, 22:40

Forum Jump:


Users browsing this thread: 1 Guest(s)