ScriptEvent:selectVehicleWeapon

From Mod Wiki
Revision as of 17:39, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.