Posts: 1,745
Threads: 252
Joined: Dec 2011
Reputation:
0
I'm trying to do this for a taxi kind of thing so it will give the money to the driver so did i do it correct on finding the driver from the car he was entering?
Posts: 1,745
Threads: 252
Joined: Dec 2011
Reputation:
0
Lordz wouldn't that just give me the money if i entered as a passenger or driver? i want it so if there is already a driver in the car and you enter as a passenger your money will go down and the drivers will go up
Posts: 109
Threads: 18
Joined: Dec 2011
Reputation:
0
What I would do is set it up so that a player does a command.
Like /fare.
And it checks what seat they're in, and if they're a taxi driver.
If they're driving, and they're a taxi driver, it gives them 12 bucks and takes 12 from the passenger.
You could also set up a timer that loops until the person gets out.
Wouldn't be that difficult, I'm sure you could do it.