Still confused
#4

Quote:
Originally Posted by [ĦŁ₣
ЉǾǖŦĦЗŁΛẄ ]
make the array with the coords in:

new Array[3][3]=
{
{x, y, z},
{x, y, z},
{x, y, z}
}

when they spawn:

new playerskin=GetPlayerSkin(playerid);
if(playerskin == skin to randomly spawn)
{
new r=random(3);
SetPlayerPos(playerid, Array[r][0], Array[r][1], Array[r][2]);
}

hope that helped
Thanks for this But theres a problem :
It only spawns me at a one place, not randomly
anywhere.
Reply


Messages In This Thread
Still confused - by ViruZZzZ_ChiLLL - 21.05.2010, 16:00
Re: Still confused - by DJDhan - 21.05.2010, 16:10
Re: Still confused - by ViruZZzZ_ChiLLL - 21.05.2010, 16:11
Re: Still confused - by ViruZZzZ_ChiLLL - 21.05.2010, 16:53

Forum Jump:


Users browsing this thread: 1 Guest(s)