Random Spawns
#18

Could u plz help me with this:

http://forum.sa-mp.com/index.php?topic=110137.0

?

Regards

btw:

pawn Код:
new Float:gRandomPlayerSpawns[1][3] = {
//{X, Y, Z},
//{X, Y, Z},
//{X, Y, Z},
{-2227.3806,2327.0906,7.5469}
};
Then, on public OnPlayerSpawn:

pawn Код:
rand = random(sizeof(gRandomPlayerSpawns));
SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]); // Warp the player
Reply


Messages In This Thread
Random Spawns - by Geekzor - 07.07.2009, 13:00
Re: Random Spawns - by Gimax - 07.07.2009, 13:05
Re: Random Spawns - by 6tynine - 07.07.2009, 13:05
Re: Random Spawns - by Gimax - 07.07.2009, 13:13
Re: Random Spawns - by Geekzor - 07.07.2009, 16:07
Re: Random Spawns - by refshal - 07.07.2009, 16:12
Re: Random Spawns - by Kyosaur - 07.07.2009, 16:13
Re: Random Spawns - by yom - 07.07.2009, 16:35
Re: Random Spawns - by Geekzor - 07.07.2009, 16:47
Re: Random Spawns - by refshal - 07.07.2009, 16:50
Re: Random Spawns - by Geekzor - 07.07.2009, 17:35
Re: Random Spawns - by refshal - 07.07.2009, 18:00
Re: Random Spawns - by Geekzor - 07.07.2009, 18:36
Re: Random Spawns - by refshal - 07.07.2009, 18:41
Re: Random Spawns - by Geekzor - 07.07.2009, 19:30
Re: Random Spawns - by Geekzor - 07.07.2009, 19:35
Re: Random Spawns - by Geekzor - 07.07.2009, 19:36
Re: Random Spawns - by PlayMaker - 07.07.2009, 19:38
Re: Random Spawns - by refshal - 07.07.2009, 19:53
Re: Random Spawns - by Geekzor - 07.07.2009, 21:07
Re: Random Spawns - by refshal - 07.07.2009, 21:35
Re: Random Spawns - by Geekzor - 07.07.2009, 22:50
Re: Random Spawns - by happyface - 07.07.2009, 23:44
Re: Random Spawns - by refshal - 08.07.2009, 07:49
Re: Random Spawns - by Geekzor - 08.07.2009, 10:58
Re: Random Spawns - by Geekzor - 08.07.2009, 14:34
Re: Random Spawns - by Geekzor - 08.07.2009, 15:19
Re: Random Spawns - by refshal - 08.07.2009, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)