News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Hey,I need help!!  (Read 4368 times)

0 Members and 3 Guests are viewing this topic.

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Hey,I need help!!
« on: July 05, 2013, 04:58:25 AM »
hey guys help me.......
why jimmy just standing???
Code: [Select]
  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......

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Re: Hey,I need help!!
« Reply #1 on: July 05, 2013, 06:37:28 AM »
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
« Last Edit: July 05, 2013, 06:38:59 AM by ''Soap''MacTavish »

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Hey,I need help!!
« Reply #2 on: July 05, 2013, 09:12:35 AM »
Probably because you didn't load the animation group.

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Re: Hey,I need help!!
« Reply #3 on: July 05, 2013, 11:03:11 AM »
Probably because you didn't load the animation group.


I've put LoadAnimationGroup ....
I put is this ....
Code: [Select]
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

Offline ultrasbully

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Re: Hey,I need help!!
« Reply #4 on: July 05, 2013, 11:28:38 AM »
post your full script man..

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Re: Hey,I need help!!
« Reply #5 on: July 05, 2013, 12:21:39 PM »
post your full script man..

k....
Code: [Select]
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

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Hey,I need help!!
« Reply #6 on: July 05, 2013, 02:48:12 PM »
"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")

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Re: Hey,I need help!!
« Reply #7 on: July 05, 2013, 11:58:24 PM »
"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