15.03.2013, 09:38
pawn Код:
switch(PlayerInfo[playerid][pAccent])
{
if(PlayerInfo[playerid][pMaskuse] != 1) // 68 error line
{
case 0, 1://70 error line
{
format(string, sizeof(string), "%s says: %s", sendername, text);
ProxDetector(20.0, playerid,string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
}
pawn Код:
(74768) : error 002: only a single statement (or expression) can follow each "case"
(74768 -- 74769) : error 029: invalid expression, assumed zero
(74770) : error 014: invalid statement; not in switch
(74770) : warning 215: expression has no effect
(74770) : warning 215: expression has no effect
(74770) : error 001: expected token: ";", but found ":"
(74770) : error 029: invalid expression, assumed zero
(74770) : fatal error 107: too many error messages on one line