26.02.2011, 14:15
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]);