Client

Give Item

Gives the specified player the specified item and amount

TriggerServerEvent('g_core:server:additem', source, item, amount)
  • source? number

  • item? string

  • amount? 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? number

  • account?

    • cash

    • bank

    • custom_account

  • amount? number

  • event? client_event_name


Police Count

Refreshes the gcore.police variable with all players on duty for all police job(s) set within the config.


Remove Item

Removes the specified item and amount from the specified player

  • source? number

  • item? string

  • amount? number


Remove Money

Removes the specified amount of money from the specified account and player

  • source? number

  • account?

    • cash

    • bank

    • custom_account

  • amount? number

  • event? client_event_name


Webhook

Sends a webhook to the specified discord channel

  • title? string

  • message? string

  • serverid? number (player id)

  • webhookid? discord_webhook_url


Last updated