Jump to content

debug


Recommended Posts

debug: attempt to concatenate local 'eCarRZ' ( a nil value )
 

function createHouse( add, ID, owner, key, eX, eY, eZ, etX, etY, etZ, exX, exY, exZ, extX, extY, extZ, int, dim, cost, nameclass, room, username, eCarX, eCarY, eCarZ, eCarRX, eCarRY, eCarRZ )
  if not username then
    username = "-"
  end
  if add then
    --в этой строке ошибка ( в конце ..eCarRZ.. )
    sql.Query( "INSERT INTO house_data ( ID, en_X, en_Y, en_Z, en_tX, en_tY, en_tZ, ex_X, ex_Y, ex_Z, ex_tX, ex_tY, ex_tZ, int, dim, cost, owner, key, nameclass, room, username, eCarX, eCarY, eCarZ, eCarRX, eCarRY, eCarRZ ) VALUES ( "..ID..", "..eX..", "..eY..", "..eZ..", "..etX..", "..etY..", "..etZ..", "..exX..", "..exY..", "..exZ..", "..extX..", "..extY..", "..extZ..", "..int..", "..dim..", "..cost..", '','', \""..nameclass.."\",  "..room..", \""..username.."\", "..eCarX..", "..eCarY..", "..eCarZ..", "..eCarRX..", "..eCarRY..", "..eCarRZ.." )" );                                                                 
  end;

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...