Bully-Board

Bully Modding Section => Script Modding => Topic started by: Craig Tucker on November 08, 2013, 11:06:37 AM

Title: my second lua mod
Post by: Craig Tucker on November 08, 2013, 11:06:37 AM
my second lua mod
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
 
  AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)

  TextPrintString("By Peanut Preppy slayer please like", 7, 2)
  PlayerSetHealth(6090)
  ClothingSetPlayerOutfit("Wrestling")
Limo =  VehicleCreateXYZ(290, 50, 40, 60)
   PedWarpIntoCar(gplayer, Limo)
Johnny = PedCreateXYZ(217, 50 , 70 , 80)
    PedSetWeapon(Johnny, 425, 1)
 Johnny = PickupCreateXYZ(425, 90, 90, 90)
end
 
MissionCleanup = function()
end
 
main = function()
  repeat
    Wait(0)
  until l_0_0 ~= false
  Wait(3000)
  MissionSucceed()
end
Title: Re: my second lua mod
Post by: denifarropilha on November 08, 2013, 03:23:45 PM
my second lua mod
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
 
  AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)

  TextPrintString("By Peanut Preppy slayer please like", 7, 2)
  PlayerSetHealth(6090)
  ClothingSetPlayerOutfit("Wrestling")
Limo =  VehicleCreateXYZ(290, 50, 40, 60)
   PedWarpIntoCar(gplayer, Limo)
Johnny = PedCreateXYZ(217, 50 , 70 , 80)
    PedSetWeapon(Johnny, 425, 1)
 Johnny = PickupCreateXYZ(425, 90, 90, 90)
end
 
MissionCleanup = function()
end
 
main = function()
  repeat
    Wait(0)
  until l_0_0 ~= false
  Wait(3000)
  MissionSucceed()
end
I recommend you to do a video , put a download file on mediafire, and post it on release section : D
Title: Re: my second lua mod
Post by: WhenLifeGivesYouLemons on November 08, 2013, 03:37:17 PM
Lol
Title: Re: my second lua mod
Post by: Craig Tucker on November 08, 2013, 06:40:24 PM
my second lua mod
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
 
  AreaTransitionXYZ(0, l_1_0, l_1_1, l_1_2)

  TextPrintString("By Peanut Preppy slayer please like", 7, 2)
  PlayerSetHealth(6090)
  ClothingSetPlayerOutfit("Wrestling")
Limo =  VehicleCreateXYZ(290, 50, 40, 60)
   PedWarpIntoCar(gplayer, Limo)
Johnny = PedCreateXYZ(217, 50 , 70 , 80)
    PedSetWeapon(Johnny, 425, 1)
 Johnny = PickupCreateXYZ(425, 90, 90, 90)
end
 
MissionCleanup = function()
end
 
main = function()
  repeat
    Wait(0)
  until l_0_0 ~= false
  Wait(3000)
  MissionSucceed()
end
I recommend you to do a video , put a download file on mediafire, and post it on release section : D
I only add codes make it yourself imgtool wont make me delete anythink anyway
Title: Re: my second lua mod
Post by: perfectozzyozborne on November 09, 2013, 04:55:09 AM
Did you use SWEGTA lua thingy. Im just glad you're trying and you will learn a lot. I knew nothing about lua and for some reason I can tell if there a error or something. I can't make really good mods like Daboss or Madman(This guy is a legend) they know a lot of functions but daboss is just really smart.
Title: Re: my second lua mod
Post by: Craig Tucker on November 09, 2013, 09:20:44 AM
Did you use SWEGTA lua thingy. Im just glad you're trying and you will learn a lot. I knew nothing about lua and for some reason I can tell if there a error or something. I can't make really good mods like Daboss or Madman(This guy is a legend) they know a lot of functions but daboss is just really smart.
Yeah I did