I need help FAST! xD
#1

Hello,

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))]);
}
But of course I get an error

Код:
(226) : error 035: argument type mismatch (argument 1)
Line 226 is this one
Код:
TextDrawShowForAll(RandomMessages[random(sizeof(RandomMessages))]);
[size=40pt]Please help me otherwise I'll die
Reply


Messages In This Thread
I need help FAST! xD - by stieben - 24.02.2009, 16:45
Re: I need help FAST! xD - by pspleo - 24.02.2009, 16:47
Re: I need help FAST! xD - by stieben - 24.02.2009, 17:03
Re: I need help FAST! xD - by [RP]Rav - 24.02.2009, 17:05

Forum Jump:


Users browsing this thread: 1 Guest(s)