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=190163)
Tag Mismatch -
lewismichaelbbc - 14.11.2010
pawn Код:
C:\Users\Lewis Ryan\Desktop\Roleplay Server Backup\gamemodes\sarp.pwn(15282) : warning 213: tag mismatch
C:\Users\Lewis Ryan\Desktop\Roleplay Server Backup\gamemodes\sarp.pwn(15283) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
They are the errors, here is the script:
On Game Mode Init
pawn Код:
new Text:VehicleLicense[MAX_VEHICLES];
for(new vehid; vehid < MAX_VEHICLES; vehid++){
new message[128];
format(message,sizeof(message), "%i", vehid);
VehicleLicense[vehid] = Create3DTextLabel(message, COLOR_LIGHTBLUE, 0.0, 0.0, 0.0, 50.0, 0, 0);
Attach3DTextLabelToVehicle(VehicleLicense[vehid], vehid, 0.0, 0.0, 2.0);
}
How can i fix this problem?
Thank You For Your Help
Re: Tag Mismatch -
dark_clown - 14.11.2010
show us line
15282
15283
Re: Tag Mismatch -
lewismichaelbbc - 14.11.2010
Line 15282:
pawn Код:
VehicleLicense[vehid] = Create3DTextLabel(message, COLOR_LIGHTBLUE, 0.0, 0.0, 0.0, 50.0, 0, 0);
Line 15283:
pawn Код:
Attach3DTextLabelToVehicle(VehicleLicense[vehid], vehid, 0.0, 0.0, 2.0);
Re: Tag Mismatch -
Bessensap - 14.11.2010
pawn Код:
new Text3D:VehicleLicense[MAX_VEHICLES];
for(new vehid; vehid < MAX_VEHICLES; vehid++){
new message[128];
format(message,sizeof(message), "%i", vehid);
VehicleLicense[vehid] = Create3DTextLabel(message, COLOR_LIGHTBLUE, 0.0, 0.0, 0.0, 50.0, 0, 0);
Attach3DTextLabelToVehicle(VehicleLicense[vehid], vehid, 0.0, 0.0, 2.0);
}
Re: Tag Mismatch -
lewismichaelbbc - 14.11.2010
Fantastic! Works Great!