Spawn randomly
#3

Quote:
Originally Posted by ? Joker ?
Get more cords and do something like that

pawn Код:
if (!strcmp("/grove",cmdtext,true))
    {
        switch(random(4)) //4 is the number of positions
        {
            case 0: SetPlayerPos(playerid, 2498, -1666, 14);
            case 1: SetPlayerPos(playerid, 2498, -1666, 14);
            case 2: SetPlayerPos(playerid, 2498, -1666, 14);
            case 3: SetPlayerPos(playerid, 2498, -1666, 14);
        }


       
        return 1;
    }
Okay, thank you very much
________
BUY EXTREME VAPORIZER
Reply


Messages In This Thread
Spawn randomly - by ViruZZzZ_ChiLLL - 22.04.2010, 20:46
Re: Spawn randomly - by Nero_3D - 22.04.2010, 20:49
Re: Spawn randomly - by ViruZZzZ_ChiLLL - 22.04.2010, 20:55

Forum Jump:


Users browsing this thread: 2 Guest(s)