This is really simple.
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "Change FOV"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"
#define NEWFOV 130
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_message(get_user_msgid("SetFOV"), "msg_SetFOV")
}
public msg_SetFOV() {
set_msg_arg_int(1, ARG_BYTE, NEWFOV)
}
You must add to this code weapon handling function to get work zoom in weapons.
Or anything like this
PHP Code:
if(get_msg_arg_int(1) == 90)
set_msg_arg_int(1, ARG_BYTE, NEWFOV)
;)
__________________