📖
Goat Scripts Doc
Discord
  • Home
  • G_CORE
    • Installation
      • QBCore
      • ESX
      • QBox
      • VORP
    • Developer
      • Events
        • Server
        • Client
      • Exports
        • Server
        • Client
      • Variables
  • G_LIFESTYLE
    • Installation
      • QBCore / ESX
      • QBox
    • Events
  • G_MONEYWASH
    • Installation
      • QBCore / ESX
      • QBox
  • G_SCRAPYARD
    • Installation
      • QBCore / ESX
      • QBox
    • Mini Games
  • G_SPEEDLIMITER
    • Installation
      • QBCore
      • QBox
  • G_USABLELIGHTS
    • Installation
      • QBCore / ESX
      • QBox
  • G_DOCKJOB - STDENIS
    • Installation
  • G_DEALER
    • Developer
      • Exports
        • Client
Powered by GitBook
On this page
  • Police Count
  • Webhook
  1. G_CORE
  2. Developer
  3. Events

Server

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

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


PreviousEventsNextClient

Last updated 3 months ago