Server

Police Count

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

TriggerEvent('g_core:server:policecount')

Webhook

Sends a webhook to the specified discord channel

TriggerEvent('g_core:sv:webhook', title, message, serverid, webhookid)
  • title? string

  • message? string

  • serverid? number (player id)

  • webhookid? discord_webhook_url


Last updated