46
Modding Questions/Help Archives / help me lua script.lua :17: "end excepected (to close "if" at line 12) near
« on: September 03, 2015, 08:35:52 PM »
ImportScript("Library/LibTable.lua")
ImportScript("Library/LibTrigger.lua")
ImportScript("Library/LibSchool.lua")
ImportScript("SGlFunc.lua")
ImportScript("SZone.lua")
local l_0_0 = false
MissionSetup = function()
AreaTransitionXYZ(0,270,-110,6)
end
if IsButtonPressed(0, 0) and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then --Down on the D-PAD will do the tornado kick. (Only if not grappling.)
PedSetActionTree(gplayer, "/Global/P_Striker_A/Defense/Evade/EvadeCounter/LightAttacks/EvadeBackPunch", "Act/Anim/P_Striker_A.act")
Wait(250)
ImportScript("Library/LibTrigger.lua")
ImportScript("Library/LibSchool.lua")
ImportScript("SGlFunc.lua")
ImportScript("SZone.lua")
local l_0_0 = false
MissionSetup = function()
AreaTransitionXYZ(0,270,-110,6)
end
if IsButtonPressed(0, 0) and not PedIsValid(PedGetGrappleTargetPed(gPlayer)) then --Down on the D-PAD will do the tornado kick. (Only if not grappling.)
PedSetActionTree(gplayer, "/Global/P_Striker_A/Defense/Evade/EvadeCounter/LightAttacks/EvadeBackPunch", "Act/Anim/P_Striker_A.act")
Wait(250)