Hey,
I've made houses in my game for the new update coming,
And its working great, People can buy them, Only enter if they are the owner, Or if the owner has given them a key to it.
BUT!
I want to make a shop..
To sell players stuff for there houses,
I know how to do that but heres the big problem,
If someone gets into their house, They will be able to pic up their obj's they have placed down (Chairs, tables etc)
Is there a way only the OWNER of that obj can pic it up?
Please help me with this!
And reply ASAP.
Thanks,
- Bevan
ID:165229
Feb 4 2007, 6:31 am
|
|
Feb 4 2007, 7:14 am
|
|
Basically under the pickup verb that you have, use the same method you used in not allowing people to enter other people's house.
|
In response to Mecha Destroyer JD
|
|
heres the code...
turf I dont se how i can change my get verb to something like that.. EDIT: Put it in code. |
In response to BEVAN
|
|
First, put your code in DM tags (<dm> and </dm>).
|
In response to Popisfizzy
|
|
It's really pretty simple to do:
Make a new variable for obj's called "Owner". When they buy the item, have it set the item's owner to the user's key. Then...for the pickup.. obj |
In response to Cliff Hatomi
|
|
Thank you so very much!
Been hours to work out how to do that, =] - Bevan ~Keep Your Hands Off My Gurl~ |
In response to BEVAN
|
|
Glad to help.
- Cliff H. |