05.02.2014, 20:21
pawn Код:
new Float:CopsRandomSpawns[][] =
{
{2292.58, 2459.78, 10.82, 90.0}, // COPS SPAWN
{2273.70, 2445.85, 3.53, 90.0}, // COPS SPAWN
{2272.78, 2488.29, -7.45, 90.0} // COPS SPAWN
};
new Random = random(sizeof(CopsRandomSpawns));
SetPlayerPos(playerid, CopsRandomSpawns[Random][0], CopsRandomSpawns[Random][1], CopsRandomSpawns[Random][2]);
SetCameraBehindPlayer(playerid);