The best current way to do this is by making a script that repeatedly checks if a button was pressed, and if so set an action node on the player. It also helps to make sure the player is playing the "Default_KEY" node before setting any attacks (and therefor before even checking for button presses). "Default_KEY" is basically what action peds are playing when they aren't doing any other action (actions being things like attacks, interacting with props, being hit, etc). Here's an example of how you could do it (of course this isn't a complete example, so implement it in your script how you wish).
while true do
if PedMePlaying(gPlayer,"Default_KEY") then
if IsButtonBeingPressed(15,0) then
PedSetActionNode(gPlayer,--[["node", "file.act" here]])
elseif IsButtonBeingPressed(3,0) then
PedSetActionNode(gPlayer,--[["node", "file.act" here]])
end
end
Wait(0)
end
There are tons of posts around the board where I explain more in depth what action nodes are, how to find them, and things like that. Look around modding help and tutorial sections and you may be able to find more. In short, an action node is a part of an action. They build onto each other, for example /Global/Player is what is called the action tree for the player, the root of all action nodes. /Global/Player/Attacks/Strikes/LightAttacks/Left1 for example is an action node for the player. Combos and actions with multiple parts build on, so the next punch in the player combo is this: /Global/Player/Attacks/Strikes/LightAttacks/Left1/Right2. The action files are something that aren't in the game files anymore, but they are still referred to in scripts and they are basically now stored in .cat files (they were supposedly originally .act files). See Act.img in Bully's Act folder to see all the different .cat files. This file is needed when setting an action node or tree, the player's action file is Act/Player.act. NPC style action files are Act/Anim/Style.act, where you replace Style with the style's name. So Act/Anim/G_Striker_A.act is an example.
I personally have written a lot more replies to others that could help you, but I don't remember where they're at so sadly I can't get them to you. Might try to find them soon and put them all together.
Here's a topic with a list of action nodes and discussion about finding them:
http://bully-board.com/index.php?topic=22045.0