CreateDynamic3DTextLabel tag mismatch -
CalvinC - 11.01.2015
Im getting tag mismatch on this:
pawn Код:
TaxidutyLabel[vehicleid] = Text3D:CreateDynamic3DTextLabel("** The taxi sign is shining with a yellow light **", COLOR_JOB_TAXI, 0.0, 0.0, 0.0, 20.0, 0, 1);
I've tried for very long to get this to work, can anyone see what's wrong with it?
And also, is the Text3D: needed? Im getting tag mismatch no-matter if i remove it or not.
Re: CreateDynamic3DTextLabel tag mismatch -
Ahmad45123 - 11.01.2015
The var has to be Text3D
pawn Код:
new Text3D:TaxidutyLabel[MAX_VEHICLES];
TaxidutyLabel[vehicleid] = CreateDynamic3DTextLabel("** The taxi sign is shining with a yellow light **", COLOR_JOB_TAXI, 0.0, 0.0, 0.0, 20.0, 0, 1);
Re: CreateDynamic3DTextLabel tag mismatch -
Write - 11.01.2015
pawn Код:
TaxidutyLabel[vehicleid] = Text3D:CreateDynamic3DTextLabel("** The taxi sign is shining with a yellow light **", COLOR_JOB_TAXI, 0.0, 0.0, 0.0, 20.0, 0, 1, 0, -1, -1, -1, 100.0);
try this
Re: CreateDynamic3DTextLabel tag mismatch -
CalvinC - 11.01.2015
Thank you Ahmad, i misunderstood the use of Text3D:
But now im getting tag mismatches from this:
pawn Код:
TaxidutyLabel[vehicleid] = 1;
And this:
pawn Код:
if(TaxidutyLabel[vehicleid] == 1)
Re: CreateDynamic3DTextLabel tag mismatch -
spedico - 11.01.2015
Why are you setting it to '1'? I think you should make one variable for the Text3D itself, and one for checking whatever you are trying to check.
Re: CreateDynamic3DTextLabel tag mismatch -
CalvinC - 11.01.2015
That's fixed it, thanks spedico.
I used the same variable when i used normal textlabels so i assumed i could with dynamics too.