Try this:
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fun>
public plugin_init()
{
register_plugin("Hide Death Sequence", "1.0", "AMXX Community")
RegisterHam(Ham_Spawn, "player", "Player_Spawn", 1)
RegisterHam(Ham_Killed, "player", "Player_Killed", 1)
}
public Player_Killed(id)
{
set_user_rendering(id, kRenderFxNone, 0, 0, 0, kRenderTransAlpha , 0)
}
public Player_Spawn(id)
{
if(is_user_alive(id))
set_user_rendering(id)
}
Btw, you should post such thing next time on Requests section of the forum.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.