ok i have my mob going in and out of cars and i have a shop keeper
I want to be able to buy a car from a shop make it that persons car so no one else can drive it and make it so the car appears in front of the shop keeper?
i guess all i need is the code for to make it a personal item
and the code to have the car appear in front of the shop keeper
ID:162924
Nov 7 2007, 5:43 am
|
|
Nov 7 2007, 5:44 am
|
|
make an obj var called owner or something and when a person buys the car, its owner var is changed.
|
In response to Scizzees
|
|
obj/var/owner(usr.ckey)
should i define it only when the item is bought? and put this to 0 or something? |
In response to Kylemark
|
|
obj/var/owner
When its been bought, create it. var/K=new/obj/car(usr.loc) |
In response to Scizzees
|
|
Scizzees wrote:
> obj/var/owner When its been bought, create it. > var/K=new/obj/car(usr.loc) !!!!! K.owner!!!!!! :=BAD! |