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

Some can help me with this?

Stewie

Family Guy # ;3
Joined
May 3, 2010
Messages
786
Reaction score
12
Location
TV
Hello,

i would like a name in name description show POINTS,how?

Code:
01:14 You see Sir Micky Engel (Level 113). He is a royal paladin,Have x Points.

here function

LUA:
getPlayerPoints(cid)

Thx !

REP+
 
PHP:
function onLook(cid, thing, position, lookDistance)
    if isPlayer(thing.uid) then
        doPlayerSetSpecialDescription(cid, (getPlayerSex(cid) == 0 and ".\nShe" or ".\nHe") have (getPlayerPoints(cid))")
    end            
return true
end

or

PHP:
function onLogin(cid)
    if isPlayer(cid) then
        doPlayerSetSpecialDescription(cid, (getPlayerSex(cid) == 0 and ".\nShe" or ".\nHe") have (getPlayerPoints(cid))")
    end            
return true
end

i think this work..
 
both wont work as needed.
LUA:
function onLook(cid, thing, position, lookDistance)
if isPlayer(thing.uid) then
doPlayerSetSpecialDescription(thing.uid, (getPlayerSex(thing.uid) == 0 and ".\nShe" or ".\nHe") .." has "..getPlayerPoints(thing.uid).." points")
return true
end
end

regestire event in login
 
Back
Top