Bully-Board
Bully Modding Section => Script Modding => Topic started by: AfterLife on February 13, 2015, 08:31:41 PM
-
My eyes have been opened now ,I'll share everything I have with the community.
Code 1:
PlayerSwapModel
Code 2:
function Block()
if IsButtonPressed(10,0) and IsButtonBeingPressed(12,0) and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionTree(gPlayer,"/Global/Player","Act/Player.act")
elseif IsButtonBeingReleased (10,0) and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then
PedSetActionTree(gPlayer,"/Global/"..style,"Act/Anim/"..style..".act")
end
end
Remember to add a new function at the lua script ex
Block()
That's all iI'll share today , hope I helped everyone.
-
I think giving the arguments to PlayerSwapModel would help more...
PlayerSwapModel("ModelName")
PedSwapModel(ped,"ModelName")
Model names can be found in default.ide.
-
I think giving the arguments to PlayerSwapModel would help more...
PlayerSwapModel("ModelName")
PedSwapModel(ped,"ModelName")
Model names can be found in default.ide.
Thanks for more info, it'll be added.
-
Most of this is already shared.
-
gr8 bump8 m8.
-
LOL, i coulda sweard that it said "Today" at daboss's post.