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

    1. GTANet.com

    1. GTA Online

      1. Los Santos Summer Special
      2. The Diamond Casino Heist
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

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

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA VI

      1. St. Andrews Cathedral
    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    1. Announcements

    2. Support

    3. Suggestions

ZAZ

[SA] ~ CLEO Script Tutorial ~

Recommended Posts

ZAZ

which chat?

Share this post


Link to post
Share on other sites
Robbert
Posted (edited)

Samp chat.-

UPDATE: i tried something like that

 

it compile, but it doesn`t do anything in game, just first line the message.

Edited by Robbert

Share this post


Link to post
Share on other sites
Robbert

Can i add a lower time than 1 sec?
Like 0.5 time to wait (wait 500 doesn`t works)

Share this post


Link to post
Share on other sites
dot exe
Posted (edited)

Hi @ZAZ

I'am sorry, I'am asking about GTA SA Android here, or maybe there is peoples that can help me here.

IDK why, everytime i using 0DD9 in the CLEO script, the game is crash. It's write memory address from GTA SA Android V2.00.

But if i use other 0DD code like 0DD2, 0DD3, 0DD4. The game is work.

So, can you help me? Or somebody else?

Thank you! This is my friend script btw. Sorry for my bad english.

I've attached the script.

Spoiler

{$CLEO .csa}

       0000:
while true
    wait 0
    if
    00E1:   player 3 pressed_key 1 
    then               
        wait 3000
        const
        addr [email protected]
 StartNewScript [email protected]   
 NewScript [email protected]       
 forto [email protected]
end // const
        0DD0: addr = get_label_addr @_ZN11CTheScripts14StartNewScriptEPh
        0DD1: addr = get_func_addr_by_cstr_name addr  
        0DD0: StartNewScript = get_label_addr @StartNewScript
        0DD3: context_set_reg 0 value StartNewScript                                                                            
        0DD2: context_call_func addr     
        0DD4: NewScript = context_get_reg 0   
        //StartNewScript += @StartNewScript
        NewScript += 0x10
        0DD9: write_mem_addr NewScript value StartNewScript size 4 add_ib 0 protect 0    
        NewScript += 0x2C
        StartNewScript = 1
        for forto = 0 to 30     
            0DD9: write_mem_addr NewScript value StartNewScript size 4 add_ib 0 protect 0 
            StartNewScript = 0 
          
            000A: NewScript += 4
        end  
      wait 9000
       end_thread   
    end
end  

:_ZN11CTheScripts14StartNewScriptEPh
hex
"_ZN11CTheScripts14StartNewScriptEPh" 00
END           
:StartNewScript
// crash 
0DD9: write_mem_addr 0x...... value 0 size 1 add_ib 1 protect 1 
end_thread

 

Edited by dot exe

Share this post


Link to post
Share on other sites
YourName_2

Thanks For Help ZAZ! :^: :cool:

Share this post


Link to post
Share on other sites
santosvagos

Hello @ZAZ , currently i am using your GFXXX mods and i really want to know how you make your custom GX.img . Could you you show me the roles how to do it , please ?

Share this post


Link to post
Share on other sites
ZAZ

 By making entry to gta.dat 

  • Like 1

Share this post


Link to post
Share on other sites
Captain Bigboss

@ZAZ can you teach me how to put actor at coord i wanted . How to make that script . Please help me 🙏🙏🙏

Share this post


Link to post
Share on other sites
priyanshu171

i want some help plz i want to make a mod in which hydra will always on to targets without pressing the lock-on key plz help i am a rookie 

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.

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.


  • 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.