Bully-Board
Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started 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
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
-
Have you tried other numbers?
-
Have you tried other numbers?
yea,i tried 4 , 5 not work.....
-
Post the full script.
-
Post the full script.
what do you mean??
-
Actually, never mind. I screwed up.
Anyways, I'm not sure what's wrong...try putting WeatherSet(3) under main = function()
-
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..........
-
I'm not sure then what's wrong.