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

OTClient OTCV8 - Player Graduate inside nick

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,188
Solutions
34
Reaction score
200
How can i put player graduate above player nick?
player can be: Junior, Senior or Master.

storage 100 == 1 -> Junior (blue collor)
storage 100 == 2 -> Senior (blue collor)
storage 100 == 3 -> Master (red collor)
and option to how and hide player graduation

edit:
i dont want to use this function:
Lua:
function Creature:onAppear()
because it runs a lot of times, when up stairs, down stairs, when monster appear... i want some source modification, that when u login function will run only one time
 
because it runs a lot of times, when up stairs, down stairs, when monster appear...
Let me tell you a secret... Its the same thing on the server side :)
Adding titles to the server only makes the system more flexible, but it still sends title every time creature is sent to the client (creatures are not cached on the client side), which is how OnAppear is executed.
 
when player up/down stair, the function is called every time? when monster appear, desappear?
thought that when the server opened, the position of the players' nicknames, monsters nicknames, would already be "saved".

edit: and how can i do this code, using server side or tfs?
 
Back
Top