26.03.2009, 04:18
just add a string float like this at the top:
Then where you want the random tele to be executed.....
all done!
pawn Код:
new Float:RandomTeles[4][3] = // 4 for how much total, 3 for co-ords (1 for x 1 for y 1 for z) 1+1+1 = 3
{
{x,y,z},
{x,y,z},
{x,y,z},
{x,y,z}
};
pawn Код:
new rand;
rand = random(sizeof(RandomTeles));
SetPlayerPos(playerid, RandomTeles[rand][0], RandomTeles[rand][1], RandomTeles[rand][2]);

