Markn1 Posted December 29, 2018 Share Posted December 29, 2018 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
長瀞早瀬 Posted December 30, 2018 Share Posted December 30, 2018 Смотри передается ли параметр eCarRZ при вызове. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now