Posts: 107
Threads: 14
Joined: Aug 2010
Reputation:
0
Hey I'd like to have a command which opens up a dialog box that lists a player's nicks, allows the player to select and switch to any of their nicks and also allow them to easily add a new nick. I know that I'm supposed to somehow use SetPlayerName... but I have no idea what to do and sampwiki isn't much help in this case. It would be highly appreciated if someone could write the code for me.
Posts: 1,753
Threads: 277
Joined: Sep 2010
Reputation:
0
Have you got set variables/saving schemes for the names to be saved and to appear onto a dialog?
I can do this for you, if you'll show the code that's needed, thanks.
Posts: 1,753
Threads: 277
Joined: Sep 2010
Reputation:
0
It has a saving system right? What kind of system is it? Dini?
Posts: 107
Threads: 14
Joined: Aug 2010
Reputation:
0
11.05.2012, 18:37
(
Последний раз редактировалось Incog_Nito; 31.05.2012 в 03:04.
)
Not sure but heres the entire FS...
Posts: 580
Threads: 26
Joined: Jan 2006
Reputation:
0
It depends a lot on the system you use for storing accounts.. i assume you saw this in 0.3e partyserver update.. it's stored in database and it simply queries the nicks from there to show it, it's pretty simple to change name than to actually update player session tables in a consistient manner to track nick changes of players.
Posts: 580
Threads: 26
Joined: Jan 2006
Reputation:
0
As long as you make something on your own and original i will never have any objections.