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


Author Topic: help  (Read 4154 times)

0 Members and 2 Guests are viewing this topic.

Offline memecomici

  • Newbie
  • *
  • Posts: 0
    • View Profile
help
« on: June 21, 2013, 01:27:54 AM »
hey man, i'm new member, i learn to get fighting style with lua, can you tell me?
i mean to fighting style to map button jimmy?
i using fighting style chad from lua this work, but i'm tired to get knocked down people, because people cannot knocked down with upercut chad
sorry to bad english

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: help
« Reply #1 on: June 21, 2013, 01:30:55 AM »
You want to know how to use a style using a button?

Use this if yes.
Quote
PedSetActionTree(gPlayer, "/Global/Player", "Act/Anim/Player.act")

And what is your language? :D

Offline memecomici

  • Newbie
  • *
  • Posts: 0
    • View Profile
Re: help
« Reply #2 on: June 21, 2013, 01:55:30 AM »
You want to know how to use a style using a button?

Use this if yes.
Quote
PedSetActionTree(gPlayer, "/Global/Player", "Act/Anim/Player.act")

And what is your language? :D
my language is indonesian, i using google translate to use language english

no man, i use fighting style chad/p_grapple_a, but i can't to knocked down people with fighting style chad/p_grapple_a with damon, bif, another adult, can you tell me to get fighting style to get knocked down people?

thank's

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: help
« Reply #3 on: June 21, 2013, 02:02:36 AM »
Using

Code: [Select]
PedSetActionTree(gPlayer, "/Global/Player", "Act/Anim/Player.act") -- Will change the style
And if you want to add a button to change it do this :

Code: [Select]
if IsButtonPressed(0, 0) then  -- Left Button
  PedSetActionTree(gPlayer, "/Global/Player", "Act/Anim/Player.act")
  elseif IsButtonPressed(1, 0) then  -- Right Button
  PedSetActionTree(gPlayer, "/Global/P_Grappler_A", "Act/Anim/P_Grappler_A.act")

If you want add more buttons just remember to use at the first part "elseif" instead of "if"

Offline memecomici

  • Newbie
  • *
  • Posts: 0
    • View Profile
Re: help
« Reply #4 on: June 21, 2013, 02:08:16 AM »
Using

Code: [Select]
PedSetActionTree(gPlayer, "/Global/Player", "Act/Anim/Player.act") -- Will change the style
And if you want to add a button to change it do this :

Code: [Select]
if IsButtonPressed(0, 0) then  -- Left Button
  PedSetActionTree(gPlayer, "/Global/Player", "Act/Anim/Player.act")
  elseif IsButtonPressed(1, 0) then  -- Right Button
  PedSetActionTree(gPlayer, "/Global/P_Grappler_A", "Act/Anim/P_Grappler_A.act")

If you want add more buttons just remember to use at the first part "elseif" instead of "if"
ok", thank's bro for helping me

Offline Jaggerkillpreppy

  • Newbie
  • *
  • Posts: 0
  • Gender: Male
    • View Profile
Re: help
« Reply #5 on: June 21, 2013, 02:09:38 AM »
Using

Code: [Select]
PedSetActionTree(gPlayer, "/Global/Player", "Act/Anim/Player.act") -- Will change the style
And if you want to add a button to change it do this :

Code: [Select]
if IsButtonPressed(0, 0) then  -- Left Button
  PedSetActionTree(gPlayer, "/Global/Player", "Act/Anim/Player.act")
  elseif IsButtonPressed(1, 0) then  -- Right Button
  PedSetActionTree(gPlayer, "/Global/P_Grappler_A", "Act/Anim/P_Grappler_A.act")

If you want add more buttons just remember to use at the first part "elseif" instead of "if"
ok", thank's bro for helping me
check your pm please ,, maybe i can help u

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: help
« Reply #6 on: June 21, 2013, 02:12:27 AM »
Ok, Thank's bro for helping me.

No Problem :DD

Offline memecomici

  • Newbie
  • *
  • Posts: 0
    • View Profile
Re: help
« Reply #7 on: June 21, 2013, 02:54:19 AM »
hey man, i need your help again, can you tell me part" script figthing style?
example, i want script shoulder bash (from J_melee_A) to working for me, can you tell me, this example to learn get part" fighting style people

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: help
« Reply #8 on: June 21, 2013, 06:12:12 AM »
Im sorry that I am gonna sound like a jerk but, Its a shame you ask question the minute you register to the board. Not even a interduction?

Anyway, What do u mean?
If you want a shoulder barge then use a fighting style that has one.
I am not sure if u can add moves to an existing action tree withl lua.

Offline memecomici

  • Newbie
  • *
  • Posts: 0
    • View Profile
Re: help
« Reply #9 on: June 21, 2013, 06:38:59 AM »
Im sorry that I am gonna sound like a jerk but, Its a shame you ask question the minute you register to the board. Not even a interduction?

Anyway, What do u mean?
If you want a shoulder barge then use a fighting style that has one.
I am not sure if u can add moves to an existing action tree withl lua.
check via pm

Offline SWEGTA

  • Da Forum Luffs Me!
  • *****
  • Posts: 6,422
  • Gender: Male
  • Swee Gee Tee Ayy
    • View Profile
    • Bully & GTA videos
Re: help
« Reply #10 on: June 21, 2013, 11:46:35 AM »
Im sorry that I am gonna sound like a jerk but, Its a shame you ask question the minute you register to the board. Not even a interduction?

Wether or not he introduces himself is not relevant.
If this individual wishes to remain anonymous for whatever reason, then I think that we should all respect that.


Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: help
« Reply #11 on: June 21, 2013, 03:25:15 PM »
hey man, i need your help again, can you tell me part" script figthing style?
example, i want script shoulder bash (from J_melee_A) to working for me, can you tell me, this example to learn get part" fighting style people


You mean you want to use the Shoulder Charge from J_Melee_A?
Why you dont simple change the style?

Offline memecomici

  • Newbie
  • *
  • Posts: 0
    • View Profile
Re: help
« Reply #12 on: June 22, 2013, 06:44:48 AM »
hey man, i need your help again, can you tell me part" script figthing style?
example, i want script shoulder bash (from J_melee_A) to working for me, can you tell me, this example to learn get part" fighting style people


You mean you want to use the Shoulder Charge from J_Melee_A?
Why you dont simple change the style?
now answer with c00ld0c26, thanks for helping me