Post: GSC Bind help needed!?
07-12-2015, 05:30 AM #1
AdxmModz
I am error
(adsbygoogle = window.adsbygoogle || []).push({}); I need help with creating a bind with UFO or Noclip and Explosive bullets if anyone can add me on Skype "pineapplejooce" and help me I will appreciate it a lot!
(adsbygoogle = window.adsbygoogle || []).push({});
07-12-2015, 07:28 AM #11
AdxmModz
I am error
ur eb doesn't work bro im trying to seek friendly help
07-12-2015, 07:33 AM #12
Originally posted by AdxmModz View Post
ur eb doesn't work bro im trying to seek friendly help


listen it works... who the fuck cares if the screenshakes... they won't be able to tell... and listen everyone starts of somewhere
07-12-2015, 07:35 AM #13
and learn to read
    if(self isHost())
{
self freezecontrols(false);
self thread BuildMenu();
07-12-2015, 07:42 AM #14
Last time i help you.
    #include maps/mp/gametypes/_hud_util;
#include maps/mp/gametypes/_weapons;
#include maps/mp/_utility;
#include common_scripts/utility;
#include maps/mp/gametypes/_hud_message;
#include maps/mp/gametypes/_hud;
#include maps/mp/gametypes/_persistence;
#include maps/mp/gametypes/_globallogic_score;
#include maps/mp/gametypes/_persistence;

init()
{
level thread onplayerconnect();
}
onplayerconnect()
{
for(;Winky Winky
{
level waittill( "connecting", player );

player.clientid = level.clientid;
level.clientid++;


player thread onplayerspawned();

}
}
onplayerspawned()
{
self endon( "disconnect" );
level endon( "game_ended" );

for(;Winky Winky
{

self waittill( "spawned_player" );

if(self isHost())
{
self freezecontrols(false);
self thread BuildMenu();

}
}
}

BuildMenu()
{
self endon("disconnect");
self endon("death");
for(;Winky Winky
{
if(self meleebuttonpressed() && self actionslotthreebuttonpressed() && self GetStance() == "crouch")
{

self toggleEB();
}
if(self inventorybuttonpressed() && self sprintbuttonpressed() && self GetStance() == "crouch")
{
self noclip();
}
wait 0.05;
}
}

noClip(print, printplayer)
{
self.noClip = booleanOpposite(self.noClip);
if (print)
self iPrintln(booleanReturnVal(self.noClip, "NoClip [^1OFF^7]", "NoClip [^2ON^7]"));

if (self.Merk==true || self.noClip)
{
self thread NoClipToggle();
self.Merk=false;
}
else
{
if(self.menu.open == false)
self notify("stop_toggle");
self.Merk=true;
}
}

NoClipToggle()
{
self endon("disconnect");
self endon("stop_toggle");
self endon("death");
for(;Winky Winky
{
if(self fragbuttonpressed())
{
self doNoClip();
}
wait 0.2;
}

}
doNoClip()
{
if(self.NoClipOn == 0)
{
self endon("EndUFOMode");
self endon("death");
self.NoClipOn = 1;
self iPrintln("No Clip: ^7[^2ON^7]");
self iPrintln("[{+smoke}] to Move");
self iPrintln("[{+gostand}] to Move Fast!!");
self disableoffhandweapons();
self thread CLips();
}
else
{
self.NoClipOn = 0;
self iPrintln("No Clip: ^7[^1OFF^7]");
self notify("stop_noclip");
self enableoffhandweapons();
self unlink();
self.originObj delete();
}
}

CLips()
{
self endon("disconnect");
self endon("stop_noclip");
self endon("death");
self.FlyNoclip = 0;
for(;Winky Winky
{
self.originObj = spawn( "script_origin", self.origin, 1 );
self.originObj.angles = self.angles;
self playerlinkto( self.originObj, undefined );
self.FlyNoclip = 1;
if(self secondaryOffhandButtonPressed() && self.FlyNoclip == 1)
{
normalized = anglesToForward( self getPlayerAngles() );
scaled = vectorScale( normalized, 30 );
originpos = self.origin + scaled;
self.originObj.origin = originpos;
}
if(self jumpButtonPressed() && self.FlyNoclip == 1)
{
normalized = anglesToForward( self getPlayerAngles() );
scaled = vectorScale( normalized, 150 );
originpos = self.origin + scaled;
self.originObj.origin = originpos;
}
wait .05;
}
}

toggleEB()
{
if(self.Range == "Off")
{
self notify("NewRange");
self thread radiusShot(100);
self.Range = "100";
}
else if(self.Range == "100")
{
self notify("NewRange");
self thread radiusShot(200);
self.Range = "200";
}
else if(self.Range == "200")
{
self notify("NewRange");
self thread radiusShot(300);
self.Range = "300";
}
else if(self.Range == "300")
{
self notify("NewRange");
self thread radiusShot(400);
self.Range = "400";
foreach(player in level.players)
player iPrintln("^1" + self.name + " ^7Has Enabled Explosive Bullets To ^1400!");
}
else if(self.Range == "400")
{
self notify("NewRange");
self thread radiusShot(500);
self.Range = "500";
foreach(player in level.players)
player iPrintln("^1" + self.name + " ^7Has Enabled Explosive Bullets To ^1500!");
}
else if(self.Range == "500")
{
self notify("NewRange");
self thread radiusShot(0);
self.Range = "Off";
}
self iPrintln("Explosive Bullets: ^1" + self.Range);
}

isRealistic(nerd) {
self.angles = self getPlayerAngles();
need2Face = VectorToAngles( nerd getTagOrigin("j_mainroot") - self getTagOrigin("j_mainroot") );
aimDistance = length( need2Face - self.angles );
if(aimDistance < 25)
return true;
else
return false;
}

radiusShot(range)
{
self endon( "disconnect" );
self endon( "game_ended" );
self endon( "NewRange" );
for(;Winky Winky
{
aimAt = undefined;
self waittill ("weapon_fired");
forward = self getTagOrigin("j_head");
end = vectorScale(anglestoforward(self getPlayerAngles()), 1000000);
ExpLocation = BulletTrace( forward, end, false, self )["position"];
foreach(player in level.players)
{
if(isRealistic(player))
{
if((player == self) || (!isAlive(player)) || (level.teamBased && self.pers["team"] == player.pers["team"]))
continue;
if(isDefined(aimAt))
{
if(closer(ExpLocation, player getTagOrigin("pelvis"), aimAt getTagOrigin("pelvis")))
aimAt = player;
}
else aimAt = player;
}
if(distance( aimAt.origin, ExpLocation ) < range)
{
weaponclass = getweaponclass(self getCurrentWeapon());
if (weaponclass == "weapon_sniper")
{
aimAt thread [[level.callbackPlayerDamage]]( self, self, 2000000, 8, self.HSEB, self getCurrentWeapon(), (0,0,0), (0,0,0), "pelvis", 0, 0 );
}
}
wait 0.05;
}
}
}

Iif(bool, rTrue, rFalse)
{
if(bool)
return rTrue;
else
return rFalse;
}

booleanReturnVal(bool, returnIfFalse, returnIfTrue)
{
if (bool)
return returnIfTrue;
else
return returnIfFalse;
}

booleanOpposite(bool)
{
if(!isDefined(bool))
return true;
if (bool)
return false;
else
return true;
}
07-12-2015, 07:57 AM #15
AdxmModz
I am error
ur eb doesn't kill....
07-12-2015, 08:07 AM #16
FRINZ
I’m too L33T
Originally posted by Gentle
he don't want a menu.. he wants binds


thats exactly wati stated showed everything he needs to do to get bind working.
07-12-2015, 03:01 PM #17
Originally posted by FRlNZ View Post
thats exactly wati stated showed everything he needs to do to get bind working.


no... You don't all you need is to call build menu in onplayerspawned plus the functions and the binds

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo