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)
+--- Thread: Tag Mismatch (
/showthread.php?tid=339557)
Tag Mismatch -
Abreezy - 04.05.2012
What's wrong with this code..
pawn Код:
Houses[Total_Houses_Created][LabelID] = CreateDynamic3DTextLabel(string, COLOR_WHITE, Houses[Total_Houses_Created][enterx],Houses[Total_Houses_Created][entery],Houses[Total_Houses_Created][enterz], 100, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0);
I spent some time, and I can't figure out whats wrong
Re: Tag Mismatch -
ViniBorn - 04.05.2012
enterx , entery, enterz are Float?
Re: Tag Mismatch -
Abreezy - 04.05.2012
Yes, they are floats.
Re: Tag Mismatch -
JaKe Elite - 04.05.2012
is Houses[Total_Houses_Created][LabelID] are Text3D:
EDIT:
if your LabelID doesn't have Text3D: infront add it something like this
pawn Код:
enum hInfo
{
Text3D:LabelID
};
new Houses[MAX_HOUSES][hInfo];
Re: Tag Mismatch -
Abreezy - 04.05.2012
Quote:
Originally Posted by Romel
is Houses[Total_Houses_Created][LabelID] are Text3D:
|
Extreme newbie mistake, thank you for this.
Re: Tag Mismatch -
JaKe Elite - 04.05.2012
Quote:
Originally Posted by Abreezy
Extreme newbie mistake, thank you for this.
|
No problem