Progetto H — API Reference API & Scripting Documentation
Function Server Fast

Pawn:SetRagdollOnDeathEnabled

Sets if the character will enter ragdoll mode when it dies. You can set it to false to apply custom Death animations

Syntax

Lua
my_pawn:SetRagdollOnDeathEnabled(is_enabled)

Parameters

Name Type Default Description
is_enabled boolean