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


Author Topic: Help....!!!!!  (Read 2884 times)

0 Members and 1 Guest are viewing this topic.

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Help....!!!!!
« 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

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Help....!!!!!
« Reply #1 on: April 26, 2013, 05:00:06 AM »
Have you tried other numbers?

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Re: Help....!!!!!
« Reply #2 on: April 26, 2013, 06:02:11 AM »
Have you tried other numbers?

yea,i tried 4 , 5 not work.....

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Help....!!!!!
« Reply #3 on: April 27, 2013, 02:13:14 PM »
Post the full script.

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Re: Help....!!!!!
« Reply #4 on: April 27, 2013, 03:56:37 PM »
Post the full script.

what do you mean??

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Help....!!!!!
« Reply #5 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()

Offline DarbyHarringtonMind

  • XX
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • Move forward, Don't look back........
    • View Profile
Re: Help....!!!!!
« Reply #6 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..........

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Help....!!!!!
« Reply #7 on: April 27, 2013, 06:42:08 PM »
I'm not sure then what's wrong.