Tempesto
Member
Okay, thank you. Sorry about the posting issue. This doesn't give me an error, but in-game, I still can't get it to work. I think it should be working. I had another script I inputted correctly too and that script doesn't work either and there's no error because its done properly. Can someone tell me why any new lua scripts I add to my server don't work? What kind of bug is it and how do I fix it? It's like my server isn't receiving any new items in its folders properly.
I have this in actions.xml:
I have an actionid 1442 for the statue on the map as well. Because I'm not certain what to do.
Lua:
function onUse(player, item) if
item.itemid == 1442 then
return true
end
doCreateMonster('Demon',{x=462,y=191,z=7})
end
I have this in actions.xml:
XML:
<action itemid="1442" script="other/soldier.lua" />
I have an actionid 1442 for the statue on the map as well. Because I'm not certain what to do.
Last edited: