Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Have to search by myself but find it.
------> Go to the mod directory where PZ is installed.
Don't know which version you use, i'm on 42.9 so for me it's 42.9 folder in the following path.
"Yourletterdrive":\SteamLibrary\steamapps\workshop\content\108600\2256623447\mods\Firearms\42.9\media\lua\shared\Firearms\TimedActions
------> SAVE THE ORIGINAL FILE IN CASE OF MISTAKE
Open "Firearms_ISReloadWeaponAction.lua" with a text editor and replace the section at the end by the new one like Br0u said.
don't have exactly the same "before code" as above, my code in was :
Events.OnGameBoot.Add(function()
Hook.Attack.Remove(ISReloadWeaponAction.attackHook);
Hook.Attack.Add(ISReloadWeaponAction.attackHookFirearms) -- add our new callback
-- store the original function.
original_attackHook = ISReloadWeaponAction.attackHook
-- overwrite is probably redundant at this point, but best done just in case.
ISReloadWeaponAction.attackHook = ISReloadWeaponAction.attackHookFirearms
end)
And after replacing it all by the "after code" above, no error anymore, so worth it to try.
---------------------------
It's working in B42, thank you so much !
i was attacked by bandits and can't shoot, solve my problem (and their too :'D !)
Appreciate it!