GTA SAN ANDREAS
MODS for


- 015D: set_gamespeed .3 slows down the gamespeed and also the reading process of the scripts
- wait 50 ms with gamespeed .3 needs ca. a half second
- An "if_player_defined"-check isn't neccesary, because the script don't include a code depending to the player -char or -actor
- 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
Slowmotion
Example script with 2 Loops
{$CLEO .cs}
:slow_0
03A4: name_thread 'SLW'
:slow_1
0001: wait 0 ms
if
0AB0: key_pressed 8//-----------------key = Backspace
004D: jump_if_false @slow_1
015D: set_gamespeed .3
0001: wait 50 ms
:slow_2
0001: wait 0 ms
if
0AB0: key_pressed 8//-----------------key = Backspace
004D: jump_if_false @slow_2
015D: set_gamespeed 1.0
0001: wait 1000 ms
0002: jump @slow_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 2
- Forum
- Tutorials
- screenshots
- Impressum
add my banner![]() ![]() ![]() http://zazmahall.de/index.htm |
