SA-MP Forums Archive
decode functions for vehicle damage - 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: decode functions for vehicle damage (/showthread.php?tid=428178)



decode functions for vehicle damage - liam1412 - 04.04.2013

I got encode functions but really need decode for storing data in DB. Anyone help!


Re: decode functions for vehicle damage - Vince - 04.04.2013

What would be the point? Most people try to store data as compact as possible and you're going to try and pull it apart?


Re: decode functions for vehicle damage - liam1412 - 05.04.2013

I need to do other things with it first without f'in about with bitcode.

Thanks


Re: decode functions for vehicle damage - MP2 - 05.04.2013

Store it encoded - decode it when it gets loaded. Just like storing it decoded, but you save room and effort. No need to know about bits and stuff. I highly recommend you learn though - I have been telling myself to do so for months and I'd say I half understand it now.