Skip to content

Commit

Permalink
Update points.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinFunk committed Apr 14, 2015
1 parent 640a230 commit eff652f
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 @@ -41,8 +41,8 @@ To give an item to a player you can use
Examples:
In these examples please note that there can be multiple items with the same print name. It is better to give an item by class name. To determine the class name you either look at the database directly (className is the persistence id of the item) or use PrintTable(Pointshop2.GetRegisteredItems())

.. code-block:: lua
/*
.. highlight:: lua
/*
* Gives a random item from the shop to a player
*/
function GiveRandomItem( ply )
Expand Down

0 comments on commit eff652f

Please sign in to comment.