10.01.2015, 00:43
pawn Код:
IsVehicleSeatInUse(vehicleid, asiento){
foreach(new i : Player){
if((IsPlayerInAnyVehicle(i)) && GetPlayerVehicleID(i) == vehicleid && GetPlayerVehicleSeat(i) == asiento){
return 1;
}
}
return 0;
}
Код:
0 - Driver 1 - Front passenger 2 - Back-left passenger 3 - Back-right passenger 4+ - Passenger seats (coach etc.)