Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
03.10.2011, 06:00
(
Последний раз редактировалось Buzzbomb; 03.10.2011 в 09:05.
)
How Can I set a playername from use.ini file i want to do Someone like this SetPlayerName(playerid, PlayerInfo[playerid][pFirstname]); But everytime i do it the server shutdown after login and If i try PlayerInfo[playerid][pFirstname] = SetPlayerName(playerid, "Firstname"); It sets there name Firstname Instead of the name in the ini file... 2 people tried and It failed.. Someone please help me >.... Im dieing here for a solution....
Posts: 398
Threads: 19
Joined: Aug 2011
Reputation:
0
What?? xD
SetPlayerName(playerid, TheRoleplayName);
or
ShowNameTags(false);
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
hhmm Would that work... i hope thanks for the response
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
No Clue what happen but it made the server shut down with this one....
SetPlayerName(playerid, PlayerInfo[playerid][pFirstname]);
Posts: 398
Threads: 19
Joined: Aug 2011
Reputation:
0
Putting ShowNameTags(false); under the OnGameModeInit callback would disable the Name Tag above the player's heads... but will not remove their name from the tabs list.
Putting SetPlayerName(playerid, TheRoleplayName); somewhere in your script will change the name tag and the tabbed name... but will not disable them.
There is no way for disabling the names in the tabbed list.
Edit: Hmmm... It shouldn't, where did you put it?
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
SetPlayerName(playerid, "Firstname");
Wouldnt let me login with ShowNameTags(false);
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
And your code wont Compile gives errors
But I want it to get the players roleplay name from the user.ini that they typed in to call them selfs..
I put your Code Under OnPlayerConnect Or should i put is somewhere else
Posts: 398
Threads: 19
Joined: Aug 2011
Reputation:
0
... Okay after your registration/login system put SetPlayerName(playerid, PlayerInfo[playerid][pFirstname]);
And under OnGameModeInit put ShowNameTags(false);
If this doesn't work PM me with a way to contact you and I'll put them in myself.
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
Biiii Cooorrrummmbaaaaaaaaaaa
Posts: 531
Threads: 99
Joined: Sep 2010
Reputation:
0
None Of them Methods worked anyone else have any ideals... lol this one insane code .... and samp dont like it