Tag Mismatch
#1

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
Reply
#2

show us line
15282
15283
Reply
#3

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);
Reply
#4

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);
    }
Reply
#5

Fantastic! Works Great!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)