Post: FOV script From CakedUp 1.8?
03-27-2015, 06:10 PM #1
DrHackHD
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); how can i give fov to admin?
03-27-2015, 07:37 PM #2
TehMerkMods
I’m too L33T
Originally posted by DrHackHD View Post
how can i give fov to admin?

    
togglefovvvvv()
{
if (self.move == 0)
{
self setclientfov(70);
self iPrintlnbold("Field of View set to: [^270^7]");
self.fov = 1;
}
else
{
if (self.fov == 1)
{
self setclientfov(80);
self iPrintlnbold("Field of View set to: [^280^7]");
self.fov = 2;
}
else
{
if (self.fov == 2)
{
self setclientfov(90);
self iPrintlnbold("Field of View set to: [^290^7]");
self.fov = 3;
}
else
{
if (self.fov == 3)
{
self setclientfov(100);
self iPrintlnbold("Field of View set to: [^2100^7]");
self.fov = 4;
}
else
{
if (self.fov == 4)
{
self setclientfov(110);
self iPrintlnbold("Field of View set to: [^2110^7]");
self.fov = 5;
}
else
{
if (self.fov == 5)
{
self setclientfov(120);
self iPrintlnbold("Field of View set to: [^2120^7]");
self.fov = 6;
}
else
{
if (self.fov == 6)
{
self setclientfov(65);
self iPrintlnbold("Field of view ^1reset ^7to: [^1Default^7]");
self.fov = 0;
}
}
}
}
}
}
}
}
03-28-2015, 02:43 PM #3
DrHackHD
Bounty hunter
thanks <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3 <3
08-03-2015, 04:02 PM #4
Thanks
08-03-2015, 04:43 PM #5
itsSorrow
In my man cave
Originally posted by DrHackHD View Post
how can i give fov to admin?


the source 2 cakedup is out..
08-03-2015, 08:31 PM #6
Originally posted by TehMerkMods View Post
    
togglefovvvvv()
{
if (self.move == 0)
{
self setclientfov(70);
self iPrintlnbold("Field of View set to: [^270^7]");
self.fov = 1;
}
else
{
if (self.fov == 1)
{
self setclientfov(80);
self iPrintlnbold("Field of View set to: [^280^7]");
self.fov = 2;
}
else
{
if (self.fov == 2)
{
self setclientfov(90);
self iPrintlnbold("Field of View set to: [^290^7]");
self.fov = 3;
}
else
{
if (self.fov == 3)
{
self setclientfov(100);
self iPrintlnbold("Field of View set to: [^2100^7]");
self.fov = 4;
}
else
{
if (self.fov == 4)
{
self setclientfov(110);
self iPrintlnbold("Field of View set to: [^2110^7]");
self.fov = 5;
}
else
{
if (self.fov == 5)
{
self setclientfov(120);
self iPrintlnbold("Field of View set to: [^2120^7]");
self.fov = 6;
}
else
{
if (self.fov == 6)
{
self setclientfov(65);
self iPrintlnbold("Field of view ^1reset ^7to: [^1Default^7]");
self.fov = 0;
}
}
}
}
}
}
}
}

Are there switches in gsc? If so, you could REALLY clean up that code using a switch.
08-03-2015, 09:19 PM #7
TehMerkMods
I’m too L33T
Originally posted by John View Post
Are there switches in gsc? If so, you could REALLY clean up that code using a switch.

that was months ago i use way neater codes now xd

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo