Raised This Month: $ Target: $400
 0% 

Permanent Field of View change?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 02-19-2021 , 02:22   Re: Permanent Field of View change?
Reply With Quote #9

I need fov offset for HL1, how I can find them?

Code:
#include <amxmodx> #include <fakemeta> #include <hamsandwich> #pragma semicolon 1 #define PLUGIN "Default FOV" #define VERSION "0.0.1" new g_pCvarFov; public plugin_init() {     register_plugin( PLUGIN, VERSION, "ConnorMcLeod" );     g_pCvarFov = register_cvar("amx_fov_default", "110");     RegisterHam(Ham_Spawn, "player", "OnCBasePlayer_Spawn_P", true); } public OnCBasePlayer_Spawn_P(id) {     if( is_user_alive(id) )     {         pev(id, pev_fov, get_pcvar_num(g_pCvarFov));     } }
I tried to use pev, but nothing happens

Last edited by ZASTRELIS; 02-19-2021 at 03:14.
ZASTRELIS is offline
 


Thread Tools
Display Modes

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 09:48.


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