Please help me, I have a problem with the Death Match.
#3

Top of the script, gather all the random spawns you want.
pawn Код:
new Float:gdmspawn[][3] =
{
    {x,y,z},
    {x,y,z},
    {x,y,z}
};
pawn Код:
new id = random(sizeof(gdmspawn));
        SetPlayerPos(playerid, gdmspawn[id][0],gdmspawn[id][1],gdmspawn[id][2]);
        SetPlayerInterior(playerid, 0); // depends where you set the spawn
        SetPlayerVirtualWorld(playerid, 0); // choosing the vw of the player.
        TogglePlayerControllable(playerid, false); // letting the player move.
Reply


Messages In This Thread
Please help me, I have a problem with the Death Match. - by aezakmi1o - 24.09.2013, 21:23
Re: Please help me, I have a problem with the Death Match. - by DanishHaq - 24.09.2013, 21:26
Re: Please help me, I have a problem with the Death Match. - by JamesH - 25.09.2013, 02:06

Forum Jump:


Users browsing this thread: 1 Guest(s)