UG-Base Gamehacking

Full Version: Adding a toggle switch for this Script? [Cam]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
this is a lowcam mod that only works when we get in into a vehicle,i need a switch key for this mod so i can turn it on/off because this mod always works automaticly,can someone help me?


Code:
//-------------MAIN---------------
0000: NOP

:NONAME_2
wait 250
if
  Player.Defined($PLAYER_CHAR)
else_jump @NONAME_75
if
  Actor.Driving($PLAYER_ACTOR)
else_jump @NONAME_75
[email protected] = Actor.CurrentCar($PLAYER_ACTOR)
[email protected] = Car.Model([email protected])
09EF: set_behind_camera_autoposition_mode_for_car_model [email protected] distance 1.0 altitude_multiplier 1.0 angle_X 0.08

:NONAME_75
jump @NONAME_2


thanks in advance Big Grin