Please post mod releases in the Mod Showroom
Please read the Official Modification Forum Rules & Procedures BEFORE posting!
The following topics contain extremely useful data relating to the editing of missions and mission scripting:
If you are a begininer to mission coding, then please read Tutorial Links and Mission Coding Information.
Requests are to be made in the pinned topic.
Posted 26 March 2013 - 02:40 AM
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 > " 0@ = Current_Radio_Station" or " 0@ = Car 3@ 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)
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
Posted 02 April 2013 - 02:55 PM
or don't have enough time to explain it to Me,
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, 02 April 2013 - 03:00 PM.
Posted 24 April 2013 - 04:48 PM
So Nobody gonna tell me how do they do it,
I was Looking for the Source of any mod which Make Script Usable Opcode,
I didn't found that of Cleo.asi (vc)
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 ?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users