25.11.2014, 08:15
Код:
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 035: argument type mismatch (argument 1)