Server Customization
Information for customizing the server side functions
copCheck
This function is triggered if copsNeeded.enable is set to 'true'.
This function doesn't receive any data, but needs to return the amount of police online/active.
giveItem
This function is triggered if inventory is set to "custom".
This function receives the following data:
source = the player's server ID
item = The name of the item to be given.
amount = The amount of the item to give.
removeItem
This function is triggered if inventory is set to "custom".
This function receives the following data:
source = the player's server ID
item = The name of the item to be given.
amount = The amount of the item to give.
bankPayout
This function is triggered if payout is set to "bank"
This function receives the following data:
source = the player's server ID
amount = The amount of money to give.
Last updated