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


Author Topic: Can anyone post a lua script that is for changing the fighting styles of Jimmy?  (Read 3554 times)

0 Members and 1 Guest are viewing this topic.

E32050TRA

  • Guest
That would be great!  :D

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Wrong section, moving it to requests.

Offline xXxNarumi

  • Apprehended (Captured)
  • Hero Member
  • ****
  • Posts: 2,641
  • Gender: Male
  • xNarumi wont be missed.
    • View Profile
Great job SWEGTA!

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Anyway

The code to change a fight style is the next

PedSetActionTree(gPlayer, "/Global/STYLE", "Act/Anim/STYLE")

In the place that says STYLE replace it with for example
DO_Striker_A
And some styles you need to load is animation group.

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Anyway

The code to change a fight style is the next

PedSetActionTree(gPlayer, "/Global/STYLE", "Act/Anim/STYLE")

In the place that says STYLE replace it with for example
DO_Striker_A
And some styles you need to load is animation group.


Learning you are, my young Bullywan.

deadpoolXYZ

  • Guest
Actually everyone knows that.  :cheernutz:
It's one of the most used commands.

Offline Evolution

  • Elitist
  • *********
  • Posts: 13,574
  • Gender: Male
    • View Profile
Haha, Hex Editing is so 'Old-school' nowadays  :laugh:

E32050TRA

  • Guest
When I try to compile the script it says I have a error with the script. :hmm:

Offline MikerBarba

  • Cold as winter ice, this is your paradise?
  • Sr. Member
  • ***
  • Posts: 718
  • Gender: Male
    • View Profile
Actually everyone knows that.  :cheernutz:
It's one of the most used commands.
i didn't knew that,  problem?

deadpoolXYZ

  • Guest
Actually everyone knows that.  :cheernutz:
It's one of the most used commands.
i didn't knew that,  problem?

I meant everyone who has made at least 1 lua script on their own.

When I try to compile the script it says I have a error with the script. :hmm:

The compiler will tell you the line where you made a mistake and the word that is next to it. If you still have problems with it post the code here.

E32050TRA

  • Guest
I fixed it myself!  :cheernutz:

Offline Evolution

  • Elitist
  • *********
  • Posts: 13,574
  • Gender: Male
    • View Profile
Good job ;)

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
It's a big step forward to fix stuff yourself imo.
Cheers!