16.08.2010, 12:23
hmm, wait
EDIT: add this to the bottom of your script:
EDIT: add this to the bottom of your script:
Код:
stock IsVehicleOccupied(vehicleid) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerInVehicle(i,vehicleid)) return 1; } return 0; }