Answered Field of View

jcal147

Veteran
Messages
63
Reaction score
12
Points
568
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.
You do not have permission to view link Log in or register now.
 

candy

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

TheHiddenHour

Veteran
Messages
57
Reaction score
49
Points
578
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.
You do not have permission to view link Log in or register now.
Try getting rid of the "thread" in FieldofView.
 

jcal147

Veteran
Messages
63
Reaction score
12
Points
568
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
568
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