Spawn Problems
#4

pawn Код:
if(alreadyspawned[playerid] == 1)
    {
        new randInt = random ( 7 );
        switch ( randInt )
        {
            case 0: SetPlayerPos(playerid,2118.0212,-2173.2434,18.5469);
            case 1: SetPlayerPos(playerid,2829.9478,918.4404,10.7500);
            case 2: SetPlayerPos(playerid,1681.0226,975.8158,10.7789);
            case 3: SetPlayerPos(playerid,1069.5417,1268.4760,10.8203);
            case 4: SetPlayerPos(playerid,-84.7425,-1126.5870,1.0781);
            case 5: SetPlayerPos(playerid,-488.8553,-534.6000,25.5296);
            case 6: SetPlayerPos(playerid,-2162.8982,-225.4068,36.5156);
        }
        return 1;
    }
why u setting the position again after the random?
Reply


Messages In This Thread
Spawn Problems - by Rokzlive - 13.01.2011, 23:13
Re: Spawn Problems - by Anthonyx3' - 13.01.2011, 23:19
Re: Spawn Problems - by Rokzlive - 13.01.2011, 23:26
Re: Spawn Problems - by Kitten - 13.01.2011, 23:31
Re: Spawn Problems - by Rokzlive - 13.01.2011, 23:38
Re: Spawn Problems - by Kitten - 13.01.2011, 23:44

Forum Jump:


Users browsing this thread: 1 Guest(s)