• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Problems with a createteleport script.

christiandb

Member
Joined
Feb 5, 2008
Messages
2,469
Reaction score
5
Location
010
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.
 
Back
Top Bottom