Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ref AirdropAirstrip AirDropClass; // Class definition
- //Code:
- void CustomMission()
- {
- AirDropClass = new AirdropAirstrip;
- }
- float TimerSlice; // Timeslice
- override void OnUpdate(float timeslice)
- {
- super.OnUpdate(timeslice);
- // FPS Fix
- TimerSlice += timeslice;
- if (TimerSlice >= AirDropClass.TimesliceMultiplyier)
- {
- AirDropClass.CreateAirDrop();
- TimerSlice = 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement