[Solved]Random spawn points
#7

or:

Код:
new Float:gRandomSpawns[][4] = {
{x,y,z,a},
{x,y,z,a},
{x,y,z,a}
};
and in command/spawn..:

Код:
new r=random(sizeof(gRandomSpawns));
SetPlayerPos(playerid,gRandomSpawns[0],gRandomSpawns[1],gRandomSpawns[2]);
SetPlayerFacingAngle(playerid,gRandomSpawns[3]);
Reply


Messages In This Thread
[Solved]Random spawn points - by Dezi - 16.02.2009, 11:12
Re: Random spawn points - by tehcudguy - 16.02.2009, 12:15
Re: Random spawn points - by Dezi - 16.02.2009, 12:32
Re: Random spawn points - by Marcel - 16.02.2009, 12:35
Re: Random spawn points - by Dezi - 16.02.2009, 17:45
Re: Random spawn points - by Dezi - 16.02.2009, 17:48
Re: Random spawn points - by NaS - 16.02.2009, 18:02
Re: Random spawn points - by Dezi - 16.02.2009, 18:04
Re: Random spawn points - by tehcudguy - 16.02.2009, 18:05
Re: Random spawn points - by Dezi - 16.02.2009, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)