Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
How can I Setplayername from a file..
Posts: 1,297
Threads: 17
Joined: Apr 2011
What do you mean? please more info.
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
So you Understand what im try to do Ok on the client I typed in Buzzbomb Thats my account name.. Now i connected to the server it asked me to register my name so i did Now it logged me in Now it asked me for my gender then asked me for my age Now it asked me to create a Roleplay First name... So i did " Jose" So I spawned... So all i want to do is the Firstname that was stored in the UseraccountFile.ini I want it to Replace the account name with the name I created for a firstname ... So The name i want Shown Is Jose ...
Posts: 673
Threads: 45
Joined: May 2010
Reputation:
0
lol wtf ?
you allready created some theards with this and i allready said you how to make it
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
Dude im not removing the users accounts.. And You dont explain much in ur post mysql and get user data remove them and add the back? Its part of the function Im trying to mask out the users Account name with there roleplay name...
Posts: 673
Threads: 45
Joined: May 2010
Reputation:
0
then sry i fail.
create verriable
new OldName[MAX_PLAYERS][24];
when he login get his name
new name[24];
GetPlayerName(playerid,name,sizeof name);
format(OldName[playerid],24,name);
SetPlayerName(playerid,yournameverriable);
on disconnect
SetPlayerName(playerid,OldName[playerid]);
bevor saving account
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
Nope I must failed ... get a ideal and try to make it happen and all it does is fail..