choose random spawn location in san andreas
#2

You can make players spawn with a random function like this:

pawn Код:
new RandPos = random(14);
        switch(RandPos)
        {
            case 0: { }
            case 1: { }
            case 2: { }
            case 3: { }
            case 4: { }
            case 5: { }
            case 6: { }
            case 7: { }
            case 8: { }
            case 9: { }
            case 10: { }
            case 11: { }
            case 12: { }
            case 13: { }
        }
Just fill into the script that sets the players spawn position in the brackets.
And of course, change the numbers of randomness after what you want

Good luck
Reply


Messages In This Thread
choose random spawn location in san andreas - by Smokey619 - 23.07.2010, 23:55
Re: choose random spawn location in san andreas - by Blt950 - 24.07.2010, 00:00
Re: choose random spawn location in san andreas - by Admigo - 10.04.2011, 00:16
Re: choose random spawn location in san andreas - by Admigo - 10.04.2011, 00:37

Forum Jump:


Users browsing this thread: 1 Guest(s)