Skip to content

Game Events

This only works for internal plugins. This allows you to react with ingame CS:GO events.

Listen

Arguments

  • const char * event_name
  • SDK_GAME_EVENT callback_fnc (void*)

GetBool

Arguments

  • void * evptr - Pointer to the event structure.
  • const char * key

Returns

The value in boolean.


GetInteger


GetLong


GetString


GetFloat


GetPlayerFromID

Arguments

  • int id - index of the player.

Returns

The player ID.


GetPlayerFromEvent (Depreciated)


GetPlayerFromEventEx (Depreciated)