Hokku
Member
Hello guys im trying to create a general furniture kit, a kit with different options on modal window to choose the furni you want, but i cant figure how to transform it.
Dont get any error in console.
Im using tfs 1.1
Dont get any error in console.
Im using tfs 1.1
LUA:
function onModalWindow(cid, item, modalWindowId, buttonId, choiceId)
local furniture = {1869, 1866, 1863, 1860, 1872, 1857}
if modalWindowId == 1005 then
if buttonId == 100 then
item:transform(furniture[choiceId])
end
end
end
Last edited: