Skip to content

Commit

Permalink
Update points.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinFunk committed Jan 2, 2015
1 parent 9afffd5 commit 20babfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions developer/points.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Getting and Setting player points

In Pointshop 2 points are stored in a player's wallet (:lua:class:`Wallet`). A wallet is a table that contains points and premiumPoints.

Wallets are only networked to their owner and to all admins.
Wallets are only networked to their owner and to all admins by default. If you want to display points on a scoreboard, you need to tick the setting "Broadcast Wallets" in the General Settings. This will send everyone's wallet to everyone.

Use ply.PS2_Wallet to access a player's wallet. To manipulate a wallet use

:lua:func:`PLAYER:PS2_AddPremiumPoints`

:lua:func:`PLAYER:PS2_AddStandardPoints`
:lua:func:`PLAYER:PS2_AddStandardPoints`

0 comments on commit 20babfc

Please sign in to comment.