Help getting name
#1

How can I Setplayername from a file..
Reply
#2

What do you mean? please more info.
Reply
#3

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 ...
Reply
#4

lol wtf ?

you allready created some theards with this and i allready said you how to make it
Reply
#5

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...
Reply
#6

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
Reply
#7

Nope I must failed ... get a ideal and try to make it happen and all it does is fail..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)