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

Password

Amiroslo

Excellent OT User
Joined
Jul 28, 2009
Messages
6,812
Solutions
6
Reaction score
822
i got a script that when u stand on a place and says ADMIN AMIR it tp u to the other side it like a code but it dont work when someone says ADMIN AMIR nothing happens

Code:
local position = {x=2464,y=3367,z=7} --position is the pos where to stand,
local teleport = {x=2464,y=3365,z=7} --teleport is position where player is teleported
 
function onSay(cid, words, param, channel)
	local p = getThingPos(cid)
	if p.x ~= position.x or p.y ~= position.y or p.z ~= position.z then
		return true
	end
	doTeleportThing(cid, teleport)
	doSendMagicEffect(getThingPos(cid), 10)
	return true
end
thats the script i use!!
rep++ for the fixer
 
ahh ty i hade it wrong i hade it like this
Code:
	<talkaction words="ADMIN AMIR" event="script" value="ADMIN AMIR.lua"/>
repped
 
Back
Top