How to make buyable interiors system?
#3

Add an "interiorid" to your enum, this will save the interiorid per house.
In your MySQL database add column "interiorid" and add a dialog with a list of available interiors which will open somehow(by command /interiors or something), check if he owns a house and give him numerous options, when he choose one, find the option and save to your database as ID of the interior he chose.
After then, when wants to enter the house, fetch the interior id from the arrays and depend on it set his position.

If so what, feel free to ask.
Reply


Messages In This Thread
How to make buyable interiors system? - by finelaq - 10.08.2014, 11:01
Re: How to make buyable interiors system? - by finelaq - 10.08.2014, 17:46
Re: How to make buyable interiors system? - by Kaperstone - 10.08.2014, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)