Help with teleport
#3

pawn Код:
new Float:teleports[][4] = {
{x, y, z, angle},
{x, y, z, angle},
{x, y, z, angle}
};

To teleport to one of those randomly:

new rand = random(sizeof(teleports));
SetPlayerPos(playerid, teleports[rand][0], teleports[rand][1], teleports[rand][2]);
SetPlayerFacingAngle(playerid, teleports[rand][3]);
Reply


Messages In This Thread
Help with teleport - by Negat1Ve - 12.12.2010, 13:58
Re: Help with teleport - by Randyy - 26.02.2011, 14:13
Re: Help with teleport - by MP2 - 26.02.2011, 14:15

Forum Jump:


Users browsing this thread: 2 Guest(s)