Posts: 108
Threads: 38
Joined: Apr 2013
Reputation:
0
Can I do any custom name that the player will use it only when player use mask, any other function not setplayername?
Posts: 1,253
Threads: 36
Joined: Aug 2011
Reputation:
0
I don't understand
1) If you want it so you can make a custom name when a player puts on a mask, make a command. This command would then make a global variable (UsingCustomName[MAX_PLAYERS], etc) a value (usually 1).
Then it would assign another global variable (a string) the name that you type. (CustomName[MAX_PLAYERS][128], etc)
Then make it so it will add a text label above the players head with the custom name or something.
2) If you want a randomly generated ID number or something, just do the same as above but instead of CustomName[MAX_PLAYERS][128] just make it CustomName[MAX_PLAYERS] and instead of inputting something, it would generate a random ID or something (random(45123123123);)
I'm not going to help you with this, doesn't even seem like you attempted it.
Posts: 108
Threads: 38
Joined: Apr 2013
Reputation:
0
This first but not label.I want custom name pr '((MASKED))((ID))'