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

TFS 0.X How to add something in character description?

gabriel28

Member
Joined
Mar 16, 2012
Messages
199
Solutions
6
Reaction score
24
So I wanted to know how I add something in the character description. Ex: You see Tester. He is an Elite Knight and a King.
I found this function somewhere: doPlayerSetSpecialDescription. If is it, how do I use it?
TFS 0.4 rev 3884 v.8.6
 
Solution
maybe something like this
Lua:
local desc = string.sub(getPlayerNameDescription(cid),1,-2)
doPlayerSetNameDescription(cid, ""..desc.." and a king.")
@SpiderOT How to add without being a new line after the last dot?
Ex: He is an Elite Knight and a King. (What I want)
He is an Elite Knight. He is a King.(What I don't want)
And have a words limitation?
 
maybe something like this
Lua:
local desc = string.sub(getPlayerNameDescription(cid),1,-2)
doPlayerSetNameDescription(cid, ""..desc.." and a king.")
 
Solution
Back
Top Bottom