|
 |
|
|
|
|
|
GTA Modification Forums
How To Make A Cleo Files ? help
 |
|
 |
| |
Police Media  |
Posted: Wednesday, Mar 7 2012, 15:24
|
Police Ritor

Group: Members
Joined: Feb 29, 2012

|
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
The_Sorrow  |
Posted: Wednesday, Mar 7 2012, 17:50
|
Heaven, I'm in heaven(8)

Group: Members
Joined: May 31, 2010


|
| QUOTE (Joni2030 @ Wednesday, Mar 7 2012, 17:37) | Always before I start coding I put these to SB {$VERSION 3.1.0027} {$CLEO .cs}
//-------------MAIN---------------- every time after that I start coding but this is my way | If anybody is wanting to create a CLEO file (.cs) they must start there script with:
It is mandatory.
EDIT: Please, Police Media Don't double post, use the edit button instead This post has been edited by The_Sorrow on Wednesday, Mar 7 2012, 17:52
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Ashwin the new boy  |
Posted: Thursday, Mar 8 2012, 08:41
|
I am The Most Confused Person

Group: Members
Joined: Nov 14, 2010


|
{$VERSION} is not necessary & used in decompiling purpose only! it's is to know what is the version of our .ini by which we have decompiled the script, so, you can start scripting after putting {$cleo} at head, {$CLEO} is to tell it is cleo, we can use it like {$CLEO .cs}, {$CLEO .cm}, etc. to compile our script in different extension, otherwise SB will compile only in .scm @joniall the text start with " //' are for comments or massage only, they are not used for compiling, @M.K1| QUOTE | | man what's you from |
do you want to say Where are you from ? This post has been edited by Ashwin the new boy on Thursday, Mar 8 2012, 08:51
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
The_Sorrow  |
Posted: Thursday, Mar 8 2012, 09:16
|
Heaven, I'm in heaven(8)

Group: Members
Joined: May 31, 2010


|
| QUOTE (Ashwin the new boy @ Thursday, Mar 8 2012, 08:41) | {$CLEO} is to tell it is cleo, we can use it like {$CLEO .cs}, {$CLEO .cm}, etc. to compile our script in different extension, otherwise SB will compile only in .scm | Ashwin, remember that {$CLEO.cm} is only to be used for custom missions in San Andreas, It isn't actually an extension for a newly made script. This post has been edited by The_Sorrow on Thursday, Mar 8 2012, 09:32
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
The_Sorrow  |
Posted: Thursday, Mar 8 2012, 12:37
|
Heaven, I'm in heaven(8)

Group: Members
Joined: May 31, 2010


|
Use Michael.Knight1's code that he provided just change the location of the sound files
So:
| CODE | | 0AAC: 1@ = load_audiostream "CLEO\playlist\PHONE2.mp3" |
Would be:
| CODE | | 0AAC: 1@ = load_audiostream "CLEO\MP3\1.mp3" |
Etc. Etc.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Ashwin the new boy  |
Posted: Thursday, Mar 8 2012, 15:34
|
I am The Most Confused Person

Group: Members
Joined: Nov 14, 2010


|
| QUOTE | | remember that {$CLEO.cm} is only to be used for custom missions in San Andreas, |
oh! Really ? Actually I join today! @P Media Do you want this ? 0 (numpad with Num Lock on) = 96 use it as | CODE | 0AB0: key_pressed 96
|
for more press 'F12' while using SB & open cleo 3 code library,
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
The_Sorrow  |
Posted: Thursday, Mar 8 2012, 15:34
|
Heaven, I'm in heaven(8)

Group: Members
Joined: May 31, 2010


|
| QUOTE (Police Media @ Thursday, Mar 8 2012, 14:37) | | whats the code for num0 because i wont delete my WeatherMenu.cs ^_^ | So you want to press number 0 on your keyboard instead of 1?
Use this:
| CODE | {$CLEO .cs} thread 'Michael' 0AAC: 0@ = load_audiostream "CLEO\playlist\PHONE1.mp3" 0AAC: 1@ = load_audiostream "CLEO\playlist\PHONE2.mp3" Model.Load(#CELLPHONE)
:Michael_10 0001: wait 0 ms 00D6: if 0256: player $PLAYER_CHAR defined jf @Michael_10 if $ONMISSION == 0 jf @Michael_10 0001: wait 0 ms if and 0AB0: key_pressed 48 //Press 0 in your keyboard jf @Michael_10
:Michael_211 0001: wait 0 ms if and Model.Available(#CELLPHONE) jf @Michael_211 0AAD: set_audiostream 1@ perform_action 1 0001: wait 100 ms 0729: AS_actor $PLAYER_ACTOR hold_cellphone 1 0AAD: set_audiostream 1@ perform_action 0 0001: wait 100 ms 0AAD: set_audiostream 2@ perform_action 1 wait 5000 0729: AS_actor $PLAYER_ACTOR hold_cellphone 0 jump @Michael_10 |
Don't forget to change your sound files location
| QUOTE | oh! Really ? Actually I join today! |
Yep, it is true This post has been edited by The_Sorrow on Thursday, Mar 8 2012, 15:37
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 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.
| |
 |
|
 |
|
|
|
|