Freeeaky / GTALua

Scripting engine for GTA V in Lua
GNU General Public License v2.0
60 stars 25 forks source link

BUG CMemoryBlock floats #46

Open kanersps opened 9 years ago

kanersps commented 9 years ago

It returns these weird values http://puu.sh/hT6Oi/64207110db.png When using this code: http://puu.sh/hTcB8/199632c30f.png

Freeeaky commented 9 years ago

Yep, can confirm there is something wrong. It seems that memory is in tact, but the returned value is somehow wrong. I'll fix this later. Thanks for taking the time to post it :)

MockbaTheBorg commented 8 years ago

The code is almost correct, but the right offsets to obtain the XYZ values are 0, 2 and 4, not 0, 8 and 16. I think this can be marked as Closed.