News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..
0 Members and 1 Guest are viewing this topic.
[code][code][code][code][codeMissionSetup = function() local l_1_0 = 270 local l_1_1 = -110 local l_1_2 = 6.4000000953674 end function MissionSetup() PlayerSetHealth(5000) AreaTransitionXYZ(0, 270, -110, 6) SoundPlayStream("MS_FightMid02.rsm", 0.6) PlayerSwapModel("JK_LuisWrestle") PedSetAITree(gPlayer, "/Global/PlayerAI","Act/PlayerAI.act") TextPrintString("Luis Wrestling Mod", 4, 1) WaitSkippable(5000) TextPrintString("When mod is at 75% Progress, I will certainly release a J_Striker_A", 4, 1) WaitSkippable(5000) TextPrintString("When this mod is 100% complete, I'll upload it to Bully Board :D", 3, 1) WaitSkippable(5000) TextPrintString("Fin This Mod Bully Modder done for me 74 Enjoy!", 3, 1) -- wtfendfunction MissionCleanup() collectgarbage()endfunction main() while true do if IsButtonPressed(8,0) then SoundPlayScriptedSpeechEvent(gPlayer, "FIGHT") end f_strafe() Wait(0) endendfunction f_strafe() if IsButtonPressed(10,0) and IsMoving() and not isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then PedSetActionNode(gPlayer,"/Global/J_Grappler_A/Default_KEY/ExecuteNodes/LocomotionOverride/Combat/CombatBasic","Act/Anim/J_Grappler_A.act") isStrafing = true elseif (not IsButtonPressed(10,0) or not IsMoving()) and isStrafing and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then PedSetActionTree(gPlayer,"/Global/J_Grappler_A", "Act/Anim/J_Grappler_A.act") isStrafing = false elseif isStrafing then local x,y,z = PedGetPosXYZ(PedGetTargetPed()) PedFaceXYZ(gPlayer,x,y,z) endendIsMoving = function() local s = 0.08 return GetStickValue(16,0) > s or GetStickValue(16,0) < -s or GetStickValue(17,0) > s or GetStickValue(17,0) < -send F_MissionSetup = function() LoadActionTree("J_Grappler_A") PlayerSetControl(1) DisablePunishmentSystem(false) ClockSet(8, 30) ClockSetTickRate(0.0060000000521541) LaunchScript("SObjTest.lua")endMissionCleanup = function() end main = function() F_MissionSetup() gMissionRunning = true while gMissionRunning do elseif IsButtonPressed(3,0) then PedSetActionNode(gPlayer, "/Global/Ambient/HarassMoves/HarassShort/Shoves", "Act/Conv/Ambient.act") elseif IsButtonPressed(0,0) then PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Front/Grapples/GrappleMoves/BearHug","Globals/G_Grappler_A.act") elseif IsButtonPressed(3,0) then PedSetActionNode(gPlayer, "/Global/Actions/Grapples/Mount/GrappleMoves/Headbutt","Globals/DO_Striker_A.act") elseif IsButtonPressed(6,0) and IsButtonPressed(7,0) then PedSetActionNode(gplayer, "/Global/Player/Attacks/Strikes/RunningAttacks/HeavyAttacks/RunShoulder","Act/Player.act") elseif IsButtonPressed(6,0) then PedSetActionNode(gplayer, "/Global/J_Grappler_A/Offense/Short/Strikes/HeavyAttacks/RightPunch/Axehandle","act/anim/J_Grappler_A.act") end UpdateTextQueue() Wait(0) end end]
i'm not helping u with this one cause u copied that second "main()" function from someone else because I've help kovn with this exact same script.