Alrighty everyone, if you are reading this, you should have at least read these topics:
http://z10.invisionfree.com/CheatSync_Foru...?showtopic=2355http://z10.invisionfree.com/CheatSync_Foru...?showtopic=2348http://z10.invisionfree.com/CheatSync_Foru...?showtopic=2347http://z10.invisionfree.com/CheatSync_Foru...?showtopic=2351http://z10.invisionfree.com/CheatSync_Foru...?showtopic=2346http://z10.invisionfree.com/CheatSync_Foru...?showtopic=2345If not, you will most likely be lost in this tutorial.
In this tutorial we will be learning how to use the get functions.
What are they?
get functions are functions that will go to the address you enter, get the data from the address according to what data type you want, and bring it back so that you can use it.
They work just like the set functions, you just change one letter!
getchar(address);
gethex(address);
getshort(address);
getint(address);
getfloat(address);
By reading
this topic, you learned the different types of data, and the amount of memory spaces they use. When using the get functions, it works the same way. For instance:
getchar(pcar);
OR
gethex(pcar);
Gets the value of the first bit at the pcar address.
getshort(pcar);
Gets a short value using the first 2 bits at pcar.
getint(pcar);
Gets an int value using the first 4 bits at pcar.
getfloat(pcar);
Gets a float value using the first 4 bits at pcar. You may ask, what's the difference between a float and an int? Well, you can read this if you really want to know. Easiest way to explain it is, if you are getting a value from an address that uses decimals, use float, if it doesn't, use int.
http://www.cprogramming.com/tutorial/float...ting_point.htmlNow, you can use these ANYWHERE! When comparing in if statements, when using a set functions, etc! Even when defining variables!
Hope this helps!