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


Author Topic: Set somones fighting style trugh lua without spawning them  (Read 3023 times)

0 Members and 1 Guest are viewing this topic.

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Set somones fighting style trugh lua without spawning them
« on: November 25, 2013, 03:25:59 AM »
I have tryed to set somones fighting style trugh lua and it dont work.
I have tryed many stuff but dont work:

PedSetActionTree(30, "/Global...........
Tryed to set the fighting style to that peds id
Nothing happends

PedSetActionTree(N_Casey, "/Global..........
Bugs the whole game, makes jimmy to a ped (Not able to open doors)

local Casey = N_Casey
PedSetActionTree(Casey, "/Global..............
Same thing as above


You know how to do this without to crash the game.
Please tell me

Thanks :)


Offline denifarropilha

  • LUA Modder 8)
  • Jr. Member
  • **
  • Posts: 24
  • Gender: Male
  • I'm a friendly brazilian bully modder :D
    • View Profile
Re: Set somones fighting style trugh lua without spawning them
« Reply #1 on: November 25, 2013, 07:19:30 PM »
I think it's impossible to change fighting styles trough LUA :cheersad:

Offline GaryHarrington

  • A Guy Who Likes Open World and FPS Games
  • Sr. Member
  • ***
  • Posts: 515
  • Gender: Male
  • Just Love Bully and GTA ...Nothing Interested
    • View Profile
Re: Set somones fighting style trugh lua without spawning them
« Reply #2 on: November 25, 2013, 10:18:56 PM »
I think it's impossible to change fighting styles trough LUA :cheersad:

That wasn't impossible at all

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: Set somones fighting style trugh lua without spawning them
« Reply #3 on: November 26, 2013, 12:11:48 AM »
^ he means peds through freeroam its "Impossible".

Idk maybe there is away but we are not doing it right.

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Set somones fighting style trugh lua without spawning them
« Reply #4 on: November 26, 2013, 02:54:43 AM »
Easy as cake.
Use PedGetTargetedPed() and bind a button so all u gotta do is lock on a ped and press that button to change its style.

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Re: Set somones fighting style trugh lua without spawning them
« Reply #5 on: November 26, 2013, 02:56:09 AM »
I know c00l.

But i mean like all caseys that spawns will have another style

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: Set somones fighting style trugh lua without spawning them
« Reply #6 on: November 26, 2013, 04:45:29 AM »
Try using he's model name in the PedAetActionTree command.

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Re: Set somones fighting style trugh lua without spawning them
« Reply #7 on: November 26, 2013, 04:48:01 AM »
I did that lol. You see in the topic

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: Set somones fighting style trugh lua without spawning them
« Reply #8 on: November 30, 2013, 12:59:07 AM »
C00ld0c read before posting xDDD

And for now is impossible.

deadpoolXYZ

  • Guest
Re: Set somones fighting style trugh lua without spawning them
« Reply #9 on: November 30, 2013, 03:03:45 PM »
+1 reason ide modding is still usefull until someone finds out how to do it via LUA.

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Re: Set somones fighting style trugh lua without spawning them
« Reply #10 on: November 30, 2013, 03:14:51 PM »
I know, but i cant mod ide :/

it crashes all the time.

deadpoolXYZ

  • Guest
Re: Set somones fighting style trugh lua without spawning them
« Reply #11 on: November 30, 2013, 03:42:48 PM »
I know, but i cant mod ide :/

it crashes all the time.

I'm about to end this year of school in a week or two. I'm probably coming back to bully modding so I can help you or anyone else.