Garry's Mod

Garry's Mod

TTT Defibrillator Detective/Traitor
12 条留言
Albino 2020 年 5 月 10 日 上午 11:22 
is it possible to add a timer on this? like only being able to revive a corpse if they have been dead for less than x seconds
DarkIce  [作者] 2018 年 4 月 6 日 上午 2:43 
you can create a collection for your server with workshop items and then the server downloads them automatically
TehVampire 2018 年 4 月 5 日 下午 1:13 
It gives this error for all clients on the server now:
[ERROR] lua/weapons/weapon_ttt_defib.lua:271: '=' expected near '<eof>'
1. unknown - lua/weapons/weapon_ttt_defib.lua:0
TehVampire 2018 年 4 月 5 日 下午 12:35 
On your server or on the steam workshop? Because I changed it on my server and now it just generates errors for the clients and the detective still can't buy the defib.
DarkIce  [作者] 2018 年 4 月 5 日 上午 10:37 
i rechecked it is set to SWEP.CanBuy = {ROLE_TRAITOR, ROLE_DETECTIVE}
TehVampire 2018 年 4 月 5 日 上午 10:07 
Just to clarify my previous statement.
SWEP.CanBuy = {ROLE_TRAITOR}
is what is in your LUA and should be
SWEP.CanBuy = {ROLE_TRAITOR, ROLE_DETECTIVE}
TehVampire 2018 年 4 月 1 日 上午 9:44 
Nah it doesn't but I found out why... in the LUA it only allows ROLE_TRAITOR to use it :p
DarkIce  [作者] 2018 年 4 月 1 日 上午 8:14 
It works i since i use it ob my server too. Remeber that you cant use both versions of this addon you have to delete the other one
TehVampire 2018 年 3 月 31 日 下午 1:39 
This defib doesn't seem to work for the detective. Can you tell me where I can check this in the LUA? I have no knowledge about working with that stuff so if you can point it out to me.
DarkIce  [作者] 2018 年 3 月 16 日 上午 4:36 
You have to use something like gmad extractor to extract the lua files from the .gma file then you can edit the swep
The Captain Yoshii 2018 年 3 月 15 日 下午 8:29 
where is the LUA file to add it to another role?
macherdermachermacherinnen 2016 年 12 月 20 日 上午 6:26 
KUHL