Quote:
Originally Posted by Seif_
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 = 0;} // last message } return 1; }
|
Oh..Uhm mind i ask what was actualy wrong?
EDIT:
Still have the same error.