Raised This Month: $ Target: $400
 0% 

AddToFullPack


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 01-15-2011 , 15:42   AddToFullPack
Reply With Quote #1

Well I'm trying to make terrorists visible to other terrorists, but for some reason, when there are two or more players in the server it crashes. (We were both on CT)

PHP Code:
public func_AddToFullPack(es_handleeenthosthostflagsplayerpSet)
{
    if(!
player)
    {
        return 
FMRES_IGNORED
    
}
    
    if( 
cs_get_user_team(host) == CS_TEAM_T && cs_get_user_team(ent) == CS_TEAM_T )
    {
        
set_es(entES_RenderFxkRenderFxDistort)
        
set_es(entES_RenderColor, {000})
        
set_es(entES_RenderModekRenderTransAdd)
        
set_es(entES_RenderAmt127)
    }
    
    return 
FMRES_IGNORED 
}[ 
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
 



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 02:08.


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