19.06.2011, 01:55
pawn Код:
format(Query, sizeof(Query), "SELECT * FROM `VEHICLES` WHERE `CARID` = '%d'", cID);
Result = db_query(Database,Query);
if(db_num_rows(Result))
{
new Field[20];
db_get_field_assoc(Result, "CARID", Field, 30);
gVehicleData[cID][E_CARID] = strval(Field);
}