GTA SAN ANDREAS
MODS for


- 0159: set_camera_on_ped $PLAYER_ACTOR with parameters 45 2 was encountered by CeeJ
- und simulates just a first person view
- It doesn't work if this code is executed while player is in a car
- But it works if player enters a car after executing this code
- In addition shows it a wrong screen by aiming with these weapons: RocketLauncher, Headseek and Sniper
- It makes sense to let the code wait for a second after the key_press check
- otherwise the key_press check would be repeated to fast
First Person Camera
Example script with 3 Loops
{$CLEO .cs}
:FirstPcam
03A4: name_thread "FPV"
wait 1000
:FirstPcam_1//---------------1. LoopAdress
0001: wait 0 ms
if
0256: player $PLAYER_CHAR defined
004D: jump_if_false @FirstPcam_1
if
00E1: key_pressed 0 13//---------key = CAMERA_CHANGE_VIEW_ALL_SITUATIONS
004D: jump_if_false @FirstPcam_1
if
80DF: not actor $PLAYER_ACTOR driving
004D: jump_if_false @FirstPcam_15
0159: set_camera_on_ped $PLAYER_ACTOR 45 2
wait 1000
:FirstPcam_2//---------------2. LoopAdress
0001: wait 0 ms
if
0256: player $PLAYER_CHAR defined
004D: jump_if_false @FirstPcam_2
if
80DF: not actor $PLAYER_ACTOR driving
004D: jump_if_false @FirstPcam_15
if
00E1: key_pressed 0 13//---------key = CAMERA_CHANGE_VIEW_ALL_SITUATIONS
004D: jump_if_false @FirstPcam_5
02EB: restore_camera_with_jumpcut
0925: restore_camera_to_user_defined
wait 1000
0002: jump @FirstPcam_1
:FirstPcam_5
if
00E1: key_pressed 0 6//----------------key = PED_LOCK_TARGET (aiming)
004D: jump_if_false @FirstPcam_2
if or
02D8: actor $PLAYER_ACTOR currentweapon == 34
02D8: actor $PLAYER_ACTOR currentweapon == 36
02D8: actor $PLAYER_ACTOR currentweapon == 43
004D: jump_if_false @FirstPcam_2
02EB: restore_camera_with_jumpcut
0925: restore_camera_to_user_defined
:FirstPcam_9//---------------3. LoopAdress
0001: wait 0 ms
if
0256: player $PLAYER_CHAR defined
004D: jump_if_false @FirstPcam_13
if
80E1: not key_pressed 0 6//----------------key = PED_LOCK_TARGET (aiming)
004D: jump_if_false @FirstPcam_9
0159: set_camera_on_ped $PLAYER_ACTOR 45 2
0002: jump @FirstPcam_2
:FirstPcam_13
02EB: restore_camera_with_jumpcut
0925: restore_camera_to_user_defined
0002: jump @FirstPcam_1
:FirstPcam_15
09AD: vehicle_camera_mode 0
0001: wait 1000 ms
0002: jump @FirstPcam_1

- First Steps in Cleo Scripting with Sannybuilder
- Placing Cars by Using Parked_Car_Generator and Weapon Pickups
- The Editor Functions
- HELP
- Reading Coordinates of player poisition
- The Opcode
- DATA TYPE MEANING
- Special Particularities in Cleo
- mission script template
- Scripting/Writing a Thread - coding praxis - conditional checks
- Screenshot
- Slowmotion
- First Person Camera
INDEX
Example Scripts
San Andreas
CLEO Script 3
- Home
- Forum
- Tutorials
- GTA IV
- GTA IV
- Alice mods
- Girls
- San Andreas
- San Andreas Mods
- MISSION MOD
- CLEO mods 1
- CLEO mods 2
- CLEO mods 3
- CLEO mods 4
- Cleo Basic
- Script Tut
- peds and girls
- miscellaneous
- screenshots
- Vice City
- Vice City Mods
- MISSION MOD
- VEHICLE MOD
- Peds and Girls
- screenshots
- Impressum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
