item_cash
Jump to navigation
Jump to search
This entity is not in the stock FGD files by default.
|
Code classes:
CItemCash
CItem
(items)CBaseAnimating
(models)CBaseEntity
(all ents)
item_cash
is a point entity present in Counter-Strike: Global Offensive. It's a stack of money that gives $50 to the player that picks it up.
FGD Code[edit | edit source]
@PointClass base(Targetname, Parentname, Angles) studio("models/props_survival/cash/prop_cash_stack.mdl") = item_cash : "Cash pickup"
[
spawnflags(flags) =
[
1 : "Constrained" : 0
]
output OnPlayerTouch(void) : "Fires when a player touches this item. Does not fire if picked up with +use."
]
ConVars/Commands[edit | edit source]
ConVar/Command | Parameters or default value | Parameter Type | Effect |
---|---|---|---|
sv_dz_cash_bundle_size | 50 | arbitrary number | How much money a single bundle gives. |
sv_dz_cash_mega_bundle_size | 13 | arbitrary number | How many bundles of cash the large variant (rarely dropped from orange and white crates) gives. |