Coding

 Reply to this postStart new topic

Breaking Tail Lights

The DeLuca
post Dec 16 2013, 08:18 AM
Post #1


The New Guy!

Posts: 11
From: Missouri, US
Joined: 27-March 12



I'm needing to be able to damage and repair both tail lights seperately. newopcodes.cleo does not work properly with tail lights due to a game bug. I've tried looking into this with memory addresses but I can't seem to come up with anything.


--------------------
Go to the top of the page
 
+Quote Post
Silent
post Dec 16 2013, 04:15 PM
Post #2


The master of cut retort

Group Icon

Posts: 239
From: Warsaw, PL
Joined: 21-July 10



From MTA source:

CODE
// Fix vehicle back lights both using light state 3 (SA bug)
MemPut < BYTE > ( 0x6E1D4F, 2 );
Go to the top of the page
 
+Quote Post
The DeLuca
post Dec 16 2013, 09:31 PM
Post #3


The New Guy!

Posts: 11
From: Missouri, US
Joined: 27-March 12



QUOTE (Silent @ Dec 16 2013, 10:15 AM) *
From MTA source:

CODE
// Fix vehicle back lights both using light state 3 (SA bug)
MemPut < BYTE > ( 0x6E1D4F, 2 );


Thanks, that was exactly what I needed.


--------------------
Go to the top of the page
 
+Quote Post
avacberric
post Jan 9 2014, 02:01 PM
Post #4


The New Guy!

Posts: 4
Joined: 8-January 14



Is it possible to change the color too while repairing?


--------------------
"The words of truth are always paradoxical." steve barbarich
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members: