AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   SetFOV msg doesn't work? (https://forums.alliedmods.net/showthread.php?t=56942)

hlstriker 06-24-2007 16:45

SetFOV msg doesn't work?
 
Hi, can someone please tell me why this isn't changing the fov of the specified player?

PHP Code:

    message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SetFOV"), _id);
    
write_byte(105);
    
message_end(); 

The write_byte 105 should set the users fov to 105?

Alka 06-24-2007 16:48

Re: SetFOV msg doesn't work?
 
Fakemeta way :P
Code:

set_pev(id,pev_fov,90.0)
is normal Fov!

hlstriker 06-24-2007 16:58

Re: SetFOV msg doesn't work?
 
Thanks, but I would still like to know what's wrong with the message way to clear it up.


All times are GMT -4. The time now is 21:25.

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