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

What's Commend ?

Check Me

New Member
Joined
Mar 11, 2015
Messages
42
Reaction score
0
How or what the commend to do this ghost words and how i can delete it ? :)

A9UakTX.png
 
local config = {
positions = {
["Training"] =
["Hunts"] =
["Quests"] =
["Shop"] =
["START"] = [X: 1003] [Y: 1003] [Z: 7].
["VIP"] = { x = 1005, y = 1003, z = 6 },
["CASSINO"] =


effects = {
CONST_ME_MAGIC_BLUE,
CONST_ME_MAGIC_GREEN,
CONST_ME_MORTAREA
},

colors = {
TEXTCOLOR_WHITE,
TEXTCOLOR_ORANGE,
TEXTCOLOR_GREEN,
TEXTCOLOR_BLUE
}
}

function onThink(cid, interval, lastExecution)
for text, pos in pairs(config.positions) do
doSendMagicEffect(pos, config.effects[math.random(1, #config.effects)])
doSendAnimatedText(pos, text, config.colors[math.random(1, #config.colors)])
end
return TRUE
end
 
TUTORIAL :
x = 1005, y = 1003, z = 6 ----> POSITION OF TELEPORT

Make File.lua -> data\globalevents\scripts .. Call it " VIP.lua "

Copy and paste this in it ...


Code:
function onThink(interval, lastExecution)
local teleportpos1 = {x = 1005, y = 1003, z = 6, stackpos=1} --
    doSendAnimatedText(teleportpos1,"VIP", math.random(210, 210))
    doSendMagicEffect(teleportpos1, math.random(1))
return TRUE
end

Now Go To data\globalevents , then open globalevents.xml

Add This Line ..


Code:
<globalevent name="ViP" interval="500" event="script" value="VIP.lua"/>
 
Back
Top