[HELP] Text color (little help)
#1

Hi everyone!
Here's my problem:
I've got this
Quote:

if (PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s (%d) : %s", sendername, playerid, text);
SendClientMessageToAll(C_DRL ,string);
}

And i'm happy it works!
But if i type a text ALL text is blue (C_COP = Blue)
But i only want the name and id to be bleu, so how do i do that??
Reply
#2

Quote:
Originally Posted by WThieves
Hi everyone!
Here's my problem:
I've got this
Quote:

if (PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s (%d) : %s", sendername, playerid, text);
SendClientMessageToAll(C_DRL ,string);
}

And i'm happy it works!
But if i type a text ALL text is blue (C_COP = Blue)
But i only want the name and id to be bleu, so how do i do that??
use SendPlayerMessageToAll(playerid,string);
instead of
SendClientMessageToAll(C_DRL ,string);
Reply
#3

Quote:
Originally Posted by SiJ
Quote:
Originally Posted by WThieves
Hi everyone!
Here's my problem:
I've got this
Quote:

if (PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s (%d) : %s", sendername, playerid, text);
SendClientMessageToAll(C_DRL ,string);
}

And i'm happy it works!
But if i type a text ALL text is blue (C_COP = Blue)
But i only want the name and id to be bleu, so how do i do that??
use SendPlayerMessageToAll(playerid,string);
instead of
SendClientMessageToAll(C_DRL ,string);
But that doesn't change the color from white to C_DRL=Grey!!!
Reply
#4

Quote:
Originally Posted by WThieves
Quote:
Originally Posted by SiJ
Quote:
Originally Posted by WThieves
Hi everyone!
Here's my problem:
I've got this
Quote:

if (PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "%s (%d) : %s", sendername, playerid, text);
SendClientMessageToAll(C_DRL ,string);
}

And i'm happy it works!
But if i type a text ALL text is blue (C_COP = Blue)
But i only want the name and id to be bleu, so how do i do that??
use SendPlayerMessageToAll(playerid,string);
instead of
SendClientMessageToAll(C_DRL ,string);
But that doesn't change the color from white to C_DRL=Grey!!!
It changed player name to player's color (if u use SetPlayerColor(playerid,C_DRL); )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)