Derby Script
#3

You mean you just want a few spawns and then they will get a random spawn there? Here is an example.

pawn Код:
new Float:LolSpawn[13][3] = {
{596.3462,1715.8889,13200.8818},
{672.0673,1634.6731,13181.5068},
{684.0848,1647.6111,13180.9922},
{701.1727,1720.1597,13140.5029},
{765.8998,1713.5703,13131.2129},
{746.9452,1590.9337,13153.1445},
{747.1368,1682.0662,13140.3506},
{695.3058,1715.1122,13143.4805},
{697.5287,1630.9753,13179.5107},
{630.8890,1710.9944,13190.5703},
{704.0422,1594.6122,13144.7500},
{738.2070,1578.1777,13147.8926},
{755.6571,1639.2150,13151.2041}
};
just place the coords you want to use for the spawn in there and then do something like this to pick a random one..

pawn Код:
public SpawnLol(playerid)
{
    new rand = random(sizeof(LolSpawn));
    SetPlayerPos(playerid, LolSpawn[rand][0], LolSpawn[rand][1], LolSpawn[rand][2]);
}
Reply


Messages In This Thread
Derby Script - by Headshot1108 - 22.02.2009, 13:18
Re: derby - by Headshot1108 - 22.02.2009, 23:10
Re: derby - by lavamike - 22.02.2009, 23:48
Re: derby - by Headshot1108 - 22.02.2009, 23:58
Re: derby - by Headshot1108 - 23.02.2009, 09:16
Re: Derby Script - by Headshot1108 - 23.02.2009, 17:20

Forum Jump:


Users browsing this thread: 1 Guest(s)