gameEventTriggered

This event is fired after low-level game events take place, such as CEventNetworkEntityDamage. A full list of available game events can be found here.

Parameters

string name, int args[]

Examples

This example outputs all event triggers to the console, making it easier to discover what you need:

AddEventHandler('gameEventTriggered', function (name, args)
  print('game event ' .. name .. ' (' .. json.encode(args) .. ')')
end)