GetPlayerColor
#2

i cant think of any idea. so i experimented this code. and it compiles fine. but i didn't tried the code. so you can try this if this works. please reply back

pawn Код:
#define COLOR_VIP "{B2FFFF}"
#define COLOR_WHITE "{FFFFFF}"
new IsVIP[] = ""COLOR_VIP"[VIP]";
//
new string[128], playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
//
if(pInfo[playerid][pVipLevel] >= 1)
{
    format(string, sizeof(string), "%s %s (%d): "COLOR_WHITE"%s ",IsVIP,playername,playerid,text);
    SendClientMessageToAll(GetPlayerColor(playerid), string);
    return 0;
}
Reply


Messages In This Thread
GetPlayerColor - by Blackazur - 16.03.2013, 15:44
Re: GetPlayerColor - by Patrick - 16.03.2013, 16:04
AW: GetPlayerColor - by Blackazur - 16.03.2013, 16:06
Re: GetPlayerColor - by Patrick - 16.03.2013, 16:08
Re: GetPlayerColor - by Denying - 16.03.2013, 16:09
Re: GetPlayerColor - by Patrick - 16.03.2013, 16:12
Re: GetPlayerColor - by Vince - 16.03.2013, 16:35

Forum Jump:


Users browsing this thread: 2 Guest(s)