[Solved] tag mismatch
#1

pawn Код:
// lots of code
enum KMOraEnum { csik, benzin, sebesseg, szazmeter, kilometer };
new Text:kmora[MAX_VEHICLES][KMOraEnum];
// lots of code
public OnVehicleSpeedChange(vehicleid, newspeed, oldspeed)
{
    if (GetPlayerVehicleID(veh[vehicleid][0]) == vehicleid)
    {
        new sbsg[10];
        format(sbsg, sizeof(sbsg), "%d km/h", newspeed);
        TextDrawSetString(kmora[vehicleid][sebesseg], sbsg); // line 149
    if (newspeed > 50)
        {
            if (newspeed > 80)
            {
                TextDrawColor(kmora[vehicleid][sebesseg], 0xff0000cc); // line 154
        }
        else
        {
             TextDrawColor(kmora[vehicleid][sebesseg], 0xffff00cc); // line 158
            }
        }
        else
        {
            TextDrawColor(kmora[vehicleid][sebesseg], 0xffffffcc); // line 163
        }
    }
}
// .........rest of code....
Quote:

L:\dir\gm.pwn(149) : warning 213: tag mismatch
L:\dir\gm.pwn(154) : warning 213: tag mismatch
L:\dir\gm.pwn(15 : warning 213: tag mismatch
L:\dir\gm.pwn(163) : warning 213: tag mismatch

Why? I don't get it... please help
Reply


Messages In This Thread
[Solved] tag mismatch - by KoczkaHUN - 20.05.2011, 14:44
Re: [helpme] tag mismatch - by KoczkaHUN - 20.05.2011, 14:46

Forum Jump:


Users browsing this thread: 1 Guest(s)