I do Johnny Boss Style because i finding 3 hit combo if anyone have it please give me that code
This code:
GlobalImportScript("SObjTest.lua")
ImportScript("Library/LibTable.lua")
ImportScript("SZone.lua")
l_0_0 = 60
MissionSetup = function()
local l_1_0 = 270 -- X coords
local l_1_1 = -110 -- Y coords
local l_1_2 = 6.4000000953674 -- Z coords
AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)
PedSetTypeToTypeAttitude(1, 13, 2)
PedSetTypeToTypeAttitude(2, 13, 2)
PedSetTypeToTypeAttitude(3, 13, 1)
PedSetTypeToTypeAttitude(4, 13, 4)
PedSetTypeToTypeAttitude(5, 13, 1)
PedSetTypeToTypeAttitude(6, 13, 2)
PedSetTypeToTypeAttitude(11, 13, 2)
Johnny = PedCreateXYZ(23, l_1_0 +1, l_1_1 +1, l_1_2 +1)
PedRecruitAlly(gplayer, Darby)
Peanut = PedCreateXYZ(21, l_1_0 +2, l_1_1 +2, l_1_2 +2)
PedRecruitAlly(Johnny, Peanut)
PlayerSetHealth(2000)
PedSetHealth(Johnny, 300)
PedSetHealth(Peanut, 200)
end
F_MissionSetup = function()
LoadAnimationGroup("G_Johnny")
LoadActionTree("G_Johnny")
LoadActionTree("G_Melee_A")
LoadActionTree("G_Striker_A")
PlayerSetControl(1)
CameraFollowPed(gPlayer)
ClockSet(8, 30)
ClockSetTickRate(0.0060000000521541)
LaunchScript("SObjTest.lua")
end
MissionCleanup = function()
ClearTextQueue()
EnablePOI()
gMissionRunning = false
shared.gMissionEventFunction = nil
WeatherRelease()
PlayerSetControl(1)
PlayerSetPunishmentPoints(0)
end
main = function()
F_MissionSetup()
gMissionRunning = true
while gMissionRunning do
if IsButtonPressed(15,0) then
PedSetActionTree(gPlayer, "/Global/G_Striker_A", "Act/Anim/G_Striker_A.act")
elseif IsButtonPressed(10,0) and IsButtonPressed(8,0) then
PedSetActionTree(gPlayer, "/Global/G_Melee_A", "Act/Anim/G_Melee_A.act")
elseif IsButtonPressed(3,0) then
PedSetActionNode(gPlayer, "/Global/G_Johnny/Offense/Special/SpecialActions/Grapples/Dash", "Act/Anim/G_Johnny.act")
elseif IsButtonPressed(9,0) then
PedSetActionNode(gPlayer, "/Global/G_Johnny/Offense/Medium/HeavyAttacks/RoundHouseKick", "Act/Anim/G_Johnny.act")
elseif IsButtonPressed(14,0) then
PedSetActionTree(gPlayer, "/Global/G_Johnny", "Act/Act/Anim/G_Johnny.act")
PedLoadAITree(gPlayer, "/Global/JohnnyAI", "Act/AI/AI_JOHNNY_3_B.act")
end
UpdateTextQueue()
Wait(0)
end
end
When i play in boy dorm it's turn black tell me why please