Random spawns
#2

Top of the script:

Код:
new Float: RandomSpawns[3][] = {
{X,Y,Z},
{X,Y,Z},
{X,Y,Z}
};
The cell-number (which has a value of 3 currently), changes on an accord of how many sets of co-ordinates you put in there. Change the X,Y,Z as well, obviously.

Код:
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid,RandomSpawns[random(3)]);
return 1;
}
I'm not sure, that might work.
Reply


Messages In This Thread
Random spawns - by _Vortex - 25.08.2009, 11:43
Re: Random spawns - by [LSB]Clinz - 25.08.2009, 11:50
Re: Random spawns - by landapanda - 25.08.2009, 12:12
Re: Random spawns - by _Vortex - 25.08.2009, 14:47
Re: Random spawns - by refshal - 25.08.2009, 14:56
Re: Random spawns - by _Vortex - 25.08.2009, 16:27

Forum Jump:


Users browsing this thread: 1 Guest(s)