Why this not work??
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
PlayerSetHealth(50000) -- gives the player 50000 health
AreaTransitionXYZ(0,l_1_0,l_1_1,l_1_2)
ifIsButtonPressed(0,0) then
---code of weather----
elseifIsButtonPressed(1,0) then
---code of weather---
(0,0)= left arrow
(1,0)= right arrow
(14,0)= X
(15,0)= C
end
MissionCleanup = function()
end -- end statement
main = function() -- Main mission function
repeat
Wait(0)
until l_0_0 ~= false
Wait(3000)
MissionSucceed()
end
When i compiling that,that not work....
can help me??