- 0
Bug
-
Similar Content
-
- 4 replies
- 306 views
-
- 9 replies
- 343 views
-
- 1 reply
- 289 views
-
- 2 answers
- 475 views
-
- 3 replies
- 408 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Shad0wdpbgd
Salut, stie cineva de ce am acest bug? adica imi pune in baza de date insurancepoints -1 chiar daca eu am pus sa dea --...
if(vehicle_personal[vehicleid] > -1)
{
new id = vehicle_personal[vehicleid];
PersonalVehicle[id][pvInsurancePoints] --;
SCMF(id, -1, "DEBUG: %d", PersonalVehicle[id][pvInsurancePoints]);
gQuery[0] = (EOS);
mysql_format(SQL, gQuery, sizeof(gQuery), "UPDATE `server_personal_vehicles` SET `InsurancePoints` = '%d' WHERE `ID` = '%d'", PersonalVehicle[id][pvInsurancePoints], PersonalVehicle[id][pvID]);
mysql_tquery(SQL, gQuery, "", "");
}
si la debug scrie tot aia : -1
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.