Description
Sets which type of repair/refuel/rearm service is allowed. The two available types are manual, where the action is displayed to the user, and auto, where the service happens within distance. The engine default is both (manual and auto) for historic reasons.
Syntax
vehicle allowService type
Parameters:
vehicle: Object - supply vehicle, i.e. ammo trucktype: Number - 0: none, 1: auto, 2: manual, 3: both
Returns: Nothing
Examples
Example 1
ammoTruck allowService 0;