Skip to content

Commit 4f83d78

Browse files
committed
📝 update commands
1 parent 8413108 commit 4f83d78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sa/snippets/memory/2402.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
get_vehicle_pointer 0@ {result} 5@
2-
write_memory_with_offset {address} 5@ {offset} 0x434 {size} 1 {value} 126 // set CVehicle::m_nPrimaryColor
1+
int carPtr = get_vehicle_pointer carHandle
2+
write_memory_with_offset {address} carPtr {offset} 0x434 {size} 1 {value} 126 // set CVehicle::m_nPrimaryColor

0 commit comments

Comments
 (0)