how to save - 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: how to save (
/showthread.php?tid=158560)
how to save -
iJumbo - 10.07.2010
how to save the player life ? example player have 45 life then he press /godmode and to to 99999 when he press /godmodeoff how to save his life and back to 45?
sorry very bad english
Re: how to save - TheInnocentOne - 10.07.2010
Use GetPlayerHealth and store it for later use in a Float.