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

onlook say when the char created

kimokimo

Kimo
Joined
Jan 25, 2011
Messages
821
Solutions
6
Reaction score
156
GitHub
karimadnan
can anyone make this script?? when someone look on player it say he is ... level {110} elite knight he is 20 days old anyone ? :)
 
hmm i understand this look.
data\creaturescripts\scripts create file vipcheck
LUA:
function onLogin(cid)
         if getAccountPoints(cid) > 0 then         
            doPlayerSetSpecialDescription(cid, "(VIP)")
         else
            doPlayerSetSpecialDescription(cid, "(NOT VIP)")
         end         
return true
end

now goto creaturescripts.xml
LUA:
<event type="login" name="VipCheck" event="script" value="vipcheck.lua"/>
or wanna look vip days?
 
hmm i understand this look.
data\creaturescripts\scripts create file vipcheck
LUA:
function onLogin(cid)
         if getAccountPoints(cid) > 0 then         
            doPlayerSetSpecialDescription(cid, "(VIP)")
         else
            doPlayerSetSpecialDescription(cid, "(NOT VIP)")
         end         
return true
end

now goto creaturescripts.xml
LUA:
<event type="login" name="VipCheck" event="script" value="vipcheck.lua"/>
or wanna look vip days?

What..? That's not at all what he wanted.

And unless I'm mistaken, I'm pretty sure there is no database entry which stores creation time. The easiest way to do it would be to alter your database to include that extra column and then alter login.lua to set the current time in that character's database entry if it's their first time logging in.
 
Back
Top