Posts: 1,896
Threads: 102
Joined: Oct 2008
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?