teleport question
#2

just add a string float like this at the top:

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}
};
Then where you want the random tele to be executed.....
pawn Код:
new rand;
        rand = random(sizeof(RandomTeles));
        SetPlayerPos(playerid, RandomTeles[rand][0], RandomTeles[rand][1], RandomTeles[rand][2]);
all done!
Reply


Messages In This Thread
teleport question - by Drift_04 - 26.03.2009, 03:26
Re: teleport question - by StrickenKid - 26.03.2009, 04:18
Re: teleport question - by Drift_04 - 26.03.2009, 05:51
Re: teleport question - by 56avenue - 26.03.2009, 10:23
Re: teleport question - by Oxside - 26.03.2009, 12:24
Re: teleport question - by Dujma - 26.03.2009, 12:35
Re: teleport question - by Oxside - 26.03.2009, 12:37
Re: teleport question - by Drift_04 - 26.03.2009, 18:20
Re: teleport question - by Oxside - 31.03.2009, 05:47
Re: teleport question - by Mikep - 31.03.2009, 08:54

Forum Jump:


Users browsing this thread: 1 Guest(s)