mysql_query error, HELP PLS
#1

Код:
public AutoSaveVehicles()
{
    //new Query[400];
    new save[400];
    for(new id; id < MAX_CARS; id++)
    {
		new Float:health;
  		GetVehicleHealth(id, health);
  		Vehicles[id][Damage] = floatround(health);
        format(save, sizeof(save), "UPDATE Vehicles SET Fuel = %d, Damage = %d WHERE SQLID = %d",

									Vehicles[id][Fuel],
									Vehicles[id][Damage],
									id);
		mysql_query(save);
    }
	return 1;
}
Error Code:
Код:
error 035: argument type mismatch (argument 1)
Help me pls, i dont have good idea :/
Reply


Messages In This Thread
mysql_query error, HELP PLS - by kexy96 - 25.11.2014, 08:15
Re: mysql_query error, HELP PLS - by Jonesy96 - 25.11.2014, 08:38
Re : mysql_query error, HELP PLS - by LaPiMoNsTeR - 25.11.2014, 08:46
Re: mysql_query error, HELP PLS - by kexy96 - 25.11.2014, 08:47
Re: mysql_query error, HELP PLS - by kexy96 - 25.11.2014, 08:49
Re: mysql_query error, HELP PLS - by dusk - 25.11.2014, 08:55
Re: mysql_query error, HELP PLS - by kexy96 - 25.11.2014, 09:03
Re: mysql_query error, HELP PLS - by kexy96 - 25.11.2014, 09:08

Forum Jump:


Users browsing this thread: 2 Guest(s)