help Player Name
#1

I help with Player Name.

if player connect to server set player in front of nick [*FP*]

example :
player nick is Test if connect to server nick Test conevrt to [*FP*] Test
Reply
#2

OnPlayerConnect,

Use GetPlayerName to get the player's name, then use format to add "[*FP*]" to the start of the player's name, then use SetPlayerName to change their name.
Reply
#3

Hello!

Use strins this is a better version than you use format.

PHP код:
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
strins(name,"[*FP*]",0);
SetPlayerName(playerid,name); 
Mencent
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)