CityRP Documentation Repository

cityrp_bmd_charge

Bought breaching charge SWEP, shared half. Given by the Black Market breach item. Each charge is one of the item, spent when it is placed, and the SWEP takes itself away once the last one has gone off.

Functions

SharedSWEP:OnHolster(ply)Source ☍

Called by /holster and /disarm, which only handle weapons that are items. The SWEP and every charge its owner has placed go, and nothing is refunded: no item comes back for the SWEP or for a planted charge.

Parameters

Fields

SharedSWEP.BaseSource ☍
SharedSWEP.ItemIDSource ☍
SharedSWEP.RemoveWhenSpentSource ☍