Garry's Mod

Garry's Mod

61 ratings
Persister - Save/Load system
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
1.322 KB
1 Oct, 2014 @ 9:32am
1 Oct, 2014 @ 10:07am
2 Change Notes ( view )

Subscribe to download
Persister - Save/Load system

Description
What's Persister?

It's nothing else more than a Save/Load system for DarkRP*
How does this works?

This creates a new file each time a player initial joins...This saves:

-Health/armor
-Weapons with the ammo quantity
-Position/Angle
-Job


But how!

This saves data when you disconnect.
And this loads in the first spawn (When player connects) and player data gets deleted after player dies, also you can delete your data writing "!erase /erase"

Wanna write your own version or check if this contains backdoors? Okay...
sh_serialize.lua : http://pastebin.com/Sv70txn8

Thanks to Jarva for found the Disconnect typo and told me that Disconnected it's trustable (Removed save commands)

19 Comments
Egyptian Moviemaker 17 Aug, 2019 @ 2:17am 
When people reconnect they are dead because they spawn on citizen and after, they respawn in thé job in the spawn...
KeQwerty 13 May, 2019 @ 11:11am 
This working in sandbox?
Hazelief 17 Feb, 2019 @ 8:38am 
How to autosave ?
Lokie 19 Jul, 2018 @ 5:36am 
Doesn't work anymore. Please fix! :D
sawcisson 15 Jan, 2018 @ 8:16am 
Trying to make it work , seem like it's not working.
Gonzo シ  [author] 4 Dec, 2017 @ 9:38am 
;(
NeoDrive 4 Dec, 2017 @ 6:14am 
Perfect for our server but it's not working at all ?
zombi (Jeff Sheppard) 16 Sep, 2017 @ 2:19am 
Hi, hi can restrict ur addon to vip ?
Zak 21 Jan, 2017 @ 3:05pm 
Classic, player.GetAll in a Think hook and it's not even ipairs. Nice one!
Derkason 11 Oct, 2015 @ 9:39pm 
Does it save props, if not.. Can you make it so you can? Or an option so you save props or not.