Server Events

Here, you will find all the essential exports for this asset. Please review each step and example thoroughly to understand how it works.

fivecore_zombies:zombieKilled

Triggered after a player kills a zombie, useful if you want to give the player some reward when killing a zombie

AddEventHandler('fivecore_zombies:zombieKilled', function(playerId, zombieCoords, zombieData)
    -- Your code
end)
  • playerId: number

  • zombieCoords: vector3

  • zombieData: table

    • zombie data is all config for the zombie defined inside Config.Zombies

Last updated