|
 |
|
|
|
|
|
GTA Modification Forums
The police won't chase me after I hit them The police won't chase me
 |
|
 |
| |
Ashwin the new boy  |
Posted: Thursday, May 24 2012, 02:44
|
I am The Most Confused Person

Group: Members
Joined: Nov 14, 2010


|
@Korrag | QUOTE | Can anyone tell me how to make the code below : 1. set the game speed to 0.36 2. play the .MP3 file TURBOBOOST.MP3 when the specified buttons are pushed 3. set the game speed to normal (when done playing the mp3) |
if you wrote some code it doesn't mean it's not a a request now By the way here is your Requested Script, Hope it works | CODE | {$cleo} thread 'Ashwin' 0AAC: 0@ = load_mp3 "CLEO\PLAYLIST\TURBOBOOST.MP3"
:0 wait 0 if and Actor.Driving($3) 84C8: not actor $3 driving_flying_vehicle 0AB0: key_pressed 16 jf @0 0AAD: set_mp3 0@ perform_action 1 015D: set_gamespeed 0.36 wait 500
:1 wait 0 0AB9: get_mp3 0@ state_to 1@ if or 1@ == 0 not Actor.Driving($3) 8256: not player $PLAYER_CHAR defined 0AB0: key_pressed 8 jf @1 0AAD: set_mp3 0@ perform_action 0 015D: set_gamespeed 1.0 wait 500 jump @0
|
As the Script is not tested, It may contain some small Bugs. Fix it yourself (if any) You still need to know some basics My advise is > you should take Dutchy's Tutorial first @jj | QUOTE | | The other thing is that your CLEO scrypt is not ended. Use this to end your scrypt: |
He wants to play that File again & again, Its not necessary that every script should END or to put That opcode in all scripts, @Error | QUOTE | | it says : "a jump to zero offset found" and i can't compile the script |
Sounds like its your First Cleo script | QUOTE | | Try jump @Check instead of jump @Start. |
What a Joke  | QUOTE | | The mp3 will only be played once if you do that, add "name_thread" or "0000:" at the start. |
This will work In this case all you have to do is The Next thing after {$cleo} must be an opcode instead of label or something else Thats all This post has been edited by Ashwin the new boy on Thursday, May 24 2012, 02:55
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Pages:
(3) 1 2 [3]
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|