change admin color - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: change admin color (
/showthread.php?tid=650444)
change admin color -
moulyafriyan - 28.02.2018
please help me to change admin color on tab menu, tx
Re: change admin color -
DeXXter00 - 28.02.2018
you have any Admin script to use /changecolour And change any player colour My server IP:94.23.208.199:2471
Re: change admin color -
rfr - 28.02.2018
https://sampwiki.blast.hk/wiki/SetPlayerColor
Re: change admin color -
DeXXter00 - 28.02.2018
Hi rfr have you best admin script
Re: change admin color -
moulyafriyan - 28.02.2018
I've tried...it doesnt work
Re: change admin color -
N0FeaR - 28.02.2018
Quote:
Originally Posted by moulyafriyan
I've tried...it doesnt work
|
Show the code.
Re: change admin color -
kingmk - 28.02.2018
Quote:
Originally Posted by rfr
|
This will change only the color in the TAB MENU and the NAME COLOR above the player. If u wanna set up a color in the chat, u need to do this in OnPlayerText(playerid, text[])
Код:
public OnPlayerText(playerid, text[])
{
new string[150], name[35];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof (string), "{c80e2d}%s[%d]{FFFFFF} says: %s", name, playerid, text);
// {#c80e2d} it's your setup color.
SendPlayerMessageToAll(playerid, string);
return 0;
}
Re: change admin color -
moulyafriyan - 28.02.2018
Quote:
Originally Posted by kingmk
This will change only the color in the TAB MENU and the NAME COLOR above the player. If u wanna set up a color in the chat, u need to do this in OnPlayerText(playerid, text[])
Код:
public OnPlayerText(playerid, text[])
{
new string[150], name[35];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof (string), "{c80e2d}%s[%d]{FFFFFF} says: %s", name, playerid, text);
// {#c80e2d} it's your setup color.
SendPlayerMessageToAll(playerid, string);
return 0;
}
|
I just want admin color
Re: change admin color -
GospodinX - 28.02.2018
You need on Login to set Color for Admin.For example(this will give black color)
PHP код:
if(PlayerInfo[playerid][Admin] == 1338) SetPlayerColor(playerid,0x00000000);
Re: change admin color -
Sew_Sumi - 28.02.2018
Quote:
Originally Posted by moulyafriyan
I just want admin color
|
Show what code you have, or you shouldn't be helped...
This is scripting help, not script for you.
If you haven't got any code, then you're going to have to learn.
Can you guys STOP PASTING RANDOM CODE IN ORDER TO GAIN REP, OR POSTS... Especially when you don't even know what his script is using.