Hello Guys,
I have a script of a weapon, that uses ammo, and i get a error in console because this function.
getItemNameById(item.itemid)
Here my script:
>> actions.xml
<actionitemid="8927"script="new2.lua"/>
Actions > script > new2.lua
function onUse(cid, item, frompos, item2, topos)...