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


Author Topic: Give a other button? and bug speech?  (Read 1312 times)

0 Members and 1 Guest are viewing this topic.

Offline embas10

  • Jr. Member
  • **
  • Posts: 27
  • Gender: Male
    • View Profile
Give a other button? and bug speech?
« on: April 24, 2014, 11:22:46 AM »
A.Giving other button
is there someone now how to make it?
if you guys dont understand check this example:

1.when we pressing down key with left key!
   some text will appear, he say"Greaser Faction" the syle change to G strker A
   the key moves: shooting and grab = johnny throatgrab
                            shooting and sprint = johnny axekick
                            shooting and jump = G Johnny Style
                            shooting and punch = G Strker A style
 
  AND! when i pressing down key again with right key!
  some text appear again,he say"Prep Faction" the syle change to P strker A
  and the key moves change to:  shooting and grab = darby 5 hit
                                                  shooting and sprint = darby evade uppercut
                                                  shooting and jump = darby Style
                                                  shooting and punch = P Strker A style
and i still can change what faction i want or prep or greaser! and the moves change too

2.when i push the objectif left key ! i only got a grappeler Node ( smack )
and when i push the objectif right key ! i only got a striker style

so how to do that ? i have many try but does'n work like this"

Code: [Select]

if IsButtonPressed(11,0) then
TextPrintString("Greaser Style", 4, 1)
if IsButtonPressed(1,0) and IsButtonPressed(9,0) then
PedSetActionNode(gPlayer, "johnny throatgrab", "Act"
elseif IsButtonPressed(2,0) and IsButtonPressed(9,0) then
PedSetActionTree(gPlayer, "johnny style", "Act"
elseif IsButtonPressed(3,0) and IsButtonPressed(9,0) then
PedSetActionTree(gPlayer, "G striker A style", "Act"

if IsButtonPressed(13,0) then
TextPrintString("prep Style", 4, 1)
if IsButtonPressed(1,0) and IsButtonPressed(9,0) then
PedSetActionNode(gPlayer, "darby 5 hit", "Act"
elseif IsButtonPressed(2,0) and IsButtonPressed(9,0) then
PedSetActionTree(gPlayer, "darby style", "Act"
elseif IsButtonPressed(3,0) and IsButtonPressed(9,0) then
PedSetActionTree(gPlayer, "P striker A style", "Act"


i try that! but whn i play only just the greaser work! i can't use prep style! when pressing -
13 button(not num 13) . still just greaser style i can use ! so please help me about this ok?  :)

B.Buging speech

i got error speech, when i try speeching using other ped with PS with my own lua!
this is a problem i got!:
1.when i try laughing to norton, because i scared him, using darby!
 i try to laugh! but why darby(me) laughing speech 3 times? he say:1.iusssssserrrrrr
                                                                                                          2.iusssssserrrrrr
                                                                                                          3.iusssssserrrrrr

i see darby just action laughing 1 time, but why he laughing speech 3 times

2.when i try to scared some one using speech taunting algernon(me)
i hear algernon speeching last than 1 times too! i just pressing the button to taunt 1 time, but he say 4 times word.
here the what algie say:1.stinky prouddddd
                                      2.go hope kiama
                                      3.kuppy packs!
                                      4.lussssssssssser panttttts

ok that the example bug speech! so how to give the solution? for 1 time action, and 1 time speeching too

ok that all my problem got from moding bully! so please help me to keep modding again! ok.  :laugh:

sorry for my bad english!  :-\