Raised This Month: $ Target: $400
 0% 

ZooM Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Menethil
Senior Member
Join Date: Aug 2011
Old 12-10-2011 , 10:43   ZooM Help
Reply With Quote #1

i have this
PHP Code:
public function(id)
{    

        
    new 
weaponid get_user_weapon(id);
    new 
button pev(idpev_button);
    
    if(
weaponid == an weapon)
    {    

        if(
button IN_ATTACK)
        {        
           
// do something
        
}
        else if(
button IN_ATTACK2)
        {
            
cs_set_user_zoomidCS_SET_AUGSG552_ZOOM)
        }
        
    }
    return 
PLUGIN_CONTINUE;

How do i modifiy , when i click 2 ( IN_ATTACK2) pressed to set / remove zoom ?
This is just setting, so i need to remove it on next click2
Menethil 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 11:56.


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