Tag Mismatch
#2

try this

Code:
function Vehicle_Load()
{
        new rows = cache_get_row_count(VDatabase); //<-- warning 213: tag mismatch
        if(rows != 0)
        {
            forex(row,rows)
            {
                new vehicleid = cache_get_value_int(rows, VDatabase); //<-- warning 213: tag mismatch
                new ORM:ormid = ServerVehicle[vehicleid][ORM_ID] = orm_create("server_vehicles");
Code:
case 2:
                    {
                    if(IsNull(string)) return SEM(playerid,"<USAGE>: /vehicle delete [vehicleid]");
                    new vehicleid = strval(string);
                    if(Iter_Contains(Vehicles,vehicleid))
                    {
                    format(string,sizeof(string),"<VEHICLEINFO>: {ffffff}(Server) Vehicle with {ffff00}id %d {ffffff}has been deleted!",vehicleid);
                    SendClientMessage(playerid,COLOR_LIGHTBLUE,string);
                    DestroyVehicle(VehicleID[vehicleid]);
                    orm_delete(ServerVehicle[vehicleid][ORM_ID]); //<-- error 035: argument type mismatch (argument 2)                    
                    Iter_Remove(Vehicles,vehicleid);
                    }
                    else SEM(playerid,"<ERROR>: Invalid vehicleid !");
                    }
Reply


Messages In This Thread
Tag Mismatch - by yvoms - 15.06.2017, 23:27
Re: Tag Mismatch - by NewFreeroamStunt - 16.06.2017, 04:31
Re: Tag Mismatch - by CheezIt - 16.06.2017, 04:42
Re: Tag Mismatch - by Konstantinos - 17.06.2017, 22:42
Re: Tag Mismatch - by yvoms - 21.06.2017, 12:28
Re: Tag Mismatch - by Konstantinos - 21.06.2017, 13:08
Re: Tag Mismatch - by yvoms - 21.06.2017, 18:14
Re: Tag Mismatch - by yvoms - 22.06.2017, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)