So basicly I want to use a book that opens a modalwindow. Depending on your vocation, it will open different windows! Using tfs 1.1
For a mage it should be this
For a knight it should be
And for a paladin
I've tried some stuff but nothing really works, anybody thats up for helping me?
edit
Here's the current code I use:
For a mage it should be this
Code:
player:sendSkillPointsWindow()
Code:
player:sendSkillPointsWindow2()
Code:
player:sendSkillPointsWindow3()
I've tried some stuff but nothing really works, anybody thats up for helping me?
edit
Here's the current code I use:
Code:
function onUse(player, cid, item, fromPosition, itemEx, toPosition)
player:sendSkillPointsWindow()
return true
end
Last edited: