Tag mismatch , i hate this shit !!
#1

PHP код:
    new Float:xFloat:yFloat:zFloat:a;
    new 
carid Car_Nearest(playerid);
    new 
id Car_GetID(vehicleid);
    new 
Float:vHealth;
    new 
veh;
    
veh GetPlayerVehicleID(playerid);
    
GetVehicleHealth(vehvHealth);
    
GetVehiclePos(vehicleid,x,y,z);
    
GetVehicleZAngle(vehicleid,a);
    
CarData[carid][carPos][0] = x;
    
CarData[carid][carPos][1] = y;
    
CarData[carid][carPos][2] = z;
    
CarData[carid][carPos][3] = a;
    
CarData[carid][carHealth] = vHealth//ERROR TAG MISMATCH !!!!!!!
    
Car_Save(id);
    
SQL_SaveCharacter(playerid);
    return 
1;

CarData[carid][carHealth] = vHealth; error tag mismatch here -.-


PHP код:
        CarData[i][carExists] = true;
        
CarData[i][carID] = cache_get_field_int(i"carID");
        
CarData[i][carModel] = cache_get_field_int(i"carModel");
        
CarData[i][carOwner] = cache_get_field_int(i"carOwner");
        
CarData[i][carPos][0] = cache_get_field_float(i"carPosX");
        
CarData[i][carPos][1] = cache_get_field_float(i"carPosY");
        
CarData[i][carPos][2] = cache_get_field_float(i"carPosZ");
        
CarData[i][carPos][3] = cache_get_field_float(i"carPosR");
        
CarData[i][carColor1] = cache_get_field_int(i"carColor1");
        
CarData[i][carColor2] = cache_get_field_int(i"carColor2");
        
CarData[i][carPaintjob] = cache_get_field_int(i"carPaintjob");
        
CarData[i][carLocked] = cache_get_field_int(i"carLocked");
        
CarData[i][carImpounded] = cache_get_field_int(i"carImpounded");
        
CarData[i][carImpoundPrice] = cache_get_field_int(i"carImpoundPrice");
        
CarData[i][carFaction] = cache_get_field_int(i"carFaction");
           
CarData[i][carFuel] = cache_get_field_int(i"carFuel");
        
CarData[i][carHealth] = cache_get_field_float(i"carHealth"); // AND OTHER HERE 
CarData[i][carHealth] = cache_get_field_float(i, "carHealth"); AND HERE WTF? ITS CTRL + C FROM THE OTHER , I DONT UNDERSTAND WHY ((: HELP
Reply


Messages In This Thread
Tag mismatch , i hate this shit !! - by R3SpaWn0 - 01.08.2018, 17:09
Re: Tag mismatch , i hate this shit !! - by KinderClans - 01.08.2018, 17:11
Re: Tag mismatch , i hate this shit !! - by R3SpaWn0 - 01.08.2018, 17:17
Re: Tag mismatch , i hate this shit !! - by Yuri8 - 01.08.2018, 17:19
Re: Tag mismatch , i hate this shit !! - by R3SpaWn0 - 01.08.2018, 17:21

Forum Jump:


Users browsing this thread: 1 Guest(s)