How do I spawn a vehicle infront of me?
#10

At newbienoob: Jesus, I was directing him. Who the hell uses that? Just put X + 2/Y+2/Z+2 or a combination like that!

When you use CreateVehicle somewhere, the returned ID can be assigned to a variable. That's why I put "new vehicleID = CreateVehicle..." there. It's okay if you don't use it. If you don't, it'll just spawn in front of you, but to put yourself into it directly would require the ID.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)