Karuzo Posted January 30, 2014 Share Posted January 30, 2014 Hey Guys, so i have a problem with NoneAtMe's house system. i get an error if i want to buy a house. This is the Error: This is the Server.lua : http://pastebin.com/EWgDUDTB I hope you can help me Link to comment
xXMADEXx Posted January 30, 2014 Share Posted January 30, 2014 Try putting this on line 581: local query = dbQuery(handler, "UPDATE houses SET ?=? WHERE ID =?", tostring ( saveableValues[typ] ), tostring ( value ), tostring ( id ) ) If it doesn't work try this: local query = dbQuery(handler, "UPDATE houses SET "..tostring ( saveableValues[typ] ).."=? WHERE ID =?", tostring ( value ), tostring ( id ) ) Link to comment
Karuzo Posted January 30, 2014 Author Share Posted January 30, 2014 Hi xXMADExx, thank you for your help at first! The error has been gone now but now i've got another problem : it doesnt't show the owner and something like that.. I just want it that he takes the Account Name as Owner. And not the playername , so users can't steal houses if they just change their name. Error : Server: http://pastebin.com/pxRbw55D Client : http://pastebin.com/c8d1NRvJ I hope you can help me:-) Link to comment
xXMADEXx Posted January 30, 2014 Share Posted January 30, 2014 Well the thing with this house system is that it's all bugged, everywhere I look. I'm not really sure if it's even worth trying to fix, the developer should've taken more time to script it. You might just wanna try out one of these scripts: https://community.multitheftauto.com/ind ... ls&id=5525 https://community.multitheftauto.com/ind ... ls&id=1841 Link to comment
Karuzo Posted January 30, 2014 Author Share Posted January 30, 2014 Thank you , but i always need to set a new dimension ? (I mean the first script.) 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