Raised This Month: $ Target: $400
 0% 

[Solved] Disable zoom on Awp


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-22-2007 , 10:06   Re: Disable zoom on Awp
Reply With Quote #3

Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>

public plugin_init()
{
    register_event("SetFOV", "eventSetFOV", "b")
}

public eventSetFOV(id)
{
  client_print(id, print_chat, "* Your FOV is: %i", read_data(1));
  log_amx("zoomed");
  new ammo,clip;
  new WeaponNum = get_user_weapon(id, ammo, clip);
  if(WeaponNum == CSW_AWP)
  {
          log_amx("awp zoomed");
      message_begin(MSG_ONE, get_user_msgid("SetFOV"), {0,0,0}, id);
      write_byte(90);
      message_end(); 
  }
}
This works, have tested....weird!
__________________
regalis 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 10:43.


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