Garry's Mod

Garry's Mod

Day of Infamy Explosives pack
caquelon 23 Aug, 2019 @ 3:51am
Error in lua
to prevent errors in the server console everytime a user throws his last grenade,

in all grenade weapons, replace or override :

function SWEP:Holster()
if self:Ammo1() <= 0 then


with


function SWEP:Holster()
if SERVER and self:Ammo1() <= 0 then



you're welcome.
great job tho
Last edited by caquelon; 23 Aug, 2019 @ 4:18am