24.02.2009, 16:45
Hello,
I have this code here:
But of course I get an error
Line 226 is this one
[size=40pt]Please help me otherwise I'll die
I have this code here:
Код:
#include <a_samp> #define FILTERSCRIPT #if defined FILTERSCRIPT forward TextDrawMessageTimer(); new RandomMessages[][] = { "Textdraw0","Textdraw1" }; new Text:Textdraw0; new Text:Textdraw1; public OnFilterScriptInit() { SetTimer("TextDrawMessageTimer",120000,1); Textdraw0 = TextDrawCreate(187.000000,418.000000"BLAAA!"); //All 'shit' that belonges to Textdraw0 Textdraw1 = TextDrawCreate(187.000000,418.000000,"BLA!"); //All 'shit' that belonges to Textdraw1 public TextDrawMessageTimer() { TextDrawShowForAll(RandomMessages[random(sizeof(RandomMessages))]); }
Код:
(226) : error 035: argument type mismatch (argument 1)
Код:
TextDrawShowForAll(RandomMessages[random(sizeof(RandomMessages))]);