24.03.2017, 11:02
First of all, it's a function, not a "stock". If you want to stop people from entering those vehicles, just use that function of yours on OnPlayerEnterVehicle, or just put the code in the callback. If the vehicle model matches, clear player animations to stop them from entering it.