Utilities
Helpful utility functions that don't fit any other section.
Player:PS_CanPerformAction()
Realm: Server
Description: Determines if the player should be able to perform PointShop actions.
local can_buy_item = ply:PS_CanPerformAction()
Player:PS_ToggleMenu()
Realm: Server
Description: Toggles the PointShop menu for the player.
ply:PS_ToggleMenu()
Player:PS_Notify(...)
Arguments: Any ...
Realm: Server
Description: Sends a notification to the player.
ply:PS_Notify('You have been give', 10, 'points for playing on the server!')
Player:PS_GetUsergroup()
Realm:
Description: Returns the players user group, with support for admin mods.
local usergroup = ply:PS_GetUsergroup()