News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Another button  (Read 4451 times)

0 Members and 1 Guest are viewing this topic.

Offline Enderman

  • What i'm doing right now?
  • Full Member
  • ***
  • Posts: 293
  • Gender: Male
  • I'm no longer do mods for Bully ...
    • View Profile
    • bully-board.com
Another button
« on: January 23, 2015, 04:31:19 AM »
How to make another button like r or h or m or something like that?  :blank:

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: Another button
« Reply #1 on: January 23, 2015, 05:16:26 AM »


what?

I don't understand.

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Re: Another button
« Reply #2 on: January 23, 2015, 06:26:45 AM »


what?

I don't understand.
He means well , like other than those buttons , bind it to even more buttons.

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,423
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: Another button
« Reply #3 on: January 23, 2015, 07:21:45 AM »
Explain or the thread dies.
*cocks gun*

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: Another button
« Reply #4 on: January 23, 2015, 11:56:27 AM »
So... if I understood correctly like a brand new button like K or P to bind too? I dont believe its possible without some scripthook that allows for full key functions.

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Another button
« Reply #5 on: January 23, 2015, 10:54:00 PM »
You can use a second controller.

Offline Enderman

  • What i'm doing right now?
  • Full Member
  • ***
  • Posts: 293
  • Gender: Male
  • I'm no longer do mods for Bully ...
    • View Profile
    • bully-board.com
Re: Another button
« Reply #6 on: January 24, 2015, 07:03:30 PM »
but i don't have xbox 360 controller

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Another button
« Reply #7 on: January 24, 2015, 08:12:45 PM »
Well, as explained here, buttons are not binded to specific keys like 'x' or 'h' or 'space' or 'shift' or whatever. So for what you want... you'd have to make a whole new action thing, which definitely can't be done in LUA.

But maybe there is a function to see if a certain key is pressed, rather than a game button. Like IsKeyPressed instead of IsButtonPressed (That's not a real function but just for example of what it could maybe be). Hooking into the game could work too, as then you could use whatever code you wanted, not just Bully LUA, to get what keys are pressed. But don't ask how hooking works.. because it's a big explanation and I can't teach you. Here's a wikipedia page if you really wanna give it a shot: Hooking.

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: Another button
« Reply #8 on: January 25, 2015, 02:24:30 AM »
Ya basically. Like how Gta IV ScriptHooks works to work with all keys.