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

Search results

  1. phobueno

    how to stop addEvent if player died?

    you can use creature ID instead of Unique ID, cause it changes everytime that player dies/relog, so if It dies and you make a verification for Player(creatureId) you'll not have a player and it'll stop the script I guess, not sure tho, but I use something like this in my server
  2. phobueno

    how to display effect above the teleport

    try this way in compat.lua: function doPlayerSendTextMessage(cid, type, text, ...) local p = Player(cid) return p ~= nil and p:sendTextMessage(type, text, ...) or false end function doSendAnimatedText() debugPrint("Deprecated function.") return true end function doSendAnimatedText(pos, text...
  3. phobueno

    how to display effect above the teleport

    yeah you replace the red and add green, then try to use like in my example before Game.sendAnimatedText(settings.text, settings.position, color), it should work
  4. phobueno

    how to display effect above the teleport

    OP said that he's using TFS 1.2 so I checked here in TFS 1.2 github and I didn't find it in sources, I think that you'll need to add animated text function in your source to use it, ":say" also isn't an option cause it need a creature to be called. EDIT: I found out this PR from EPuncker that...
  5. phobueno

    how to display effect above the teleport

    if it's for newer tibia version it's not possible cause animated text was removed, but in older versions you can still use Game.sendAnimatedText( like this one: local color = 5 local effects = { {position = Position(1085, 1216, 7), text = '[Quests]'} } function onThink(interval) for...
  6. phobueno

    [Tf 1x+] Event Roulette

    I don't know if anyone cares but to solve this you need to change this: for i = 1, maxslot do addEvent(delay, 1*1*60, slots[i], i) end to this: for i = maxslot, 1, -1 do addEvent(delay, 1*1*60, slots[i], i) end for some reason in older versions...
Back
Top