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

Animted text on tiles

115820

Member
Joined
Feb 27, 2011
Messages
193
Solutions
1
Reaction score
5
Location
London, England
Hi Guys, i need help.
I want a TP TALK, but like TP TALK 1.2 TFS for 0.4
like :
592e51cf779e4_Semttulo.png.9ecc301c0b9032f049ca4b167dbb69ad.png
 
Lua:
local config = {
positions = {
  ["Text"] = { x = 1105, y = 989, z = 7 },
  ["text"] = { x = 1006, y = 996, z = 7 },
  ["textt"] = { x = 1006, y = 998, z = 7 },
},

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

Just for ur info I didnt do that script xD but it gonna work ^.^
 
Lua:
local config = {
positions = {
  ["Text"] = { x = 1105, y = 989, z = 7 },
  ["text"] = { x = 1006, y = 996, z = 7 },
  ["textt"] = { x = 1006, y = 998, z = 7 },
},

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

Just for ur info I didnt do that script xD but it gonna work ^.^

doSendAnimatedText is removed since 9.x?
The only thing ppl can use is Creature:say(text, type, position).
And there is a con with that, if you place alot of them the things a player says will get removed from the screen (for some reason the client removes w/e the player chats / writes about and sends the creature yell / speak message insted).

FYI if you see scripts using TRUE / FALSE replace them with true / false, not to mention the tabbing :p
 
doSendAnimatedText is removed since 9.x?
The only thing ppl can use is Creature:say(text, type, position).
And there is a con with that, if you place alot of them the things a player says will get removed from the screen (for some reason the client removes w/e the player chats / writes about and sends the creature yell / speak message insted).

FYI if you see scripts using TRUE / FALSE replace them with true / false, not to mention the tabbing :p

I thought hes using 8.60 since he said he wants it for tfs 0.4 ^^
 
Back
Top