Annoying "bug" with vehicle positions
#1

I've been working on a vehicle system, where instead of going around using /save to get the vehicle positions, i use a /spawncar command.

This saves the vehicle info to variables. Then when i use /savecars it saves the information to a file.

The problem im having is when i want to change the vehicle position... If i spawn it in once place, i try to change it to another place.

I made a /vsave command which gets the vehicle x y z and angle. By the way GetVehicleZAngle sucks.... Doesn't work. So instead io get in the car and use GetPlayerFacingAngle.

Anyway... It spawns the car but not in the position i want.

Also im having problems with colours. If i spawn a vehicle this way... /spawncar 541 3 1 that would spawn a red and white bullet. But if i wanted to change it, i get in and use /carcolor 3 0 that would change it to red and black.

The variables for the colours are then replaced with the new colour id. But then when i try and save the vehicles. The vehicle which colour i changed doesnt save...
Reply
#2

Nice from you to tell, us your problem...
...but withour the code we can't help you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)