im having some trouble, i have no experience in cleo scripting and i need some help to make this script to work...
the main idea is on the key press, if the player is driving, it plays the wav and the car jumps about a height enough to jump a truck...
i need some help here
it was supposed to work in III and VC, mainly III
i know there is something critically wrong down here, the game crashes after loading
// This file was decompiled using scm.ini published by GtaForums.com on 25.11.05
{$VERSION 1.1.0000}
{$CLEO .cs}
//-------------MAIN---------------
thread 'TBOOST'
if
Player.Defined($PLAYER_CHAR)
Actor.Driving($PLAYER_ACTOR)
wait 100
jump @TBOOST_35
:TBOOST_35
03C0: 13@ = actor $PLAYER_ACTOR car
05EE: key_pressed 96 //VK_...
03CF: load_wav 'SUBOPEN'
else_jump @TBOOST_35
03D1: play_wav
jump @TBOOST_35
06A2:
1@ /= 2000.0 // floating-point values
2@ /= 2000.0 // floating-point values
3@ /= 2000.0 // floating-point values
02F8: unknown_car 13@ unknown_cosine 4@
02F9: unknown_car 13@ unknown_sinus 5@
4@ *= 0.25 // floating-point values
5@ *= 0.25 // floating-point values
005B: 1@ += 4@ // floating-point values
005B: 2@ += 5@ // floating-point values
3@ += 0.25 // floating-point values
07D5:
wait 2000
jump @TBOOST_35