GivePlayerCaps - Game

Revision as of 11:54, 2 December 2015 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Game Script Gives the player the specified number of caps. == Syntax == <source lang="papyrus"> Function GivePl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Game Script

Gives the player the specified number of caps.

SyntaxEdit

Function GivePlayerCaps(int nCaps) global

ParametersEdit

  • nCaps: The number of caps to give the player

Return ValueEdit

None.

ExamplesEdit

; Give the player 100 caps for a job well done
Game.GivePlayerCaps(100)

See AlsoEdit