Garry's Mod

Garry's Mod

评价数不足
[DarkRP] Enhanced Re-Arrest
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
3.738 KB
2020 年 6 月 22 日 下午 2:26
2020 年 6 月 23 日 下午 1:53
2 项改动说明 ( 查看 )

订阅以下载
[DarkRP] Enhanced Re-Arrest

描述
Enhanced Re-Arrest
If a player leaves your server while he is still under arrest, the player will be automatically arrested as soon as they re-connect to the server. Regardless of whether the map has been changed in the meantime or the server has been completely restarted!


----------------------------------------------------------------


Server ConVars
ConVar
Description
Default value
ReArrest_Message
The message the player gets after being re-arrested. Only works if ReArrest_MessageType is higher than 0
"You still have an arrest to serve, so you were arrested again!"
ReArrest_MessageType
0 to disable, 1 for DarkRP-Notify only, 2 for chat only, 3 for both
1
ReArrest_TimeAfterConnect
How many seconds to wait after connect before the player is arrested again
30


----------------------------------------------------------------


Questions and Answers
DarkRP already has that, doesn't it?
Yes, but DarkRP only arrests the player again if the player reconnects immediately on the same map (and without restarting the server). But my add-on allows the player to be arrested again even if the player reconnects after a server restart, map change or after weeks.

I found a bug, what to do?
Write it in the comments! It would be good if you included the script errors (if available).

May I re-upload the add-on?
No.

May I make changes to the code and then upload it?
Of course you can make changes to the code, but even then don't upload it (use it only for your own server). In addition, I don't offer support if you change the code and bugs arise.

Does the add-on have a impact on the server (e.g. loss of performance, ..)?
The add-on should have almost no impact on your server performance. Certainly not any effects on your FPS. If you have the impression, you should probably think about which or how many "garbage" add-ons you have on your server.


Don't forget: Always wash your hands thoroughly!


----------------------------------------------------------------


Wanna give me a little gift? c:
[www.paypal.com]
2 条留言
Mekrip  [作者] 2020 年 6 月 26 日 上午 10:01 
No, only for darkrp or darkrp-based gamemodes
☢️ W Y VΞ R Π 2020 年 6 月 26 日 上午 9:07 
Will this run on sandbox?