SA-MP Forums Archive
Saving a float inside an array? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Saving a float inside an array? (/showthread.php?tid=264095)



Saving a float inside an array? - dowster - 24.06.2011

is this possible to save a float in an array/enum because in my server i have an enum running for serversided money, and for loading the players health, armor, position, money on connection, and for saving it.
right now i have seperate variables for the positions, but i would like to have some sort way to keep it in the playerdata array for ease of reading the code and saving everything


Re: Saving a float inside an array? - =WoR=Varth - 24.06.2011

pawn Код:
enum blablabla
{
Float:Health
}