• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Action Talking Statue

Wazzap

Killing Elite
Joined
Jun 15, 2010
Messages
124
Reaction score
4
Location
London / Poland
Talking statue like click on him
actions\actions.xml
find : "<!-- Tools -->"
add :
<action itemid="8540" script="tools/statue.lua" />
Name of script lua
actions\scripts\tools\statue.lua
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 8540 then
doCreatureSay(cid, "XXXXXXXX", TALKTYPE_ORANGE_1)
end
end

What to sey if you will click on him
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 8540 then
doCreatureSay(cid, "XXXXXXXX", TALKTYPE_ORANGE_1)
end
end

is the bold line necessary?
Since you're already doing action on the item..
 
Back
Top