Player Stores
Events
All client- & serversided events included within this script. Events serve as listeners that capture and respond to actions executed by this script.
If additional events are required for your implementation, please submit a formal request through our ticketing system on the official Discord server.
Server Events
ps:onStoreBought
Triggered after a store has been bought.
RegisterNetEvent('ps:onStoreBought', function(playerId, store) end)
playerId
number
Source of the player that bought the store.
store
table
Data of the store that has been bought.
ps:onRankChanged
Triggered after a rank has been changed of an employee from a store.
RegisterNetEvent('ps:onRankChanged', function(playerIdentifier, store, oldRank, newRank) end)
playerIdentifier
string
Identifier of the player whose rank got changed.
store
table
Data of the store the rank change happened.
oldRank
number
Previous rank number of the employee.
newRank
number
New rank number of the employee.
Client Events
No client-sided events available at this time.