Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :DoFirstPersonUpdate
- Function 1 0 9
- //Var2 = my ped [1]
- //var3 = in vehicle bool [1]
- //var4 = targetting/aiming [1]
- //var5 = show debug [1]
- //var 6-8 = cam rot debug [3]
- StaticGet1 64
- iPush_0
- CallNative get_cam_rot 2 3
- iPush_3
- pFrame1 6
- FromStack
- :DoFirstPersonUpdate_SkipDebug
- StaticGet1 64
- CallNative does_cam_exist 1 1
- JumpFalse @DoFirstPersonUpdate_Exit
- CallNative player_ped_id 0 1
- dup
- setF 2
- CallNative does_entity_exist 1 1
- JumpFalse @DoFirstPersonUpdate_Exit
- StaticGet1 64
- iPush_2
- CallNative get_gameplay_cam_rot 1 3
- iPush_2
- CallNative set_cam_rot 5 0
- :DoFirstPersonUpdate_Exit
- Return 0 0
Advertisement
Add Comment
Please, Sign In to add comment