11.02.2012, 10:10
I've tried to do this a lot, but I couldn't figure out how to do it.
First of all, I've mapped a showroom for cars in LS, added some cars there in the gamemode (Like 10 cars).
What I want to do is have players go there, get into a car and type /buycar to buy the car. However, I do not want them to get the car from the showroom ( I don't want to have to put in new cars there manually).
What I want it to do is to create a new car in front of the showroom (I got the coords) exactly like the car they were in when they typed /buycar. Then it should teleport the player near or inside that new car, which will now be his.
Do you guys think that is possible? I'm using a modified LA:RP script right now. If anybody can help me with it, just post in this thread.
First of all, I've mapped a showroom for cars in LS, added some cars there in the gamemode (Like 10 cars).
What I want to do is have players go there, get into a car and type /buycar to buy the car. However, I do not want them to get the car from the showroom ( I don't want to have to put in new cars there manually).
What I want it to do is to create a new car in front of the showroom (I got the coords) exactly like the car they were in when they typed /buycar. Then it should teleport the player near or inside that new car, which will now be his.
Do you guys think that is possible? I'm using a modified LA:RP script right now. If anybody can help me with it, just post in this thread.