Raised This Month: $ Target: $400
 0% 

how to make this work for ct && admin only


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 01-07-2014 , 14:36   Re: how to make this work for ct && admin only
Reply With Quote #7

Change this
PHP Code:
public grabidlevelcid 

    if( !
cmd_accessidlevelcid) ||  !get_pcvar_nump_enabled )) return PLUGIN_HANDLED 
    
    
if ( !client_data[id][GRABBED] ) client_data[id][GRABBED] = -1     
    screenfade_in
id 
    
    return 
PLUGIN_HANDLED 

to
PHP Code:
public grabidlevelcid 

    if( !
cmd_accessidlevelcid) || cs_get_user_team(id) != CS_TEAM_CT || !get_pcvar_nump_enabled )) return PLUGIN_HANDLED 
    
    
if ( !client_data[id][GRABBED] ) client_data[id][GRABBED] = -1     
    screenfade_in
id 
    
    return 
PLUGIN_HANDLED 

__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster 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 20:39.


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