Doing that, it works and for decal too :
Code:
#include <amxmodx>
#include <hamsandwich>
const BLOOD_COLOR_YELLOW = 195;
public plugin_init()
{
RegisterHam( Ham_BloodColor, "player", "CPlayer_BloodColor" );
}
public CPlayer_BloodColor ( const Player )
{
SetHamReturnInteger( BLOOD_COLOR_YELLOW );
return HAM_SUPERCEDE;
}
Edit : Actually decal color ( for other color ) is not changed and I don't think it's possible to change it since there is not color param for TE_WORLDDECAL or TE_DECAL.
__________________