1 player change all players prefixes
#1

1 player can change all prefixes for all players.

on the top

Код:
new prefix[MAX_PLAYERS];
OnPlayerText

Код:
                    new customprefix[256];
		    new customprefixplayer[MAX_PLAYER_NAME];
		    GetPlayerName(playerid, customprefixplayer, sizeof(customprefixplayer));
		    format(customprefix, sizeof(customprefix), "{b800db}[{ffffff}%s{b800db}]{940000}%s: {ffffff}%s", prefix, customprefixplayer, text);
		    SendClientMessageToAll(GetPlayerColor(playerid), customprefix);
CMD:

Код:
                new tag[16];
		if(sscanf(params,"s[16]",tag)) return SendClientMessage(playerid, WHITE, "USAGE:/setmyprefix [text]");
		format(prefix, sizeof(prefix), tag, prefix);
		return 1;
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: 6 Guest(s)