Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. DLC
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
      7. The Diamond Casino Heist
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Sign in to follow this  
Police Media

How To Make A Cleo Files ?

Recommended Posts

DK22Pac

You can check audiostream state to know if it already finished playing.

Share this post


Link to post
Share on other sites
Police Media

still

 

 

look the first 1 @ page 1 you maked is 3 minute & 13secs but no sound

 

you can edit it?

Share this post


Link to post
Share on other sites
Node
Using @The_Sorrow's script

 

 

0AAF: [email protected] = get_mp3_length [email protected]@ *= 1000 ¬† \\ convert seconds to millisecondswait [email protected]

 

Cheers Otis, Feel like im trying to solve this one myself, I'm not thinking straight icon13.gif

Share this post


Link to post
Share on other sites
Police Media

give me full code not a part

Share this post


Link to post
Share on other sites
Michael.Knight1

 

no , the sound still on but the phone only 5 secs

 

give me full code not a part

 

so ? witch 1 i use please give me a right code my mp3 in cleo>mp3>1.mp3

 

Will you must learn grand theft auto opcodes man Here [ ZAZ TUT ]

Or you not can make script sneaky2.gifsneaky2.gif

 

Edited by Michael.Knight1

Share this post


Link to post
Share on other sites
HeresOtis
give me full code not a part

Look at TheSorrow's code and look at my edit. Replace my edit with the part of his script I edited.

Share this post


Link to post
Share on other sites
Michael.Knight1

Man You must create your own script only , that's prohibited

Share this post


Link to post
Share on other sites
Police Media

 

no , the sound still on but the phone only 5 secs

 

give me full code not a part

 

so ? witch 1 i use please give me a right code my mp3 in cleo>mp3>1.mp3

 

Will you must learn grand theft auto opcodes man Here [ ZAZ TUT ]

Or you not can make script sneaky2.gifsneaky2.gif

 

 

i'll never understand thoes stuffs i dont speak eng catspider.gif

 

request is the solution biggrin.gif

Share this post


Link to post
Share on other sites
Bad.boy!

Full code:

 

{$CLEO}0000: NOP0AAC: [email protected] = load_audiostream "CLEO\playlist\01.mp3"model.load(330)038B: load_requested_models:0wait 0if andmodel.available(330)0AB0: ¬†key_pressed 0x30 // Press 0 on your keyboardjf @00729: AS_actor $PLAYER_ACTOR hold_cellphone 10AAD: set_mp3 [email protected] perform_action 10AAF: [email protected] = get_mp3_length [email protected]@ *= 1000wait [email protected]: AS_actor $PLAYER_ACTOR hold_cellphone 0jump @0

 

 

@Michael.Knight!

Don't be such a retard

Share this post


Link to post
Share on other sites
Michael.Knight1
Full code:

 

{$CLEO}0000: NOP0AAC: [email protected] = load_audiostream "CLEO\playlist\01.mp3"model.load(330)038B: load_requested_models:0wait 0if andmodel.available(330)0AB0: ¬†key_pressed 0x30 // Press 0 on your keyboardjf @00729: AS_actor $PLAYER_ACTOR hold_cellphone 10AAD: set_mp3 [email protected] perform_action 10AAF: [email protected] = get_mp3_length [email protected]@ *= 1000wait [email protected]: AS_actor $PLAYER_ACTOR hold_cellphone 0jump @0

 

 

@Michael.Knight!

Don't be such a retard

 

@Michael.Knight! Don't be such a retard

I not understand you

 

Share this post


Link to post
Share on other sites
Deji

3 pages later and we are still not there?

Share this post


Link to post
Share on other sites
Police Media

this only 5 secs and the first code at page 1 13 minutes and 13 secs > without sounds

Share this post


Link to post
Share on other sites
Node
this only 5 secs and the first code at page 1 13 minutes and 13 secs > without sounds

Right, So what exactly is 5 seconds long?

 

Is it, The 'MP3 file' or The duration that CJ holds the 'Cellphone'?

Share this post


Link to post
Share on other sites
Police Media

CJ holds the 'Cellphone'

Share this post


Link to post
Share on other sites
Michael.Knight1

 

CJ holds the 'Cellphone'

 

0001: wait 0 ms

 

This makes the scipt wait the specified number of milliseconds before continuing.

1 Minutes = 60000 Milliseconds

- in my script I wait 100 milliseconds before cj open phone and load phone1.mp3 (phone ring)

- load phone2.mp3 and I wait 5000 milliseconds befor cj close phone

 

 

{$CLEO .cs}thread 'Michael' 0AAC: [email protected] = load_audiostream "CLEO\playlist\PHONE1.mp3" 0AAC: [email protected] = load_audiostream "CLEO\playlist\PHONE2.mp3" Model.Load(#CELLPHONE):Michael_100001: wait 0 ms 00D6: if 0256: ¬† player $PLAYER_CHAR defined jf @Michael_10 if $ONMISSION == 0 jf @Michael_100001: wait 0 ms if and0AB0: ¬†key_pressed 50 // Press 2 in your keyboardjf @Michael_10 :Michael_2110001: wait 0 ms if and¬†Model.Available(#CELLPHONE)jf @Michael_211 0AAD: set_audiostream [email protected] perform_action 10001: wait 100 ms 0729: AS_actor $PLAYER_ACTOR hold_cellphone 1 0AAD: set_audiostream [email protected] perform_action 00001: wait 0 ms 0AAD: set_audiostream [email protected] perform_action 1wait 5000 0729: AS_actor $PLAYER_ACTOR hold_cellphone 0 0001: wait 0 ms0AAD: set_audiostream [email protected] perform_action 0jump @Michael_10

 

 

I make one !!

user posted imageThis mod is hosted at GTAGarage.com

 

Cj cell phone beta 1

Edited by Michael.Knight1

Share this post


Link to post
Share on other sites
Police Media

 

CJ holds the 'Cellphone'

 

0001: wait 0 ms

 

This makes the scipt wait the specified number of milliseconds before continuing.

1 Minutes = 60000 Milliseconds

- in my script I wait 100 milliseconds before cj open phone and load phone1.mp3 (phone ring)

- load phone2.mp3 and I wait 5000 milliseconds befor cj close phone

 

 

{$CLEO .cs}thread 'Michael' 0AAC: [email protected] = load_audiostream "CLEO\playlist\PHONE1.mp3" 0AAC: [email protected] = load_audiostream "CLEO\playlist\PHONE2.mp3" Model.Load(#CELLPHONE):Michael_100001: wait 0 ms 00D6: if 0256: ¬† player $PLAYER_CHAR defined jf @Michael_10 if $ONMISSION == 0 jf @Michael_100001: wait 0 ms if and0AB0: ¬†key_pressed 50 // Press 2 in your keyboardjf @Michael_10 :Michael_2110001: wait 0 ms if and¬†Model.Available(#CELLPHONE)jf @Michael_211 0AAD: set_audiostream [email protected] perform_action 10001: wait 100 ms 0729: AS_actor $PLAYER_ACTOR hold_cellphone 1 0AAD: set_audiostream [email protected] perform_action 00001: wait 0 ms 0AAD: set_audiostream [email protected] perform_action 1wait 5000 0729: AS_actor $PLAYER_ACTOR hold_cellphone 0 0001: wait 0 ms0AAD: set_audiostream [email protected] perform_action 0jump @Michael_10

 

 

I make one !!

user posted imageThis mod is hosted at GTAGarage.com

 

Cj cell phone beta 1

 

 

why theres 2 mp3 in the code ?

Share this post


Link to post
Share on other sites
Michael.Knight1

Sound 1 : Phone Ring

Sound 2 : Knight Rider GPS = Wasted level to 3

can you download it in gta garage

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.