function Giveweapon(callerOn, arg) if callerOn then Game.Weapon:CreateAndDrop (16, {x=-2,y=-2,z=4}) -- USP45 end end
function Game.Rule:OnGetWeapon(player, weaponid, weapon) print(weaponid) if weapon ~= nil then if weapon:GetWeaponType() == Game.WEAPONTYPE.PISTOL then weapon.infiniteclip = true end end end