Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,730 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

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

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

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

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

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

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

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. 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

    2. Red Dead Redemption

    3. 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. Forum Support

    2. Site Suggestions

Ashwin.Star

New Opcodes

Recommended Posts

Ashwin.Star

Hello M8s,

As i Am having some Free Time,

I want to learn some new coding related Things.

 

My Big Question is "How to Create a New Opcode" ?

I know a mod on Garage which can help me in this but can someone

Give me a Working Example of Creating a Simple opcode,

 

Like as we know 0x7E49C0 is pointer to player car,

& at offset +0x23C the value of current radio station is present,

 

What will be the Code to to make a opcode Which

will store the Current Radio station of Player car to a Variable ?

So that we can use it like > " [email protected] = Current_Radio_Station" or " [email protected] = Car [email protected] radio Station"

 

--------------------

I forgot the Command to used for editing the Memory address of a Process While Making a Dll

it as something like Byte*(&9062CF1, 25) or *Float(&9A24E56, 963.5)

......Solved.......

thanks fastman92,

that was *(float*)0x68F1F4 = 99999.99;

--------------------

 

other Questing is

What will be the Code of condition if i want something to execute only if i press F12

 

 

Share this post


Link to post
Share on other sites
Ashwin.Star

So Nobody Knows Here,

or don't have enough time to explain it to Me,

Okay,

 

Did someone tried VC Opcode Hook by ModelingMan

Can someone provide the Source of a Good & Working Example of this Mod,

other than the Given Sample,(i don't get it)

Edited by Ashwin the new boy

Share this post


Link to post
Share on other sites
Ashwin.Star

It seems that all the Coding Legends of Our Form are on Vacations,

So Nobody gonna tell me how do they do it,

well okay,

 

I was Looking for the Source of any mod which Make Script Usable Opcode,

I didn't found that of Cleo.asi (vc) lol.gif

BTW tell me if you did,

 

Another Mod is GTAMA, available with Source Code,

I read it & Still Reading it to get How did they Insert a New Opcode,

 

So can anyone Help me by reading its opcode Portion & Tell me something about it ?

Share this post


Link to post
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

×

Important Information

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