Hi, i would ask for experienced hl monsters [like arkshine or connormcleod]
i tried with MSG_PAS, MSG_PVS, and MSG_BROADCAST on this stock, when a player die, to make a scorch2} decal... but doesnt appear the damn decal on ground
PHP Code:
gDecalExplosion = engfunc( EngFunc_DecalIndex, "{scorch2" );
stock UTIL_WorldDecal( iOrigin[ 3 ], iDecal )
{
message_begin( MSG_BROADCAST, SVC_TEMPENTITY );
write_byte( TE_WORLDDECAL );
write_coord( iOrigin[ 0 ] );
write_coord( iOrigin[ 1 ] );
write_coord( iOrigin[ 2 ] );
write_byte( iDecal );
message_end( );
}
used as
PHP Code:
UTIL_WorldDecal( iOrigin, gDecalExplosion )
any help?
__________________