SetPlayerWeaponSlot

From Multi Theft Auto: Wiki
Revision as of 19:06, 24 February 2007 by IJs (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function sets the local player's weapon slot. This affects the current weapon.

Syntax

bool setLocalPlayerWeaponSlot ( int weapon_slot )

Required Arguments

  • weapon_slot: weapon slot to set

{Weapon_Slots}

Optional Arguments

none

Returns

Returns true on success, false otherwise.

Example

Pending.

See Also