Closed Esterze closed 1 year ago
What do you mean?
One addon car has default controls. No J K L, just E.
And ambulance also uses the E key instead of the controls defined in the script.
That means the car isn't an emergency vehicle
Ambulance is not an emergency vehicle?
The only vehicles that work are emergency vehicles, which is defined by the vehicle class
So the vehicles.meta of that vehicle is probably wrong
How am I supposed to change vehicles.meta of a vanilla vehicle?
You can re-stream it, but the vanilla vehicles should work though, let me check
The addon vehicle was in fact set improperly, to sedan.
The default ambulance in the game does have the emergency vehicle class
Are you sure you're not using an addon vehicle instead or the vehicles.meta of it is re-streamed?
I'm sure I'm not using an addon vehicle. I'm using a vehicle of which spawn code is ambulance
.
It's weird. When I spawn an ambulance it's working fine, but if I use the one in hospital's garage it does not work.
So the issue is resolved. Thanks for telling me about the class.
Then that vehicle may be another model with the wrong vehicle class
Then that vehicle may be another model with the wrong vehicle class
I don't think so. I know what addon vehicles I got on my server. Probably the way the ambulance got stored is messed up.
Probably the way the ambulance got stored is messed up.
Could be, I don't really know, if I come across this issue again, I'll do an investigation on it
I have like 5 addon vehicles with sirens and only 1 of them does not follow the script. What should I do?