Bully-Board
Bully Modding Section => Script Modding => LUA Scripting Help => Topic started by: DarbyHarringtonMind on July 05, 2013, 04:58:25 AM
-
hey guys help me.......
why jimmy just standing???
elseif IsButtonPressed(14, 0) then
PedSetActionNode(gPlayer, "/Global/5_02/animations/StandingSmoke/StubItOut", "Act/Conv/5_02.act")
elseif IsButtonPressed(15, 0) then
PedSetActionNode(gPlayer, "/Global/3_05/Animations/Idles/Smoking", "Act/Conv/3_05.act")
why jimmy just pull out the smoke from his mouth?
i need help guys......
-
Because you gave jimmy a standing smoke amination
yeah....
but,i means jimmy like ...
not work or like he stretched out his hand ....
can Guys help me??? :D :D
-
Probably because you didn't load the animation group.
-
Probably because you didn't load the animation group.
I've put LoadAnimationGroup ....
I put is this ....
F_MissionSetup = function()
PlayerSetInvulnerable(true)
DisablePunishmentSystem(true)
LoadAnimationGroup("Russell")
LoadAnimationGroup("B_Striker")
LoadAnimationGroup("P_Striker")
LoadAnimationGroup("Boxing")
LoadAnimationGroup("Straf_Prep")
LoadAnimationGroup("F_Preps")
LoadAnimationGroup("G_Johnny")
LoadAnimationGroup("F_Greas")
LoadAnimationGroup("G_Grappler")
LoadAnimationGroup("G_Striker")
LoadAnimationGroup("Straf_Wrest")
LoadAnimationGroup("DO_Striker")
LoadAnimationGroup("DO_StrikeCombo")
LoadAnimationGroup("F_Douts")
LoadAnimationGroup("IDLE_JOCK_A")
LoadAnimationGroup("F_JOCKS")
LoadAnimationGroup("NPC_Mascot")
LoadAnimationGroup("J_Grappler")
LoadAnimationGroup("C_Wrestling")
LoadAnimationGroup("Earnest")
LoadAnimationGroup("SNERD_I")
LoadAnimationGroup("SNERD_S")
LoadAnimationGroup("N_Striker_B")
LoadAnimationGroup("F_Nerds")
LoadAnimationGroup("Nemesis")
LoadAnimationGroup("Halloween")
LoadAnimationGroup("TE_FEMALE")
LoadAnimationGroup("F_Girls")
LoadAnimationGroup("NPC_Adult")
LoadAnimationGroup("F_Adult")
LoadAnimationGroup("LE_ORDERLY")
LoadAnimationGroup("F_CRAZY")
LoadAnimationGroup("NPC_Principal")
LoadAnimationGroup("Authority")
LoadAnimationGroup("POI_SMOKING")
LoadAnimationGroup("Sitting_Boys")
LoadAnimationGroup("Hang_Talking")
LoadAnimationGroup("3_05")
LoadAnimationGroup("5_02")
end
-
post your full script man..
-
post your full script man..
k....
ImportScript("\\Library\\LibTable.lua")
ImportScript("\\Library\\LibPed.lua")
local l_0_0 = false
MissionSetup = function()
local l_1_0 = 270
local l_1_1 = -110
local l_1_2 = 6.4000000953674
PlayerSetHealth(50000)
AreaTransitionXYZ(0,l_1_0,l_1_1,l_1_2)
PedSetWeapon(gplayer, 420, 1)
PickupCreateXYZ(420, x, y, z)
end
F_MissionSetup = function()
PlayerSetInvulnerable(true)
DisablePunishmentSystem(true)
LoadAnimationGroup("Russell")
LoadAnimationGroup("B_Striker")
LoadAnimationGroup("P_Striker")
LoadAnimationGroup("Boxing")
LoadAnimationGroup("Straf_Prep")
LoadAnimationGroup("F_Preps")
LoadAnimationGroup("G_Johnny")
LoadAnimationGroup("F_Greas")
LoadAnimationGroup("G_Grappler")
LoadAnimationGroup("G_Striker")
LoadAnimationGroup("Straf_Wrest")
LoadAnimationGroup("DO_Striker")
LoadAnimationGroup("DO_StrikeCombo")
LoadAnimationGroup("F_Douts")
LoadAnimationGroup("IDLE_JOCK_A")
LoadAnimationGroup("F_JOCKS")
LoadAnimationGroup("NPC_Mascot")
LoadAnimationGroup("J_Grappler")
LoadAnimationGroup("C_Wrestling")
LoadAnimationGroup("Earnest")
LoadAnimationGroup("SNERD_I")
LoadAnimationGroup("SNERD_S")
LoadAnimationGroup("N_Striker_B")
LoadAnimationGroup("F_Nerds")
LoadAnimationGroup("Nemesis")
LoadAnimationGroup("Halloween")
LoadAnimationGroup("TE_FEMALE")
LoadAnimationGroup("F_Girls")
LoadAnimationGroup("NPC_Adult")
LoadAnimationGroup("F_Adult")
LoadAnimationGroup("LE_ORDERLY")
LoadAnimationGroup("F_CRAZY")
LoadAnimationGroup("NPC_Principal")
LoadAnimationGroup("Authority")
LoadAnimationGroup("POI_SMOKING")
LoadAnimationGroup("Sitting_Boys")
LoadAnimationGroup("Hang_Talking")
LoadAnimationGroup("3_05")
LoadAnimationGroup("5_02")
end
---------------------
-- Weather codes:
-- WeatherSet(0)
-- WeatherSet(1)
-- WeatherSet(2)
-- WeatherSet(3)
-- WeatherSet(4)
-- WeatherSet(5)
-- WeatherSet(6)
---------------------
MissionCleanup = function()
EnablePOI()
gMissionRunning = false
end
main = function()
gMissionRunning = true
while gMissionRunning do
if IsButtonPressed(0,0) then
WeatherSet(2)
elseif IsButtonPressed(1,0) then
WeatherSet(5)
elseif IsButtonPressed(3,0) then
PedSetActionTree(gPlayer, "/Global/Player", "Act/Player.act")
elseif IsButtonPressed(14, 0) then
PedSetActionNode(gPlayer, "/Global/5_02/animations/StandingSmoke/StubItOut", "Act/Conv/5_02.act")
elseif IsButtonPressed(15, 0) then
PedSetActionNode(gPlayer, "/Global/3_05/Animations/Idles/Smoking", "Act/Conv/3_05.act")
end
Wait(0)
end
end
-
"3_05" and "5_02" are not valid (benar or absah in Indonesian) animation groups.
LoadAnimationGroup("Sitting_Boys")
LoadAnimationGroup("POI_Smoking")
LoadActionTree("Act/Conv/3_05.act")
LoadAnimationGroup("NIS_5_02")
LoadAnimationGroup("5_02PrVandalized")
LoadActionTree("Act/Conv/5_02.act")
-
"3_05" and "5_02" are not valid (benar or absah in Indonesian) animation groups.
LoadAnimationGroup("Sitting_Boys")
LoadAnimationGroup("POI_Smoking")
LoadActionTree("Act/Conv/3_05.act")
LoadAnimationGroup("NIS_5_02")
LoadAnimationGroup("5_02PrVandalized")
LoadActionTree("Act/Conv/5_02.act")
ouu...
okk.....thanks sir.....! :euro: :D :D :D