Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Contixo poslato Maj 24, 2012, 16:56:12 POSLE PODNE

Naslov: [Pomoć] Error - Poruke
Poruka od: Contixo poslato Maj 24, 2012, 16:56:12 POSLE PODNE
Skripta koju koristim: LB
Detaljan opis problema: Error - poruke.
Dio skripte: (12110) : error 017: undefined symbol "RandomMessages"
(12110) : error 017: undefined symbol "RandomMessages"
(12110) : error 029: invalid expression, assumed zero
(12110) : fatal error 107: too many error messages on one line


Evo linije :

public RandomMessage()
{
        TextDrawSetString(Textdraw0, RandomMessages[random(sizeof(RandomMessages))]);
        return 1;
}


Kada idem #define RandomMessage izbaci opet 4 errora te to ne pomaže. Help.
Neke slike/video za lakse dobivanje pomoci(neobavezno): /

Naslov: Odg: [Pomoć] Error - Poruke
Poruka od: [ПГ]Душан poslato Maj 24, 2012, 16:58:17 POSLE PODNE
nisi definao RandomMesages
Naslov: Odg: [Pomoć] Error - Poruke
Poruka od: Contixo poslato Maj 24, 2012, 17:25:14 POSLE PODNE
Kada idem #define RandomMessage izbaci opet 4 errora te to ne pomaže.
Naslov: Odg: [Pomoć] Error - Poruke
Poruka od: Danijel96.pwn poslato Maj 24, 2012, 17:51:12 POSLE PODNE
new RandomMessages[][] =
{
    "TEXT.",
};
Naslov: Odg: [Pomoć] Error - Poruke
Poruka od: [BUN]Lukas poslato Maj 24, 2012, 21:35:59 POSLE PODNE
new RandomMessages[][] =
{
    "Text",
   
"Text"
};