Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: DarbyHarringtonMind on April 26, 2013, 01:01:30 AM

Title: Help....!!!!!
Post by: DarbyHarringtonMind on April 26, 2013, 01:01:30 AM
hey,i need help for this, I added WeatherSet (3) in lua, it not work ...
why??
can fix it???
This My code
Code: [Select]
ImportScript("\\Library\\LibTable.lua") -- imports the LibTable library
ImportScript("\\Library\\LibPed.lua") -- imports the LibPed library
local l_0_0 = false
 
MissionSetup = function() -- basic mission setup function which is used in almost all bully scripts
  local l_1_0 = 270 -- X coords
  local l_1_1 = -110 -- Y coords
  local l_1_2 = 6.4000000953674 -- Z coords
 
  WeatherSet(3)   

  PlayerSetHealth(200) -- gives the player 200 health
  AreaTransitionXYZ(0,l_1_0,l_1_1,l_1_2)
   
end
 
MissionCleanup = function()
end -- end statement
 
main = function() -- Main mission function
  repeat
    Wait(0)
  until l_0_0 ~= false
  Wait(3000)
  MissionSucceed()
end
Title: Re: Help....!!!!!
Post by: Red Blaster on April 26, 2013, 05:00:06 AM
Have you tried other numbers?
Title: Re: Help....!!!!!
Post by: DarbyHarringtonMind on April 26, 2013, 06:02:11 AM
Have you tried other numbers?

yea,i tried 4 , 5 not work.....
Title: Re: Help....!!!!!
Post by: Red Blaster on April 27, 2013, 02:13:14 PM
Post the full script.
Title: Re: Help....!!!!!
Post by: DarbyHarringtonMind on April 27, 2013, 03:56:37 PM
Post the full script.

what do you mean??
Title: Re: Help....!!!!!
Post by: Red Blaster on April 27, 2013, 04:21:44 PM
Actually, never mind. I screwed up.

Anyways, I'm not sure what's wrong...try putting WeatherSet(3) under main = function()
Title: Re: Help....!!!!!
Post by: DarbyHarringtonMind on April 27, 2013, 04:25:17 PM
Actually, never mind. I screwed up.

Anyways, I'm not sure what's wrong...try putting WeatherSet(3) under main = function()

Nothing happens,not work..........
Title: Re: Help....!!!!!
Post by: Red Blaster on April 27, 2013, 06:42:08 PM
I'm not sure then what's wrong.