Raised This Month: $ Target: $400
 0% 

[Help] Zoom


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 09-14-2010 , 05:34   [Help] Zoom
Reply With Quote #1

Hi guys

I have one problem. Somehow I do not know how to do

PHP Code:
public fw_CmdStartiduc_handleseed )
{
 if( !
is_user_aliveid ) ) 
  return 
PLUGIN_HANDLED
 
 
if( ( get_ucuc_handleUC_Buttons ) & IN_USE ) && !( pevidpev_oldbuttons ) & IN_USE ) )
 {
  new 
szClipszAmmo
  
new szWeapID get_user_weaponidszClipszAmmo )
  
  if( 
szWeapID == CSW_M4A1 && g_HasM16[id] == true && !g_WepZoom[id] == true)
  {
   
g_WepZoom[id] = true
   cs_set_user_zoom
idCS_SET_AUGSG552_ZOOM)
   
emit_soundidCHAN_ITEM"weapons/zoom.wav"0.202.400100 )
  }
  
  else if ( 
szWeapID == CSW_M4A1 && g_M16[id] == true && g_WepZoom[id])
  {
   
g_WepZoomid ] = false
   cs_set_user_zoom
idCS_RESET_ZOOM)
   
  }
  
 }
 return 
PLUGIN_HANDLED



How can I make both, If you choose another weapon Then Zoom disappears

Help Plz...
.Dare Devil. 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 17:15.


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