03.03.2010, 13:22
Errors:
Line 4096 - 4115
Other lines:
Quote:
C:\Users\Hampus\Desktop\Freeroam 3.8\gamemodes\freeroam.pwn(4100) : error 029: invalid expression, assumed zero C:\Users\Hampus\Desktop\Freeroam 3.8\gamemodes\freeroam.pwn(4100) : warning 215: expression has no effect C:\Users\Hampus\Desktop\Freeroam 3.8\gamemodes\freeroam.pwn(4100) : error 001: expected token: ";", but found ")" C:\Users\Hampus\Desktop\Freeroam 3.8\gamemodes\freeroam.pwn(4100) : error 029: invalid expression, assumed zero C:\Users\Hampus\Desktop\Freeroam 3.8\gamemodes\freeroam.pwn(4100) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
pawn Код:
public GlobalAnnouncement()
{
switch (Msg)
{
case 0: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[0]); Msg++;} // first message
case 1: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[1]); Msg++;}
case 2: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[2]); Msg++;}
case 3: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[3]); Msg++;}
case 4: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[4]); Msg++;}
case 5: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[5]); Msg++;}
case 6: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[6]); Msg++;}
case 7: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[7]); Msg++;}
case 8: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[8]); Msg++;}
case 9: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[9]); Msg++;}
case 10: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[10]); Msg++;}
case 11: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[11]); Msg++;}
case 12: {SendClientMessageToAll(ANNOUNCEMENT,Announcements[12]); Msg = 0;} // last message
}
return 1;
}
Other lines:
pawn Код:
forward GlobalAnnouncement();
new Msg;
new Announcements[13][128] = {
"[NEWS] My message"
"[NEWS] My message"
"[NEWS] My message"
"[NEWS] My message"
"[NEWS] My message"
"[NEWS] My message"
"[NEWS] My message"
"[NEWS] My message"
"[NEWS] My message"
"[NEWS] My message"
"[NEWS] My message"
"[NEWS] My message"
"[NEWS] My message"
};