Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool setPlayerScore(player thePlayer, int amount)
- thePlayer: which player to set the score of
- amount: a whole integer specifying the new amount of rings the score will have
- Returns true if the rings were added, or false if invalid parameters were passed
- ---
- bool givePlayerScore(player thePlayer, int amount)
- thePlayer: the player you are giving the score to.
- amount: a positive integer number specifying the amount of score to give to the player.
- Returns true if the money was added, or false if invalid parameters were passed.
- ---
- int/bool getPlayerRings(player thePlayer)
- thePlayer: the player you wish to retrieve the amount of score from
- Returns an integer with the amount of rings the specified player has, false if the player is invalid
- ---
- bool setPlayerRings(player thePlayer, int amount)
- thePlayer: which player to set the rings of
- amount: a whole integer specifying the new amount of rings the player will have
- Returns true if the rings were added, or false if invalid parameters were passed
- ---
- bool givePlayerRings(player thePlayer, int amount)
- thePlayer: the player you are giving the score to.
- amount: a positive integer number specifying the amount of rings to give to the player.
- Returns true if the rings was added, or false if invalid parameters were passed.
- ---
- int/bool getPlayerRings(player thePlayer)
- thePlayer: the player you wish to retrieve the amount of money from
- 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