Jump to content

Vehicle-system


denyk

Recommended Posts

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 post

[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 post

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 post

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 post
  • DNL291 locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...