Client
Give Item
Gives the specified player the specified item and amount
TriggerServerEvent('g_core:server:additem', source, item, amount)source?
numberitem?
stringamount?
number
Give Money
Gives the specified player the specified amount of money into the specified account
TriggerServerEvent('g_lib:server:addmoney', source, account, amount, event)source?
numberaccount?
cashbankcustom_account
amount?
numberevent?
client_event_name
Police Count
Refreshes the gcore.police variable with all players on duty for all police job(s) set within the config.
Returns data to the client side
Remove Item
Removes the specified item and amount from the specified player
source?
numberitem?
stringamount?
number
Remove Money
Removes the specified amount of money from the specified account and player
source?
numberaccount?
cashbankcustom_account
amount?
numberevent?
client_event_name
Webhook
Sends a webhook to the specified discord channel
title?
stringmessage?
stringserverid?
number(player id)webhookid?
discord_webhook_url
Last updated