Guest User

Untitled

a guest
Sep 20th, 2011
494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. stock IsVehicleOccupied(vehicleid)
  2. {
  3. for(new i = 0; i < MAX_PLAYERS; i++)
  4. if(IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == PLAYER_STATE_DRIVER)
  5. return 1;
  6. return 0;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment