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

Solved Talking lever

Erikas Kontenis

Excellent OT User
Joined
Jul 3, 2009
Messages
1,938
Reaction score
682
Location
Lithuania
how to do that when you press on lever he say to you text and then delay for 2 sec till text ends and he says other text thats something same like npc long story, just as action i self tried addevent but nothing happened right for me... and then will be said not to player position or lever position text will appear on position wich you choose in config.
 
Last edited:
LUA:
local pos = {x=1,y=1,z=7}
function onUse(cid, item)
	doSendText("text1", pos) -- u must find good function by yourself
	addEvent(2000, doSendText, "text2", pos)
	addEvent(4000, doSendText, "text3", pos)
end
smth like that
 
yesterday i was working with that script at night and sreached for function to send text nowly im done i used this one if someone needs.
LUA:

LUA:
doCreatureSay(cid, "pre", TALKTYPE_ORANGE_1, false, cid, pos)
 
Back
Top