1 #using scripts\codescripts\struct;
3 #using scripts\shared\clientfield_shared;
4 #using scripts\shared\system_shared;
5 #using scripts\shared\util_shared;
6 #using scripts\shared\visionset_mgr_shared;
8 #insert scripts\shared\shared.gsh;
9 #insert scripts\mp\killstreaks\_killstreaks.gsh;
11 #insert scripts\shared\version.gsh;
13 #namespace helicopter_gunner;
27 function turret_destroyed_0( localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump )
31 function turret_destroyed_1( localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump )
37 part_destroyed_ui_model = GetUIModel( GetUIModelForController( localClientNum ), ui_model_name );
39 if ( isdefined( part_destroyed_ui_model ) )
40 SetUIModelValue( part_destroyed_ui_model, new_value );
43 function update_client( localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump )
45 veh = GetPlayerVehicle(
self );
46 if( isdefined( veh ) )
53 function fog_bank_2_callback(localClientNum, oldVal, newVal, bNewEnt, bInitialSnap, fieldName, bWasTimeJump)
55 if ( oldVal != newVal )
59 SetLitFogBank( localClientNum, -1, 1, 0);
63 SetLitFogBank( localClientNum, -1, 0, 0);