is there a method to write a float value to a address...I'm talking about Mw2..I want to edit the 'jump_height' value which is a float value by the way.The address is correct cause with TSearch it worked.
So i have:
With 4Byte addresses, it worked fine.
The default value is 39.But after edited it's 39.000009 (or something like this)
So please help me I' want to learn
thats because floats are not 100% precise.
Posts 1–8 of 8 · Page 1 of 1
Post a Reply
Tags for this Thread
None
Originally Posted by Hell_Demon
thats because floats are not 100% precise.
so what can I do to write the precise value?
Originally Posted by 3Li0
so what can I do to write the precise value?
Nothing =)
and the .000009 difference won't matter
Originally Posted by Hell_Demon
Nothing =)
and the .000009 difference won't matter
well so I'm fucked up at this
Also I know that it doesn't matter, but I wanted to show you the difference between the old and the new value
OMG? So what method should I follow to write the float?
A float is still 4 bytes long, so do something along the lines of