RegisterNetEvent('cavok_weapon_handling:hitPlayer') AddEventHandler('cavok_weapon_handling:hitPlayer', function(targetId) TriggerClientEvent('cavok_weapon_handling:makeRagdoll', targetId) end)