Skip to main content
Available since server artifact v5182
  • entities - table contains entity ids of peds that reacted to the gunshot including the shooter
  • entity - stands for the entity that fired the gunshot
  • data - sometimes contains a table with unknown values, but mostly it’s empty
AddEventHandler('CEventGunShot', function(entities, entity, data)

end)