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


Author Topic: is this possible?  (Read 2079 times)

0 Members and 1 Guest are viewing this topic.

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
is this possible?
« on: February 20, 2016, 12:17:26 AM »
so i wanna make a betting fight the one similar to the one on freak show but i wanna do it in the hole. is it possible to do so?

Offline UltimateGamer9

  • Full Member
  • ***
  • Posts: 190
  • Gender: Male
    • View Profile
Re: is this possible?
« Reply #1 on: February 20, 2016, 12:19:00 AM »
oops sorry delete this post i dont even know wat i want

Offline james004

  • Full Member
  • ***
  • Posts: 130
  • Gender: Male
    • View Profile
Re: is this possible?
« Reply #2 on: February 20, 2016, 12:44:56 AM »
so i wanna make a betting fight the one similar to the one on freak show but i wanna do it in the hole. is it possible to do so?

I understand, maybe it's possible.

Offline Bellic19

  • Sr. Member
  • ***
  • Posts: 933
  • Gender: Male
    • View Profile
Re: is this possible?
« Reply #3 on: February 20, 2016, 06:40:11 AM »
If you could play that script of the midget wrestlers and then just use AreaTransitionXYZ(Hole Coordinates) and swap their models (if you know the code)

Offline AlphaTech

  • LostInSpace
  • Sr. Member
  • ***
  • Posts: 758
  • Gender: Male
  • The name's AlphaTECH, whatca need help with?! :)
    • View Profile
Re: is this possible?
« Reply #4 on: February 28, 2016, 09:48:22 PM »
Easy set buttons to the beginning of a fight then when the amount = set amount start the fight so.

Code: [Select]
function MissionSetup()
BettingGame = false
PedCRTEXYZ(Ted)
PedCRTEXYZ(Johnny)
end

function BetCounter()
if Money = false and ButtonIsPressed( 8,0) then
("Text : 2.00$ Slot for bet.")
Money = true
end


function BettingStart()
if BettingGame = false and PedIsValid(Ted)
("Text : Set your Bet")
PedAttack(Ted,Johnny)
PedAttack(Johnny,Ted)
BettingGame = true
end

function BettingGameFinish()
if BettingGame = true and PedIsDead(Ted)
BettingGame = false
("Text : U lost 2.00$ stupid fgt m8.")
end

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: is this possible?
« Reply #5 on: February 28, 2016, 10:22:11 PM »
Yes it is possible and it should be rather simple for you once you understand the basics of scripting in Bully. AlphaTech's script is riddled with errors and you should not use it. I'll come back tomorrow and explain how you can make this mod from scratch and explain everything you'll need to know about how it works along with it.