06.04.2010, 00:06
Is there something like IsDriven? Or do I have to make something myself? Ty!
//This function checks whether a vehicle has a driver or not. forward IsVehicleDriven(vehicleid); public IsVehicleDriven(vehicleid) { for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerInVehicle(i, vehicleid) && !GetPlayerVehicleSeat(i)) { return 1; } } return 0; }