07.06.2014, 17:35
Hello everyone, how can I save guns, ammo, health and armour before teleporting a player to another map?
And make them return once he's back, thanks.
And make them return once he's back, thanks.
Well, there are a variaty of things you can do, but for the sake of memory I advise using pvars.
https://sampwiki.blast.hk/wiki/GetPVarFloat https://sampwiki.blast.hk/wiki/SetPVarFloat The two above are for floats, health and armor, https://sampwiki.blast.hk/wiki/SetPVarInt https://sampwiki.blast.hk/wiki/GetPVarInt These are for other variables that are integers, weapons, ammo, etcetera. |