24.02.2009, 16:05
Hello,
I have this code right here:
I get this error:
I have this code right 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,"BlaBlaUUUUH"); //here I got everything that belonges to Textdraw0 Textdraw1 = TextDrawCreate(187.000000,418.000000,"BlaBlaShittyBla"); //here I got everything that belonges to Textdraw1 public TextDrawMessageTimer() { TextDrawShowForAll(RandomMessages[random(sizeof(RandomMessages))]); <------- Line 226 }
Код:
(226) : error 035: argument type mismatch (argument 1)code] Please somebody help me :o