Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

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

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    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. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. 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. Red Dead Redemption 2

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

    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
    1. Announcements

    2. Support

    3. Suggestions

Happy Holidays from the GTANet team!

A DIEing question!


Pie015
 Share

Recommended Posts

I've Been DIEING to ask this question:

 

 

How do i set swat weapons to MP5!? I know that mp5's id is 29

alien.gifalien.giforly.gif

Link to comment
Share on other sites

0A8C: write_memory 0x5DDDA1 size 1 value 29 virtual_protect 0

 

Link to comment
Share on other sites

0A8C: write_memory 0x5DDDA1 size 1 value 29 virtual_protect 0

 

Can you tell me where to put that? Checked in the main.scm but there's nothing like that

Link to comment
Share on other sites

Thanks guys! Now i have MP5's firing at me! biggrin.gif

Edited by Pie015
Link to comment
Share on other sites

  • 9 months later...

Hi sorry for bumb,but what exactly program do you use for introduce that code?

where do i imput the code?

thanks

Link to comment
Share on other sites

Download and install Sanny Builder from here. When you have done that download CLEO 4 from here. Open Sanny Builder and paste this code:

 

 

Then hit the compile button and copy the script to <game directory>/CLEO

Edited by Bad.boy!
Link to comment
Share on other sites

 

Download and install Sanny Builder from here. When you have done that download CLEO 4 from here. Open Sanny Builder and paste this code:

 

 

{$CLEO .cs}Thread 'MP5':MP5_1wait 0ifPlayer.Defined($PLAYER_CHAR)jf @MP5_1:MP5_2wait 1000A8C: write_memory 0x5DDDA1 size 1 value 29 virtual_protect 00A93: end_custom_thread

 

 

Then hit the compile button and copy the script to <game directory>/CLEO

Did you tested the script? Does it work?

Link to comment
Share on other sites

Big thanks,i was missing some data format,reading tutorial right now, this is going to help me to make the same for fbi/military/cops too,

btw:what are the codes for fbi/military/cops?

thanks again.

Edited by METAVISOR
Link to comment
Share on other sites

Doesn't work for me...

Did it work for you, because I can't see the mistake, if Deji is right

Link to comment
Share on other sites

No,doesnt worked for me,

a little help will be good,started with this an hour ago.....

Link to comment
Share on other sites

You can make a script wich scans the surrounding area for a SWAT model and give that actor a mp5. But that's complicated and I forgot how it works. There was a topic on gtagaming...

Link to comment
Share on other sites

Let me fix it ...

 

 

{$CLEO}0A8C: write_memory 0x5DDDA1 size 1 value 29 virtual_protect 1 // push 1Dh0A8C: write_memory 0x5DDDAA size 1 value 29 virtual_protect 1 // push 1Dh0A93: end_custom_thread

 

Link to comment
Share on other sites

Thanks,need to reinstall gtasa(important files on backup),

does it work with cleo 4 or just 3?

latest sammybuilder work with cleo4?

PD:please give me the id codes for fbi/military/cops please.

thanks again

Link to comment
Share on other sites

It works for both CLEO3 and CLEO4. And oh yeah, for FBI/military/cops...

 

Cops:

0x5DDCBF - weapon 1 (nitestick)

0x5DDCCD - weapon 2 (colt45)

 

FBI:

0x5DDDE1 and 0x5DDDEA - weapon (mp5; change both)

 

Army:

0x5DDE21 and 0x5DDE2A - weapon (m4; change both)

 

Hope it helps you, Sacky posted it somewhere in GTA: SA Memory Addresses topic aswell tounge.gif

Link to comment
Share on other sites

The latest Sanny Builder works with cleo 4. But you have to install sany builder first and then install cleo 4 (full) to use all opcodes.

Link to comment
Share on other sites

Hi,your help is great.

maybe that is why it wasnt working,

i got cleo4 first,makin a gtasa fresh install,before try again.

thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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