Guest User

Untitled

a guest
Jul 21st, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. bool setPlayerScore(player thePlayer, int amount)
  2. thePlayer: which player to set the score of
  3. amount: a whole integer specifying the new amount of rings the score will have
  4. Returns true if the rings were added, or false if invalid parameters were passed
  5. ---
  6. bool givePlayerScore(player thePlayer, int amount)
  7. thePlayer: the player you are giving the score to.
  8. amount: a positive integer number specifying the amount of score to give to the player.
  9. Returns true if the money was added, or false if invalid parameters were passed.
  10. ---
  11. int/bool getPlayerRings(player thePlayer)
  12. thePlayer: the player you wish to retrieve the amount of score from
  13. Returns an integer with the amount of rings the specified player has, false if the player is invalid
  14. ---
  15. bool setPlayerRings(player thePlayer, int amount)
  16. thePlayer: which player to set the rings of
  17. amount: a whole integer specifying the new amount of rings the player will have
  18. Returns true if the rings were added, or false if invalid parameters were passed
  19. ---
  20. bool givePlayerRings(player thePlayer, int amount)
  21. thePlayer: the player you are giving the score to.
  22. amount: a positive integer number specifying the amount of rings to give to the player.
  23. Returns true if the rings was added, or false if invalid parameters were passed.
  24. ---
  25. int/bool getPlayerRings(player thePlayer)
  26. thePlayer: the player you wish to retrieve the amount of money from
  27. Returns an integer with the amount of rings the specified player has, false if the player is invalid
Add Comment
Please, Sign In to add comment