Player Spawns
#7

Quote:
Originally Posted by JeNkStAX
pawn Код:
// Top Of Script
new ASpawns[4][3]
{
{-2764.6,1317.5,7.2},
{-2942.7,1361.2,10.7},
{-2896.7,1379.1,10.5},
{-2962.1,1466.0,10.8}
}
// Command
new rand = random(4);
SetPlayerPos(playerid, ASpawns[rand][0],ASpawns[rand][1],ASpawns[rand][2]);
And for skins
pawn Код:
// Top of script
new RSkins[4][1]// Change the 4 to amount of skins
{
{skinid},
{skinid},
{skinid},
{skinid}
}
// Command
new rand = random(4);// Change 4 to amount of skins
SetPlayerSkin(playerid, RSkins[rand][0]);
so i add them to the top of my script and when a player types what? it teles them to my co-ords?
Reply


Messages In This Thread
Player Spawns - by V1ceC1ty - 15.03.2009, 11:42
Re: Player Spawns - by MenaceX^ - 15.03.2009, 11:58
Re: Player Spawns - by mascii - 15.03.2009, 12:06
Re: Player Spawns - by ICECOLDKILLAK8 - 15.03.2009, 12:30
Re: Player Spawns - by MenaceX^ - 15.03.2009, 12:38
Re: Player Spawns - by ICECOLDKILLAK8 - 15.03.2009, 12:40
Re: Player Spawns - by V1ceC1ty - 16.03.2009, 00:40
Re: Player Spawns - by ICECOLDKILLAK8 - 16.03.2009, 00:41
Re: Player Spawns - by V1ceC1ty - 16.03.2009, 00:45
Re: Player Spawns - by mascii - 16.03.2009, 07:59

Forum Jump:


Users browsing this thread: 1 Guest(s)