Search the Community
Showing results for tags 'addinventory'.
Found 1 result
Hello all, I'm new to modding and made some mods for myself that work by trial and error and some info from this site. However I'm stuck at this issue for some time now, and i was hoping to get some help here I got a piece of code from "NamedWeapons" Mod, for the OnZombieDead function and counter. Everything works, except the part where i should get an item in my inventory. i have tried different approaches like getPlayer():getInventory():Additem... and player:getInventory():.. all without result. Same goes for trying to say an ingame message with Say(".. ") function. Only the the "Print" messages show up in my console, but the effects don't ingame. Help would be much appreciated! pff sorry i can't even get the spoiler function to work .. frustrating :S