16.03.2013, 16:04
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;
}