07.01.2010, 07:23
Is it possible to check if there is a person in a specific vehicle?
IsAnyPlayerInVehicle(vehicleid) { for (new i = 0; i != MAX_PLAYERS; i++) { if (IsPlayerInVehicle(i, vehicleid)) return 1; } return 0; }
Originally Posted by BeckzyBoi
Код:
IsAnyPlayerInVehicle(vehicleid) { for (new i = 0; i != MAX_PLAYERS; i++) { if (IsPlayerInVehicle(i, vehicleid)) return 1; } return 0; } |
Originally Posted by BeckzyBoi
Код:
IsAnyPlayerInVehicle(vehicleid) { for (new i = 0; i != MAX_PLAYERS; i++) { if (IsPlayerInVehicle(i, vehicleid)) return 1; } return 0; } |
Originally Posted by _Saif_
Quote:
|