Garage owner not saving
#4

No no i solved it, it was a fail from me
Quote:

format(sql, sizeof(sql), "UPDATE `garages` SET `proprio`= '%s' WHERE `id` = %d",GarageInfo[g][gOwner],g);

had to be:
Quote:

format(sql, sizeof(sql), "UPDATE `garages` SET `proprio`= '%s' WHERE `id` = %d",GarageInfo[g][gOwner],g+1);

it works like charm now
Reply


Messages In This Thread
Garage owner not saving - by nicolaskettler - 04.12.2013, 11:49
Re : Garage owner not saving - by nicolaskettler - 04.12.2013, 19:32
Re: Garage owner not saving - by Scrillex - 04.12.2013, 19:51
Re : Garage owner not saving - by nicolaskettler - 04.12.2013, 20:12

Forum Jump:


Users browsing this thread: 2 Guest(s)