Garry's Mod

Garry's Mod

gDuels - Duel Sytem
heitz  [kehittäjä] 26.4.2020 klo 9.56
Bugs
If you found a bug, you can tell about it here
< >
Näytetään 1-7 / 7 kommentista
@DidVaitel sh_language.lua исправь на 65-66 с "дуэля" на "дуэль" :facepunch:

И добавька этот код в sv_functions.lua, чтобы никто не мог атаковать игроков в дуэли и игроки не могли из дуэли атаковать кого-то :)
hook.Add("PlayerShouldTakeDamage","DuelBlockDamage",function(ply1,ply2)
if ply1.Opponent != nil then
return ply1.Opponent==ply2
elseif ply2:IsPlayer() and ply2~=ply1 and ply2.Opponent != nil then
return ply2.Opponent==ply1 or ply1.Opponent==ply2
end
end)
Viimeisin muokkaaja on Nexeonenn; 16.5.2020 klo 2.17
heitz  [kehittäjä] 16.5.2020 klo 5.18 
Nexeonenn lähetti viestin:
@DidVaitel sh_language.lua исправь на 65-66 с "дуэля" на "дуэль" :facepunch:

И добавька этот код в sv_functions.lua, чтобы никто не мог атаковать игроков в дуэли и игроки не могли из дуэли атаковать кого-то :)
hook.Add("PlayerShouldTakeDamage","DuelBlockDamage",function(ply1,ply2)
if ply1.Opponent != nil then
return ply1.Opponent==ply2
elseif ply2:IsPlayer() and ply2~=ply1 and ply2.Opponent != nil then
return ply2.Opponent==ply1 or ply1.Opponent==ply2
end
end)
Okey-dokey :60ssharikov:
Hey ! Good Addon ! But i found a """"Error"""" :

color_white.a = 350 - Dist
color_black.a = 350 - Dist

you override default color (alpha) in gmod :steamhappy:
this can damage spawn menu and more items use black and white color :steamthumbsup:
Viimeisin muokkaaja on Rayzox57; 4.1.2021 klo 15.16
idk how to use it but when i pushed e on the duel npc my game softlocked and i couldnt get out of the menu
I tried to use the duel NPC but when I did the menu got stuck on my screen, and the weirdest part is that Wiremod started having errors when that happened.
Me too, it just softlocks me on the panel with an error
[gDuels - Duel Sytem] lua/includes/extensions/table.lua:64: bad argument #1 to 'next' (table expected, got nil)
1. next - [C]:-1
2. IsEmpty - lua/includes/extensions/table.lua:64
3. func - lua/gduel/vgui/cl_vgui.lua:71
4. unknown - lua/includes/extensions/net.lua:38
< >
Näytetään 1-7 / 7 kommentista
Sivua kohden: 1530 50