PHP код:
if(PlayerInfo[playerid][VIP] == 0)
{
new string[128]; GetPlayerName(playerid,string,sizeof(string)); stringbig[128]; //<<< Line 2160
format(stringbig,sizeof(stringbig),"{%06x}%s{FFFFFF}(%d): %s",GetPlayerColor(playerid) >>> 8,string,playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid),stringbig);
format(stringbig, sizeof(stringbig), "02[%d] 07%s: %s", playerid, string, text);
IRC_GroupSay(gGroupID,IRC_CHANNEL,stringbig);
format(stringbig,MAX_CHATBUBBLE_LENGTH,"Says: %s",text);
SetPlayerChatBubble(playerid,stringbig,MESSAGE_COLOR,35.0,10000);
return 0;
}
if(PlayerInfo[playerid][VIP] >= 1)
{
new string[128]; GetPlayerName(playerid,string,sizeof(string)); stringbig[128];
format(stringbig,sizeof(stringbig),"{00FF00}[VIP]{%06x}%s{FFFFFF}(%d): %s",GetPlayerColor(playerid) >>> 8,string,playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid),stringbig);
format(stringbig, sizeof(stringbig), "02[%d] 07%s: %s", playerid, string, text);
IRC_GroupSay(gGroupID,IRC_CHANNEL,stringbig);
format(stringbig,MAX_CHATBUBBLE_LENGTH,"Says: %s",text);
SetPlayerChatBubble(playerid,stringbig,MESSAGE_COLOR,35.0,10000);
return 0;
}
if(PlayerInfo[playerid][VIP] >= 1 && PlayerInfo[playerid][Level] >= 6)
{
new string[128]; GetPlayerName(playerid,string,sizeof(string)); stringbig[128];
format(stringbig,sizeof(stringbig),"{00FF00}[VIP]{%06x}%s{FFFFFF}(%d): {FFFF00}%s",GetPlayerColor(playerid) >>> 8,string,playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid),stringbig);
format(stringbig, sizeof(stringbig), "02[%d] 07%s: %s", playerid, string, text);
IRC_GroupSay(gGroupID,IRC_CHANNEL,stringbig);
format(stringbig,MAX_CHATBUBBLE_LENGTH,"Says: %s",text);
SetPlayerChatBubble(playerid,stringbig,MESSAGE_COLOR,35.0,10000);
return 0;
}