10.03.2012, 02:44
yeah. and
theres a number that goes like
but im not sure what number to put.
NOT TESTED
Or (not sure if i read it right) if you want a vehicle assigned do
pawn Код:
new Float:RandomSpawns[][] =
pawn Код:
new Float:RandomSpawns[][here] =
pawn Код:
new vehid = GetPlayerVehicleID(playerid);
new ran = random(sizeof(RandomSpawns));
SetPlayerPos(playerid,RandomSpawns[ran][0],RandomSpawns[ran][1],RandomSpawns[ran][2]);
SetVehiclePos(vehid,RandomSpawns[ran][0],RandomSpawns[ran][1],RandomSpawns[ran][2]);
PutPlayerInVehicle(playerid,vehid,0);
Or (not sure if i read it right) if you want a vehicle assigned do
pawn Код:
new ran = random(sizeof(RandomSpawns));
SetPlayerPos(playerid,RandomSpawns[ran][0],RandomSpawns[ran][1],RandomSpawns[ran][2]);
PutPlayerInVehicle(playerid,[vehicleid],0);