Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. stock GetFreeVehicleSlot()
  2. {
  3. for(new i = 1; i < sizeof(validvehicle); i ++)
  4. {
  5. if(!validvehicle[i]) return i;
  6. }
  7. return -1;
  8. }
  9.  
  10. //==========================================================================
  11. // Vehicles //
  12. //==========================================================================
  13. new Vehicles[MAX_VEH][vehicle], Total_Vehicles_Created, Total_FactionVehicles_Created;
  14. new Engine[MAX_VEH], Lights[MAX_VEH], alarm[MAX_VEH], doors[MAX_VEH], bonnet[MAX_VEH], boot[MAX_VEH], objective[MAX_VEH];
  15. new bool:validvehicle[MAX_VEH];
  16. //==========================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement