You are viewing our Forum Archives. To view or take place in current topics click here.
Black Ops 2 Button Binds! GSC [Release]
Posted:

Black Ops 2 Button Binds! GSC [Release]Posted:

Taxi
  • V5 Launch
Status: Offline
Joined: Oct 17, 201112Year Member
Posts: 2,296
Reputation Power: 191
Status: Offline
Joined: Oct 17, 201112Year Member
Posts: 2,296
Reputation Power: 191
Hi guys, these are my button binds i put alot of work into them :p



here is the link to the code, all you need to do is load it into GSC studio and then click inject then you're sorted!


http:// paste bin . com/1G9TPdcu

My Code is messy, i know please dont cry like a little girl about it.

Take the spaces out guys.

The following 4 users thanked Taxi for this useful post:

IDA (10-14-2014), Cobbie (10-14-2014), Nissan (10-14-2014), Jrd (10-14-2014)
#2. Posted:
ISIS
  • Resident Elite
Status: Offline
Joined: Sep 11, 20149Year Member
Posts: 268
Reputation Power: 14
Status: Offline
Joined: Sep 11, 20149Year Member
Posts: 268
Reputation Power: 14
Just out of curiosity, in init, why do you have level.settings = spawnstruct(); if you're not even using it? also you have self isHost() everywhere. All you have to do is do it one time. Replace //DPAD RIGHT with

if(self isHost()){
if(self AdsButtonPressed()) // doStuffHere
}
#3. Posted:
Taxi
  • V5 Launch
Status: Offline
Joined: Oct 17, 201112Year Member
Posts: 2,296
Reputation Power: 191
Status: Offline
Joined: Oct 17, 201112Year Member
Posts: 2,296
Reputation Power: 191
AnimeHypedUp wrote Just out of curiosity, in init, why do you have level.settings = spawnstruct(); if you're not even using it? also you have self isHost() everywhere. All you have to do is do it one time. Replace //DPAD RIGHT with

if(self isHost()){
if(self AdsButtonPressed()) // doStuffHere
}
Like i said my coding is very ugly ;) im Still learning GSC slowly mate, but i am getting there, it works 100% tho
#4. Posted:
Cobbie
  • TTG Natural
Status: Offline
Joined: Aug 14, 201211Year Member
Posts: 980
Reputation Power: 47
Status: Offline
Joined: Aug 14, 201211Year Member
Posts: 980
Reputation Power: 47
What a lad, was trying to get this working last night now I realise the mistake I was making
#5. Posted:
IDA
  • Powerhouse
Status: Offline
Joined: Sep 21, 201310Year Member
Posts: 454
Reputation Power: 26
Status: Offline
Joined: Sep 21, 201310Year Member
Posts: 454
Reputation Power: 26
nice work, thanks for the release
#6. Posted:
CodeOrNah
  • New Member
Status: Offline
Joined: Oct 14, 20149Year Member
Posts: 7
Reputation Power: 0
Status: Offline
Joined: Oct 14, 20149Year Member
Posts: 7
Reputation Power: 0
Why does it glitch out when ever you die once or more? I mean as in when you go to press a bind to do a command and if you died once or more.. it will tell you "On" "Off" "On" so pretty much it doesn't turn off and stays on... then if you die again it will go "Off" "On" "Off" then it will not turn on and be off... try it yourself and you will see what i mean.. After you die it doesn't do the commands correctly. And the iPrintIn spams it cause its messed up.. Can you fix it please?
#7. Posted:
Taxi
  • TTG Addict
Status: Offline
Joined: Oct 17, 201112Year Member
Posts: 2,296
Reputation Power: 191
Status: Offline
Joined: Oct 17, 201112Year Member
Posts: 2,296
Reputation Power: 191
CodeOrNah wrote Why does it glitch out when ever you die once or more? I mean as in when you go to press a bind to do a command and if you died once or more.. it will tell you "On" "Off" "On" so pretty much it doesn't turn off and stays on... then if you die again it will go "Off" "On" "Off" then it will not turn on and be off... try it yourself and you will see what i mean.. After you die it doesn't do the commands correctly. And the iPrintIn spams it cause its messed up.. Can you fix it please?
Dont hold the button down then? Give it a quick click and it will show the mod that has been activated, and all them other errors i dont get thats only you.
#8. Posted:
CodeOrNah
  • New Member
Status: Offline
Joined: Oct 14, 20149Year Member
Posts: 7
Reputation Power: 0
Status: Offline
Joined: Oct 14, 20149Year Member
Posts: 7
Reputation Power: 0
Taxi wrote
CodeOrNah wrote Why does it glitch out when ever you die once or more? I mean as in when you go to press a bind to do a command and if you died once or more.. it will tell you "On" "Off" "On" so pretty much it doesn't turn off and stays on... then if you die again it will go "Off" "On" "Off" then it will not turn on and be off... try it yourself and you will see what i mean.. After you die it doesn't do the commands correctly. And the iPrintIn spams it cause its messed up.. Can you fix it please?
Dont hold the button down then? Give it a quick click and it will show the mod that has been activated, and all them other errors i dont get thats only you.



No giving it a quick click does it.. I'm not holding it.. and its not only me.. you try it.. cause its your code that's doing it.. and idk why.. :/ Ok start up a custom game put a Bot or more doesn't matter only to test the aimbot.. and then when in game turn on aimbot.. then it will work all fine.. then kill yourself or somehow die.. and then try to turn off aimbot.. and you will see exactly what i'm talking about it repeats and doesn't work correctly after dying..
#9. Posted:
CodeOrNah
  • New Member
Status: Offline
Joined: Oct 14, 20149Year Member
Posts: 7
Reputation Power: 0
Status: Offline
Joined: Oct 14, 20149Year Member
Posts: 7
Reputation Power: 0
Taxi wrote
CodeOrNah wrote Why does it glitch out when ever you die once or more? I mean as in when you go to press a bind to do a command and if you died once or more.. it will tell you "On" "Off" "On" so pretty much it doesn't turn off and stays on... then if you die again it will go "Off" "On" "Off" then it will not turn on and be off... try it yourself and you will see what i mean.. After you die it doesn't do the commands correctly. And the iPrintIn spams it cause its messed up.. Can you fix it please?
Dont hold the button down then? Give it a quick click and it will show the mod that has been activated, and all them other errors i dont get thats only you.


Here I made a video to show you better.. what I'm talking about exactly.. here is the video Link: [ Register or Signin to view external links. ]
#10. Posted:
xChillest
  • TTG Addict
Status: Offline
Joined: Jul 30, 201211Year Member
Posts: 2,396
Reputation Power: 123
Status: Offline
Joined: Jul 30, 201211Year Member
Posts: 2,396
Reputation Power: 123
@CodeOrNah, Taxi has the binds to load on player spawn instead of on player connect, so it loads the binds every time you spawn and running it multiple times each time you press a button. Just move it into onPlayerConnect and it should work fine.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.