inv_weapon_disable_all_slots(disabled[, sync_flags])

Parameters:
disabled (boolean) set to true to disable all weapon slots, or false to enable them
sync_flags (integer, optional) synchronization type (MULTI_SYNC_LOCAL = affects local player, MULTI_SYNC_REMOTE = affects remote player, or MULTI_SYNC_ALL = affects both players; defaults to MULTI_SYNC_ALL)
 
Returns:
none

Description:
Enable/disable all weapon slots.

If weapons slots are disabled, be sure to re-enable them before the mission ends.

 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:15