• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Rebirth system OnLook 0.3.6

mxdz

New Member
Joined
Jul 28, 2017
Messages
19
Reaction score
1
hey guys does anyone have a spare script for the OnLook rebirth system, i can't seem to find a working one Thank you
Tibia 8.6
Crying damson 0.3.6
 
Solution
doodoo script but should work
LUA:
function onLook(cid, thing, position, lookDistance)
    local pmessage = ""
    if(isPlayer(thing.uid) and thing.uid ~= cid and getPlayerStorageValue(thing.uid, 85987) ~= -1) then
        if(getPlayerStorageValue(thing.uid, 85987) > -1) then
            doPlayerSetSpecialDescription(thing.uid, (getPlayerSex(thing.uid) == PLAYERSEX_FEMALE and ".\nShe" or ".\nHe") .. " has [" .. getPlayerStorageValue(thing.uid, 85987) .. "] " .. (getPlayerStorageValue(thing.uid, 85987) == 1 and "Prestige" or "Prestiges"))
        end
    elseif(thing.uid == cid and getPlayerStorageValue(cid, 85987) ~= -1) then
        local message = "You see yourself."
        if(getPlayerFlagValue(cid...
do i not need to add this into the script then? i just don't understand why it aint working, would it be best to use the original bocations anyways ?

Yes and no, you can use Statics code, but then you need to change 85987 to 200 and change Prestige to Gladiator.

This will limit you to 2 "titles", if you use my script you can use as many as you want, just add them to the table
LUA:
[3] = 'smth else'
Etc
 
Yes and no, you can use Statics code, but then you need to change 85987 to 200 and change Prestige to Gladiator.

This will limit you to 2 "titles", if you use my script you can use as many as you want, just add them to the table
LUA:
[3] = 'smth else'
Etc
okay i will try this
 
Yes and no, you can use Statics code, but then you need to change 85987 to 200 and change Prestige to Gladiator.

This will limit you to 2 "titles", if you use my script you can use as many as you want, just add them to the table
LUA:
[3] = 'smth else'
Etc
gladiator is his vocation, not the text he wants for prestige lmfao
Thank you it has worked <3, sorry for double reply too, just because i changed "Prestige" to "Gladiator" it says
change it to rebirth or prestige
 
Back
Top