Answered Field of View

jcal147

Veteran
Messages
63
Reaction score
12
Points
793
I have been attempting to add a field of view option to my menu, however, whenever I chose an option, nothing happens. Can someone please tell me what problems are currently residing in this script. Your help is most appreciated.
Please, Log in or Register to view URLs content!
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,322
Reaction score
752
Points
973
if you're on PC, usually it wont work. but for consoles it will
 

TheHiddenHour

Veteran
Messages
58
Reaction score
49
Points
803
I have been attempting to add a field of view option to my menu, however, whenever I chose an option, nothing happens. Can someone please tell me what problems are currently residing in this script. Your help is most appreciated.
Please, Log in or Register to view URLs content!
Try getting rid of the "thread" in FieldofView.
 

jcal147

Veteran
Messages
63
Reaction score
12
Points
793
Sry the "thread" was not supposed to be there. I copied that from my notepad(un-updated) not from gsc studio(where i have been working).
Even without the thread it still does not work.???
 

DewyMODS

Hello :D
Messages
24
Reaction score
6
Points
793
Code:
ToggleFOV()
{
if(self.fov == true)
    {
        self iPrintln("FOV : ^2ON");
        setDvar("cg_fov", "110");
        self.fov = false;
    }
    else
    {
        self iPrintln("FOV : ^1OFF");
        setDvar("cg_fov", "65");
        self.fov = true;
    }
}
//Mod edit, use CODE-Tag to post codes.
--
Set The Values To Wanted Values, Works On Pc
 
Last edited by a moderator:
Top