Garry's Mod

Garry's Mod

61 个评价
Persister - Save/Load system
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
1.322 KB
2014 年 10 月 1 日 上午 9:32
2014 年 10 月 1 日 上午 10:07
2 项改动说明 ( 查看 )

订阅以下载
Persister - Save/Load system

描述
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 条留言
Egyptian Moviemaker 2019 年 8 月 17 日 上午 2:17 
When people reconnect they are dead because they spawn on citizen and after, they respawn in thé job in the spawn...
KeQwerty 2019 年 5 月 13 日 上午 11:11 
This working in sandbox?
Nguyene Passoukousoumba VII 2019 年 2 月 17 日 上午 8:38 
How to autosave ?
Delco 2018 年 7 月 19 日 上午 5:36 
Doesn't work anymore. Please fix! :D
sawcisson 2018 年 1 月 15 日 上午 8:16 
Trying to make it work , seem like it's not working.
Gonzo シ  [作者] 2017 年 12 月 4 日 上午 9:38 
;(
NeoDrive 2017 年 12 月 4 日 上午 6:14 
Perfect for our server but it's not working at all ?
zombi (Jeff Sheppard) 2017 年 9 月 16 日 上午 2:19 
Hi, hi can restrict ur addon to vip ?
Zak 2017 年 1 月 21 日 下午 3:05 
Classic, player.GetAll in a Think hook and it's not even ipairs. Nice one!
Derkason 2015 年 10 月 11 日 下午 9:39 
Does it save props, if not.. Can you make it so you can? Or an option so you save props or not.