Post: Code Help Please Respond!
07-21-2016, 02:57 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I would really like to know what is wrong with this code!
Pastebin:*You must login or register to view this content.

Syntax Error on line 192/ UFO MODE Part

Thanks*
(adsbygoogle = window.adsbygoogle || []).push({});
07-21-2016, 03:25 AM #2
Originally posted by Thomas
I would really like to know what is wrong with this code!
Pastebin:*You must login or register to view this content.

Syntax Error on line 192/ UFO MODE Part

Thanks*


Instead of:

if( !(self adsbuttonpressed())self adsbuttonpressed() && )

if( !(self adsbuttonpressed()) && self adsbuttonpressed())

For the correct syntax^
07-21-2016, 03:58 AM #3
where would i inject this to? And thanks for your help +rep
07-21-2016, 04:14 AM #4
Originally posted by Thomas
where would i inject this to? And thanks for your help +rep


What do you mean? Inject the entire GSC?
07-21-2016, 04:27 AM #5
I keep freezing from it!
07-21-2016, 04:34 AM #6
Originally posted by Thomas
I keep freezing from it!


UFOMode()
{
if(self.UFOMode == false)
{
self thread doUFOMode();
self.UFOMode = true;
self iPrintln("Noclip: [^2ON^7]");
self iPrintln("Press [{+speed_throw}] To Fly");
}
else
{
self notify("EndUFOMode");
self.UFOMode = false;
self iPrintln("Noclip: [^1OFF^7]");
}
}
doUFOMode()
{
self endon("EndUFOMode");
self.Fly = 0;
UFO = spawn("script_model",self.origin);
for(;Winky Winky
{
if(self adsbuttonpressed())
{
self playerLinkTo(UFO);
self.Fly = 1;
}
else
{
self unlink();
self.Fly = 0;
}
if(self.Fly == 1)
{
Fly = self.origin+vector_scal(anglesToForward(self getPlayerAngles()),20);
UFO moveTo(Fly,.01);
}
wait .001;
}
}


Use that code for UFO
07-21-2016, 04:41 AM #7
Originally posted by Elemxnt View Post
UFOMode()
{
if(self.UFOMode == false)
{
self thread doUFOMode();
self.UFOMode = true;
self iPrintln("Noclip: [^2ON^7]");
self iPrintln("Press [{+speed_throw}] To Fly");
}
else
{
self notify("EndUFOMode");
self.UFOMode = false;
self iPrintln("Noclip: [^1OFF^7]");
}
}
doUFOMode()
{
self endon("EndUFOMode");
self.Fly = 0;
UFO = spawn("script_model",self.origin);
for(;Winky Winky
{
if(self adsbuttonpressed())
{
self playerLinkTo(UFO);
self.Fly = 1;
}
else
{
self unlink();
self.Fly = 0;
}
if(self.Fly == 1)
{
Fly = self.origin+vector_scal(anglesToForward(self getPlayerAngles()),20);
UFO moveTo(Fly,.01);
}
wait .001;
}
}


Use that code for UFO


I'm still freezing when i load up a map!
07-21-2016, 04:44 AM #8
Originally posted by Thomas
I'm still freezing when i load up a map!


check the for(;Winky Winky the face might've made it for(
07-21-2016, 04:46 AM #9
Originally posted by Elemxnt View Post
check the for(;Winky Winky the face might've made it for(


i used for(;Winky Winky
07-21-2016, 04:47 AM #10
Originally posted by Thomas
i used for(;Winky Winky


the syntax is correct

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo