christiandb
Member
Code:
local place = {x=32242, y=31179, z=11}
local createplace = {x=32242, y=31179, z=10}
function onUse(cid, item, frompos, item2, topos)
if item.uid == 4534 and item.itemid == 1946 then
doCreateTeleport(itemid, place, createplace)
end
return 1
end
This is my first script, when I use it TFS just crashes no error report or somethin. Could anyone tell me what's wrong with it?
btw i added it as an action.