Difference between revisions of "ScriptEvent:selectVehicleWeapon"

From Mod Wiki
 
(No difference)

Latest revision as of 17:39, 5 November 2007

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.