item_cash

From Source Entities
Jump to navigation Jump to search
Info.png

This entity is not in the stock FGD files by default.
See below for instructions on making it available.

Code classes:

Item cash.png

item_cash is a point entity present in Csgo-small.pngCounter-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/CommandParameters or default valueParameter TypeEffect
sv_dz_cash_bundle_size50arbitrary numberHow much money a single bundle gives.
sv_dz_cash_mega_bundle_size13arbitrary numberHow many bundles of cash the large variant (rarely dropped from orange and white crates) gives.