ScriptEvent:selectVehicleWeapon

From Mod Wiki

Parameters

entity (cannot be null) player -- Player to select a weapon for.
string name -- Name of the weapon to select.

Result

None.

Supported By

sdTransport

Comments

  • If the player specified is not in this vehicle, behaviour is undefined.

Functionality

Selects the vehicle weapon of the given name, for the specified player.