gtafan113 Posted November 21, 2012 Share Posted November 21, 2012 Hi everyone! I know it is possible to change to set the variation of a car with this opcode: 0506: set_car_model #NEVADA next_variation 0 0 I'd like to get the current variation of a car and save it to a variable. I searched through the opcodes and forums but couldn't really find anything. Does anyone know of an opcode or memory address that could get the variation of a car to a variable? Thanks in advance! Link to comment Share on other sites More sharing options...
DK22Pac Posted November 21, 2012 Share Posted November 21, 2012 For SA: 0A97: [email protected] = car [email protected] struct0D4E: [email protected] = struct [email protected] offset 0x438 size 10D4E: [email protected] = struct [email protected] offset 0x439 size 1 Link to comment Share on other sites More sharing options...
Silent Posted November 21, 2012 Share Posted November 21, 2012 * Silent is evil and ships CLEO3 version of the above. 0A97: [email protected] = car [email protected] [email protected] += 0x4380A8D: [email protected] = read_memory [email protected] size 1 virtual_protect [email protected] += 0x10A8D: [email protected] = read_memory [email protected] size 1 virtual_protect 0 Although I have to admit, NewOpcodes version is shortshortshort Link to comment Share on other sites More sharing options...
gtafan113 Posted November 21, 2012 Author Share Posted November 21, 2012 Oh yeah I forgot to say it was for SA. Thank both of you guys! Would the [email protected] be the first number in the variation opcode and the [email protected] would be the second one? Also, I have CLEO 4, so will either of those work? Link to comment Share on other sites More sharing options...
Link2012 Posted November 22, 2012 Share Posted November 22, 2012 Oh yeah I forgot to say it was for SA. Thank both of you guys! Would the [email protected] be the first number in the variation opcode and the [email protected] would be the second one? Also, I have CLEO 4, so will either of those work? With DK's version you need NewOpcodes.cleo Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now