Help : How to Delete 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: Help : How to Delete color (
/showthread.php?tid=428360)
Help : How to Delete color -
morocco - 05.04.2013
Hi guys
Please how to delete color on chat and color name player
Re: Help : How to Delete color -
HurtLocker - 05.04.2013
You want the player's name on chat to be white but in game play to have its original color?
Re : Re: Help : How to Delete color -
morocco - 05.04.2013
Quote:
Originally Posted by HurtLocker
You want the player's name on chat to be white but in game play to have its original color?
|
i want to delete color on chat
http://postimg.org/image/ivxbqhvcr/
and name
Re: Help : How to Delete color -
Revo - 05.04.2013
Use SetPlayerColor (
https://sampwiki.blast.hk/wiki/Function:SetPlayerColor ) in OnPlayerConnect
Re: Help : How to Delete color -
Avi Raj - 05.04.2013
press F7 two times.
Re: Help : How to Delete color -
MP2 - 05.04.2013
What do you mean 'delete' the color? You can't 'delete' the colour, you can set the colour though. You can't make it transparent though.
Do you mean turn it white?
Re: Help : How to Delete color -
HurtLocker - 05.04.2013
i asked you a question man, help us to help you.
EDIT: Add this in your gm:
pawn Код:
public OnPlayerText(playerid, text[])
{
new text[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof (name));
format(text, sizeof (text), "{FFFFFF}%s:[%d] %s", name, playerid, text);
SendPlayerMessageToAll(playerid, text);
return 0;
}