function Game.Rule:OnGetWeapon(player, weaponid, weapon) -- 무기를 획득할 때 탄창 한 묶음 지급
if weapon ~= nil then weapon:AddClip1(1) end
end
function Game.Rule:OnReload(player, weapon, time) -- 장전을 시작할 때 탄창 한 묶음 지급
if weapon ~= nil then weapon:AddClip1(1) end
end
function Game.Rule:OnReloadFinished(player, weapon) -- 장전이 끝날 때 탄창 한 묶음 지급
if weapon ~= nil then weapon:AddClip1(1) end
end
function Game.Rule:PostFireWeapon(player, weapon, time) -- 발사 시 탄창 한 묶음 지급
if weapon ~= nil then weapon:AddClip1(1) end
end
-- 인벤토리에 무기를 소유하지 않았거나 스크립트로 소환한 무기가 아니면 함수가 작동되지 않을 수 있음 --
추천 :
2