Load vehicle sqlite problem
#2

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);
}
I usally do it like this, I have never used your way of loading before though mine works perfectly
Reply


Messages In This Thread
Load vehicle sqlite problem - by =WoR=Varth - 19.06.2011, 00:58
Re: Load vehicle sqlite problem - by Lorenc_ - 19.06.2011, 01:55
Re: Load vehicle sqlite problem - by =WoR=Varth - 19.06.2011, 02:23
Re: Load vehicle sqlite problem - by Benjo - 19.06.2011, 02:31
Re: Load vehicle sqlite problem - by =WoR=Varth - 22.06.2011, 22:19

Forum Jump:


Users browsing this thread: 2 Guest(s)