• 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!

Help please with script

husam

Member
Joined
Aug 23, 2008
Messages
2,216
Reaction score
10
Location
Iraq-Baghdad
Please all
i want help
i need this script to work in TFS 3.3
function onStepIn(cid, item, pos)
if item.uid == 1003 then
doCreatureSay(cid, "Welcome to the RoxOr Teleport Room!", TALKTYPE_ORANGE_1)
doPlayerSendTextMessage(cid, 20, 'Welcome to the RoxOr Teleport Room!')

end
end
 
This? your works, but edited (made a better) it works.

Here, but make sure that you set the x-y-z on the teleport too...

PHP:
function onStepIn(cid, item, pos)
local serverName = getConfigInfo('serverName')
if item.uid == 1003 and isPlayer(cid) == TRUE then
	doCreatureSay(cid, "Welcome to "..serverName.." Teleport Room!", TALKTYPE_ORANGE_1)
	doPlayerSendTextMessage(cid, 20, 'Welcome to "..serverName.." Teleport Room!')
		end
	return TRUE
end
 
Back
Top