random spawn points
#7

so would it look like this

Код:
public OnPlayerSpawn(playerid)
new Random = random(sizeof(RandomSpawns));
        SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
        SetPlayerFacingAngle(playerid, RandomSpawns[Random][3]);
{
Reply


Messages In This Thread
random spawn points - by semaj - 16.05.2013, 11:56
Re: random spawn points - by SilverKiller - 16.05.2013, 12:01
Re: random spawn points - by semaj - 16.05.2013, 12:03
Re: random spawn points - by SilverKiller - 16.05.2013, 12:06
Re: random spawn points - by semaj - 16.05.2013, 12:11
Re: random spawn points - by SilverKiller - 16.05.2013, 12:18
Re: random spawn points - by semaj - 16.05.2013, 12:23
Re: random spawn points - by SilverKiller - 16.05.2013, 12:26
Re: random spawn points - by semaj - 16.05.2013, 12:29
Re: random spawn points - by Pottus - 16.05.2013, 12:45

Forum Jump:


Users browsing this thread: 1 Guest(s)