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

Different Name's

Scorpvm 101

Active Member
Joined
Feb 23, 2010
Messages
460
Solutions
3
Reaction score
28
Location
Spain
Anyone know how I can do this:

Example:
When you enter in the account with 1/1
The account have four characters
Druid / Sorcerer / Paladin / Knight

Example:
When you enter the druid
In-game you got druid (and numbers), example Druid 123
And when another log back in with the Druid, He got other name (Druid 124)

A friend told me that this is done with C + +, someone could indicate me where to start?

Sorry my bad english, I hope you understand my question.
 
well look for some kind of "on login" function.
set the playername like "druid"
and then you can do something like this
[CPP]
player->SetName(player->Name+""+some_variable_that_gives_the_id);
[/CPP]
 
Back
Top