denyk Posted July 19, 2019 Share Posted July 19, 2019 Hello, i have big problem with my script when im in vehlib and i edit car i want to save my car but it says this: [main]/mysql/connection.Lua:206: bad argument #2 to 'mysql_escape_string' (string expected, got boolean)[10:08:27] ERROR: [main]/savevehicle-system/s_savevehicle_system.Lua:49: call: failed to call 'mysql:escape_string' [string "?"][10:08:27] ERROR: [main]/savevehicle-system/s_savevehicle_system.Lua:62: attempt to concatenate a boolean value[10:08:27] ERROR: [main]/vehicle-system/s_vehicle_system.Lua:583: call: failed to call 'savevehicle-system:saveVehicle' [string "?"][10:08:27] ERROR: [main]/vehicle-system/s_vehicle_system.Lua:903: attempt to compare number with nil[10:08:27] ERROR: [main]/vehicle-manager/vehicle-handling-editor/s_handling_system.Lua:358: call: failed to call 'vehicle-system:reloadVehicle' [string "?"][10:08:27] ERROR: [main]/vehicle-manager/vehicle-handling-editor/s_handling_system.Lua:366: exports: Call to non-running server resource (logs) [string "?"] Can you someone help me with this, my handling won't to save and when i buy that car it have normal handling but not from vehlib Link to comment
salh Posted July 19, 2019 Share Posted July 19, 2019 [main]/mysql/connection.Lua:206: bad argument #2 to 'mysql_escape_string' (string expected, got boolean) here say : the cod need string you put boolean boolean = true & false string = text Link to comment
denyk Posted July 19, 2019 Author Share Posted July 19, 2019 I dont know what u mean, what i have to change like boolean use for true & false, and the text in the string what text u mean , please can u send me how it have to looks like? Thank you Link to comment
Dimos7 Posted July 19, 2019 Share Posted July 19, 2019 Go tou the script folder find the script has the error and look for that line and change that line to be a text using tostring or idk for make it strings text and not a boolen Link to comment
salh Posted July 20, 2019 Share Posted July 20, 2019 Give us the code if you want us help you? Link to comment
DNL291 Posted July 21, 2019 Share Posted July 21, 2019 I'm locking this topic as the posted code/log clearly shows the same structure and resources of a leaked gamemode. Horewer, If you are sure that this is not the case and you want to prove otherwise you still can contact me via PM @denyk. Link to comment
Recommended Posts