[04:23:22] [debug] Run time error 4: "Array index out of bounds"
[04:23:22] [debug] Accessing element at index 612 past array upper bound 611
[04:23:22] [debug] AMX backtrace:
[04:23:22] [debug] #0 0009beec in saveDealer (id=612) at C:\Users\SakaLuX\Downloads\samp\gamemode.pwn:11258
[04:23:22] [debug] #1 001adbb4 in public SaveData () at C:\Users\SakaLuX\Downloads\samp\gamemode.pwn:31283
Astea sunt erorile pe care le primesc in server_log.cfg. Urmeaza sa va arat si liniile
saveDealer
format(szLargeString, sizeof(szLargeString), "UPDATE dealer SET stock = '%d', Price = '%d', Pprice = '%d', name = '%s' WHERE carID = '%d'", vehSlots[id],vehPrice[id],vehPprice[id],vehName[id],id);
Asta e linia cu probleme iar mai jos in spoiler aveti tot ce va trebuie!
SaveData
saveDealer(ff);
Asta e linia cu probleme iar mai jos in spoiler aveti tot ce va trebuie!
Daca va intereseaza si un log de la mysql aveti mai jos