Garry's Mod

Garry's Mod

756 betyg
[DarkRP] Keep pocket contents when disconnecting
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Roleplay
Filstorlek
Lades upp
Uppdaterades
1.905 KB
10 mar, 2015 @ 19:10
6 maj, 2017 @ 10:39
4 ändringsnotiser ( visa )

Abonnera för att ladda ner
[DarkRP] Keep pocket contents when disconnecting

I 2 samlingar av Cédric GÉRILLE [GiletJaune]
Université Joseph Poireau (serveur)
70 artiklar
G-1:788429
50 artiklar
Beskrivning
This addon is for the DarkRP gamemode only!
BIG UPDATE May 2017: works well with anything now, also will save pocket contents in database by default.
This addon will save your pocket contents when you disconnect so your pocket is restored when you connect again.
It will only save contents after restart and map reload if properly configured: see below.

[curse.com]

Configuration
Add this ConVar to your garrysmod/cfg/server.cfg.
darkrp_keep_pocket_forever - Allows the addon to store and load pocket contents from database [0/1] (default 1)

Bug tracker
Please let me know it the restored entities properly work. For instance, Falco's Prop Protection may mess up with who can manipulate restored entities.

Note: if you are the host then if you use the retry console command then the disconnect event is not triggered, so if darkrp_keep_pocket_forever is not set to 1 then your pocket will not be saved.
124 kommentarer
Hexon_Boi 14 jun, 2024 @ 17:27 
can u add a convar that makes perma pockets save contents for separate jobs? So when im like medic i can store medkits but when i change to other job i have another set of items in my pocket
Cédric GÉRILLE [GiletJaune]  [skapare] 28 jul, 2018 @ 3:28 
If it's in your pocket when you leave then I suppose it will still be there when you come back.
☝Пошел на ♥♥♥ 28 jul, 2018 @ 0:38 
Say in Russian , if i exit server and join again my money printer will save?
Cédric GÉRILLE [GiletJaune]  [skapare] 15 jul, 2018 @ 6:45 
You just told me you can't subscribe to the DarkRP on the Workshop. Deal with it but honestly it's not so much of a problem of mine. :steammocking:
Quotation Marx 15 jul, 2018 @ 5:11 
Surely there's a Steam workshop link? I'm just unhealthily paranoid about viruses.
Cédric GÉRILLE [GiletJaune]  [skapare] 15 jul, 2018 @ 4:03 
Just add it on your game / server by downloading it through its Git repository (or the Subversion compatibility layer if you prefer instead).
Home page: https://github.com/FPtje/DarkRP/
Quotation Marx 15 jul, 2018 @ 3:50 
How do you even download the Darkrp gamemode? It says that I can't access it if I click on it & therefore I can't subscribe to it
Bolsonaro 28 jan, 2018 @ 15:37 
cance :steamhappy:
Cédric GÉRILLE [GiletJaune]  [skapare] 24 dec, 2017 @ 4:50 
Of course not, because everything can be spawned from the spawn menu with no limit.
tourniquet taster 23 dec, 2017 @ 19:48 
IS THERe SOMETHING LIKE THis in ssandbox?\