Random spawns - How to detect if a spawn is "Used"?
#2

I don't know what do you mean but maybe:
Код:
new Float:RandomPlayerSpawns[][] = {
	{//ADD POISTION HERE},
    {//ADD POISTION HERE}
};
OnPlayerSpawn:
Код:
	new rand;
	rand = random(sizeof(RandomPlayerSpawns));
	SetPlayerPos(playerid, RandomPlayerSpawns[rand][0], RandomPlayerSpawns[rand][1], RandomPlayerSpawns[rand][2]);
Reply


Messages In This Thread
Random spawns - How to detect if a spawn is "Used"? - by rangerxxll - 08.03.2014, 07:01
Re: Random spawns - How to detect if a spawn is "Used"? - by SPA - 08.03.2014, 07:18
Re: Random spawns - How to detect if a spawn is "Used"? - by rangerxxll - 08.03.2014, 07:22
Re: Random spawns - How to detect if a spawn is "Used"? - by SPA - 08.03.2014, 07:30
Re: Random spawns - How to detect if a spawn is "Used"? - by Yashas - 08.03.2014, 08:44

Forum Jump:


Users browsing this thread: 1 Guest(s)