1 player change all players prefixes
#9

Quote:
Originally Posted by dan40o
Посмотреть сообщение
But with SetPlayerName will write the prefix and the player name in the file? or?
You get the playername first, then you make a format in which you make some thing like: %s%s, the name and prefix and then you set the name to that format.

pawn Код:
new name[MAX_PLAYER_NAME];
new string[24];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"%s%s",name,prefix);
SetPlayerName(playerid,string);
Reply


Messages In This Thread
1 player change all players prefixes - by dan40o - 27.12.2014, 11:11
Re: 1 player change all players prefixes - by dan40o - 28.12.2014, 13:54
Re: 1 player change all players prefixes - by Facerafter - 28.12.2014, 14:00
Re: 1 player change all players prefixes - by dan40o - 28.12.2014, 14:04
AW: 1 player change all players prefixes - by Flori - 28.12.2014, 14:04
Re: 1 player change all players prefixes - by Vince - 28.12.2014, 14:05
Re: 1 player change all players prefixes - by dan40o - 28.12.2014, 14:07
Re: 1 player change all players prefixes - by Facerafter - 28.12.2014, 14:08
AW: Re: 1 player change all players prefixes - by Flori - 28.12.2014, 14:12
Re: 1 player change all players prefixes - by dan40o - 28.12.2014, 14:25

Forum Jump:


Users browsing this thread: 1 Guest(s)