View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-19-2021 , 07:29   Re: Permanent Field of View change?
Reply With Quote #10

The "pev" function returns a value. What you need is "set_pev". Your line of code has no effect.

If that doesn't work, pretty sure SetFOV is supported in HL.

Code:
static iSetFOV if(!iSetFov) {     iSetFov = get_user_msgid("SetFOV") } message_begin(MSG_ONE, iSetFov, _, id) write_byte(get_pcvar_num(g_pCvarFov)) message_end()
__________________

Last edited by OciXCrom; 02-19-2021 at 07:30.
OciXCrom is offline
Send a message via Skype™ to OciXCrom