My problem is that I need some methods to disable all effects on specified players
by "effects" I mean:
glows ( set_user_rendering(tempid, kRenderFxGlowShell, 255, 140, 0, kRenderNormal, 20) of fakemeta.. )
ligthing for example in de aztec ( maybe it is only cl_weather but I'm not sure ).
beampoints and any other effect called by:
Code:
stock Create_TE_Smoke(originSight[3], position[3], iSprite, scale, framerate){
message_begin( MSG_PVS, SVC_TEMPENTITY, originSight )
write_byte( TE_SMOKE )
write_coord( position[0] ) // Position
write_coord( position[1] )
write_coord( position[2] )
write_short( iSprite ) // Sprite index
write_byte( scale ) // scale * 10
write_byte( framerate ) // framerate
message_end()
}
Code:
stock Create_TE_EXPLOSION( origin[3], origin2[3], iSprite, scale, frameRate, flags ){
message_begin( MSG_PVS, SVC_TEMPENTITY, origin )
write_byte( TE_EXPLOSION )
write_coord( origin2[0] ) // position (X)
write_coord( origin2[1] ) // position (Y)
write_coord( origin2[2] ) // position (Z)
write_short( iSprite ) // sprite index
write_byte( scale ) // scale in 0.1's
write_byte( frameRate ) // framerate
write_byte( flags ) // flags
message_end()
}
and any other that called by message_begin ... except maybe for text messages (green,team,..)
maybe it is possible to doesn't show it at specified player.
like this
stop_effects(id)
{
//
message_end(id);
}
or
/* Message flags for set_msg_block() */
#define BLOCK_NOT 0
#define BLOCK_ONCE 1
#define BLOCK_SET 2
__________________