RemovePlayerCaps - Game

Member of: Game Script

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

SyntaxEdit

Function RemovePlayerCaps(int nCaps) global

ParametersEdit

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

Return ValueEdit

None.

ExamplesEdit

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

See AlsoEdit