Death Console commands

Hi i want if players dead console commands start for him

:what:

I don’t quite understand what you’re trying to say. Can you clarify?

I want if players death console commands run for him

Okay… If you’re looking to run the console commands DIRECTLY AFTER the player dies, you should use:

GM:PostPlayerDeath

Since this is serverside, you’ll have to use

Player:ConCommand.

ex:



hook.Add( "PostPlayerDeath", "PostPlayerDeath.RunCommands", function( _Player )
       _Player:ConCommand( "command_here" )
end)


Thanks is work