RemovePlayerCaps - Game

From the Fallout4 CreationKit Wiki
Revision as of 10:55, 2 December 2015 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Game Script Removes the specified number of caps from the player (destroyed, not moved to a container) == Synta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

Removes the specified number of caps from the player (destroyed, not moved to a container)

Syntax[edit | edit source]

Function RemovePlayerCaps(int nCaps) global

Parameters[edit | edit source]

  • nCaps: The number of caps to remove from the player

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Remove 100 caps from the player
Game.RemovePlayerCaps(100)

See Also[edit | edit source]