Jump to content

House System error


Karuzo

Recommended Posts

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

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 : 6pa1.png

Server:

http://pastebin.com/pxRbw55D

Client :

http://pastebin.com/c8d1NRvJ

I hope you can help me:-)

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...