Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock IsVehicleOccupied(vehicleid)
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- if(IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == PLAYER_STATE_DRIVER)
- return 1;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment