20.05.2018, 04:26
(
Последний раз редактировалось Filbert; 20.05.2018 в 05:03.
)
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;
}
Код:
D:\SA-MP Servers\TestServer\Gamemodes\TestServer.pwn(71) : warning 201: redefinition of constant/macro (symbol "white1") D:\SA-MP Servers\TestServer\Gamemodes\TestServer.pwn(2160) : error 017: undefined symbol "stringbig" D:\SA-MP Servers\TestServer\Gamemodes\TestServer.pwn(2160) : warning 215: expression has no effect D:\SA-MP Servers\TestServer\Gamemodes\TestServer.pwn(2160) : error 001: expected token: ";", but found "]" D:\SA-MP Servers\TestServer\Gamemodes\TestServer.pwn(2160) : error 029: invalid expression, assumed zero D:\SA-MP Servers\TestServer\Gamemodes\TestServer.pwn(2160) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.