Raised This Month: $ Target: $400
 0% 

how get back default client fov ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
fantastiko
BANNED
Join Date: Feb 2013
Old 11-17-2013 , 08:23   how get back default client fov ?
Reply With Quote #1

how get back default client fov, don't use pev_fov 90, ?

i am in display "1280x720" use 110 fov by config
but plugin sets 90 fov

PHP Code:
public CmdStart(iduc_handleseed)
{
if(
alive[id] && glock[id] && get_uc(uc_handleUC_Buttons) & IN_ATTACK2 && !(pev(idpev_oldbuttons) & IN_ATTACK2))
{
switch(
zoom[id])
{
case 
0:
{
zoom[id] = 1
set_pev
(idpev_fov45.0)
}
case 
1:
{
zoom[id] = 0
set_pev
(idpev_fov90.0)
}
}
emit_sound(idCHAN_ITEM"weapons/xbow_reload1.wav"0.202.400100)
}
}

public 
item_holster(const gloc)
{
new 
id get_pdata_cbase(glocm_pPlayer4)
set_pev(idpev_fov90.0)
glockid ] = false
}

public 
item_deploy(const gloc)
{
set_pdata_float(glocm_flNextSecondaryAttack9999.04)
new 
id get_pdata_cbase(glocm_pPlayer4)
glockid ] = true
}

public 
glock_reload(const gloc)
{
new 
id get_pdata_cbase(glocm_pPlayer4)
set_pev(idpev_fov90.0)


Last edited by YamiKaitou; 11-24-2013 at 09:09.
fantastiko 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 23:21.


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