Need help with random spawn
#2

it will gives much erros as your adding the CJ skin like 4 times....
As far as i know you can do it only once per skin id
pawn Код:
// Add this somewhere under the includes
new Float:SpawnPoints[4][4] =
{
{622.2733,892.5632,-35.2678,332.7885,
{682.1865,836.6607,-42.9609,235.6544},
{540.3431,840.1038,-41.1784,100.0032},
{466.4939,888.5435,-28.5861,246.7895}
};
OnPlayerSpawn

pawn Код:
new rnd;
            rnd = random(sizeof (SpawnPoints));
            SetPlayerPos(playerid, SpawnPoints[rnd][0], SpawnPoints[rnd][1], SpawnPoints[rnd][2]);
            SetPlayerFacingAngle(playerid, SpawnPoints[rnd][3]);
Reply


Messages In This Thread
Need help with random spawn - by BASITJALIL - 25.04.2011, 13:41
AW: Need help with random spawn - by xerox8521 - 25.04.2011, 13:48
Re: Need help with random spawn - by Alby Fire - 25.04.2011, 13:49
Re: Need help with random spawn - by BASITJALIL - 25.04.2011, 13:53
Re: AW: Need help with random spawn - by CraZy_KiLLaH - 25.04.2011, 13:57
Re: Need help with random spawn - by BASITJALIL - 25.04.2011, 13:59
AW: Re: AW: Need help with random spawn - by xerox8521 - 25.04.2011, 13:59
Re: Need help with random spawn - by BASITJALIL - 25.04.2011, 14:07
AW: Need help with random spawn - by xerox8521 - 25.04.2011, 14:09
Re: Need help with random spawn - by BASITJALIL - 25.04.2011, 14:17
Re: Need help with random spawn - by bartje01 - 25.04.2011, 14:20
Re: Need help with random spawn - by BASITJALIL - 25.04.2011, 14:54
Re: Need help with random spawn - by bartje01 - 25.04.2011, 15:10

Forum Jump:


Users browsing this thread: 1 Guest(s)