When overwriting the spots to 0, gonna store all the values and their addresses into 2 separate arrays so I can restore them easily. Does this look convenient?
You mean store the values into one array and the addresses in a separate array? I'd couple them together. Maybe index values using their addresses, or make the table an array of other tables each containing an address and value.
Yes, exactly but your way seems a lot more sensible. Can you please make a quick example of each approach (index values vs table array)?
I have to use this method since hiding the jackspots with ASM (without overwriting the values inside the structure; just mov ecx,0 to hide) works fine until you access the jackspots through the easydrive menu to switch car (a simplified in-game menu that you can access without pausing the game). Once you do that and you spawn in the new vehicle, all jackspots appear again unfortunately. If I overwrite the jackspots permanently, this will be reflected inside the easydrive menu making the hidden jackspot vehicles to be unaccessible and there’s no other way to switch to them otherwise.
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum