Problema la compilare
#1

error 008: must be a constant expression; assumed zero
si
error 029: invalid expression, assumed zero

Linia cu eroare :
};

Liniile :
//================================================== ============================
new rMessageList[][] = {
"{CCFF99}[INFO]:{FFFFFF} text!.",
"{CCFF99}[INFO]:{FFFFFF} text",
"{CCFF99}[INFO]:{FFFFFF}text.",
"{CCFF99}[INFO]:{FFFFFF} text",
"{CCFF99}[INFO]:{FFFFFF} text.",
"{CCFF99}[INFO]:{FFFFFF} text.",
};
new rCheckList[sizeof(rMessageList)];
Reply
#2

Ma ajuta cineva!? ..
Reply
#3

In primul rand fara acel egal si 2 nu le-ai scris bine. Revin cu reply cu un link de ajutor.
Reply
#4

aici nu este nici-o greseala...atruncati o privire unde il folositi acest cod
Reply
#5

Ultimul element dintr-o matrice nu trebuie sa aibe ","(virtula), din acest motiv compilatorul tipa.

Код:
new rMessageList[][] = {
"{CCFF99}[INFO]:{FFFFFF} text!.",
"{CCFF99}[INFO]:{FFFFFF} text",
"{CCFF99}[INFO]:{FFFFFF}text.",
"{CCFF99}[INFO]:{FFFFFF} text",
"{CCFF99}[INFO]:{FFFFFF} text.",
"{CCFF99}[INFO]:{FFFFFF} text.",
};
new rCheckList[sizeof(rMessageList)];
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)