• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Saving player name in gui?

Status
Not open for further replies.
Level 9
Joined
Jul 3, 2008
Messages
495
Save the:

• First 3 letters of the name
• Last 3 letters of the name
• First, middle and last letter of the name
• Or just three letters in the name

You do not need to save more than three letters, else I will make the code too long
 
Level 9
Joined
Jul 3, 2008
Messages
495
lol ... that system will be bugged :) ... if my name is : Azothrallos'naruu...... it couldn't save all name ... and if a player like : Azothrallis'naruu..... exists ... there will be a bug.

Yes it won't be 100% water proof, but it will prevent alot of people stealing each others codes. The code will simple be too long if you save the whole name.

thanks MeKC for actually helping. I'll do that.
EDIT: ah even one letter ends up with like a 6 character long integer. Does anyone know like... a proper function to store the player name? or at least one letter..

Why does it end up being 6 digits long? You can simple do like this:


a=fX
b=o4
c=Kc
d=LO
e=98
 
Status
Not open for further replies.
Top