Get_is_vehicle_engine_running How to turn off a car

how can I set this variable?
I get this function is for getting the status of the vehicle but how do I set this variable aka how do I turn off a car?

?

thanks, might you point me to the function detecting vehicle collision? to use in a trigger ex triggers when vehicle hits something at x speed

Look into HAS_ENTITY_BEEN_DAMAGED_BY_* natives on the natives reference

I’m not entirely sure which one would be best here, though, so you’re on your own here lol

This might be even better

HAS_ENTITY_COLLIDED_WITH_ANYTHING(Entity entity);

it was slightly under the one you suggest, thanks for your time

1 Like