Tag Mismatch - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Tag Mismatch (
/showthread.php?tid=189384)
Tag Mismatch -
Gforcez - 11.11.2010
Hello,
i have a little problem
Iam creating a Cell-Phone system for a Server, But i have a little problem with the textdraws:
i have 8 Textdraws, This is one of them:
Код:
Phone_Textdraws[3] = TextDrawCreate(427.000000, 399.000000, "1 2 3");
TextDrawBackgroundColor(Phone_Textdraws[3], 255);
TextDrawFont(Phone_Textdraws[3], 1);
TextDrawLetterSize(Phone_Textdraws[3], 0.400000, 1.000000);
TextDrawColor(Phone_Textdraws[3], -1);
TextDrawSetOutline(Phone_Textdraws[3], 1);
TextDrawSetProportional(Phone_Textdraws[3], 1);
But its says on everytextdraw at every line: Text Mismatch, Does anyone see the problem ?
Greetings,
Gforcez
PS: Sorry for bad english, Iam dutch
Re: Tag Mismatch -
Hiddos - 11.11.2010
Have you created the textdraws as:
pawn Код:
new Text:Phone_Textdraws[amount];
Because Textdraws use one of these variable identifying things (As I call em)
Re: Tag Mismatch -
Gforcez - 11.11.2010
Quote:
Originally Posted by Hiddos
Have you created the textdraws as:
pawn Код:
new Text:Phone_Textdraws[amount];
Because Textdraws use one of these variable identifying things (As I call em)
|
Thanks!!!! i forgot the Text: part xD
Silly me :S