Is this possible? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Is this possible? (
/showthread.php?tid=313115)
Is this possible? - T0pAz - 24.01.2012
Here is my problem. I am too lazy to make new data on query everytime I update it. Is there a way too loop through the
enum and query it without writing every data. Or is there any other way?
Thanks in advance
Re: Is this possible? - T0pAz - 24.01.2012
I have explored almost everything but still looking for a solid solution.
Re: Is this possible? - T0pAz - 24.01.2012
Quote:
Originally Posted by ******
You can't loop through an arbitrary enum, but you can treat the memory as a binary object and just write it all to and from memory at once. This is the principle on which both my y_uvars library and Slice's user library are based, so there's a few examples for you to look at (though they both use quite advanced techniques).
|
Thanks ******. I would look at them both.