[Ajuda] Random spawn
#4

Topo do GM:

pawn Код:
new Float:Presonascadeia[6][3] =
{
    {193.1057,175.4812,1003.0547},
    {188.5582,174.9658,1003.0547},
    {197.4847,174.6470,1003.0547},
    {198.5391,162.2100,1003.0547},
    {194.4834,161.5905,1003.0547},
    {190.5846,161.7103,1003.0547}
};
Funзгo:
pawn Код:
new rand = random(sizeof(RSpawn));
SetPlayerPos(plid, Presonascadeia[rand][0], Presonascadeia[rand][1],Presonascadeia[rand][2]);
Reply


Messages In This Thread
Random spawn - by ShutDown_ - 06.09.2012, 22:00
Re: Random spawn - by dPlaYer_ - 06.09.2012, 22:01
Re: Random spawn - by ShutDown_ - 06.09.2012, 22:50
Re: Random spawn - by Mandrack_FreeZe - 07.09.2012, 00:13
Re: Random spawn - by ShutDown_ - 07.09.2012, 00:22
Re: Random spawn - by Mandrack_FreeZe - 07.09.2012, 00:28
Re: Random spawn - by Victor' - 07.09.2012, 00:33
Re: Random spawn - by ShutDown_ - 07.09.2012, 00:57
Re: Random spawn - by arakuta - 07.09.2012, 03:09
Re: Random spawn - by ShutDown_ - 07.09.2012, 12:46

Forum Jump:


Users browsing this thread: 2 Guest(s)