Garage owner not saving
#1

SOLVED
Reply
#2

Up please I really can't understand why garage owner is not saving
Reply
#3

It isn't changing because you are reading it wrongly.

show enum of garage..
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)