Raised This Month: $ Target: $400
 0% 

Disable all effects on specified player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
AngeIII
Senior Member
Join Date: Sep 2007
Location: Latvia
Old 05-21-2013 , 12:44   Disable all effects on specified player
Reply With Quote #1

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
__________________
skype: pavle_ivanof
-=ThQ=-
PRIVATE SUPPORT = PAID SUPPORT
AngeIII is offline
Send a message via Skype™ to AngeIII
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode