Save Player HP on logout / Weapons
#1

Hi, I have a GF edit and I don't know why but everytime I log out and in, my HP goes back to 50. Even if it was 100, also if I had an AK 47 or some kind of a weapon, it is gone, and then I have a baseball bat. How do I fix this? Please help.

If you want me to look up a code in my GM I will gladly will and post it here.
Reply
#2

GF edits usually have something like PlayerInfo[pSpawnHealth] which is usually 50. Also the weapons usually reset so you need to save the weapon in to your account inside OnPlayerDisconnect or OnPlayerLogout, depending on your gamemode and it's saving method.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)