SA-MP Forums Archive
Hello guys. - 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: Hello guys. (/showthread.php?tid=371353)



Hello guys. - Gangster-rocks - 23.08.2012

Hello how can i make Y-ini saving health? I've make it saving postion but i don't know how to make it save the Health


Re: Hello guys. - JaKe Elite - 23.08.2012

Health is float.
so you might need to INI_WriteFloat.
when loading it with INI_ParseFile, you will need to INI_Float.
in getting the health, the variable must be have a Float: tag.


Re: Hello guys. - TaLhA XIV - 23.08.2012

Just change GetPlayerPos with GetPlayerHealth.


Re: Hello guys. - clarencecuzz - 23.08.2012

Quote:
Originally Posted by TaLhA XIV
Посмотреть сообщение
Just change GetPlayerPos with GetPlayerHealth.
Ehh.... what does that have to do with anything?


Re: Hello guys. - Gangster-rocks - 23.08.2012

I know but when i join the game its dosn't save the Health Why? you need a fnucton to save it but i donnu what is it