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


Author Topic: my second lua mod  (Read 4648 times)

0 Members and 1 Guest are viewing this topic.

Offline Craig Tucker

  • We,ve drawn a blank
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • I suck at creating scripts
    • View Profile
    • My youtube
my second lua mod
« 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

Offline denifarropilha

  • LUA Modder 8)
  • Jr. Member
  • **
  • Posts: 24
  • Gender: Male
  • I'm a friendly brazilian bully modder :D
    • View Profile
Re: my second lua mod
« Reply #1 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

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: my second lua mod
« Reply #2 on: November 08, 2013, 03:37:17 PM »
Lol

Offline Craig Tucker

  • We,ve drawn a blank
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • I suck at creating scripts
    • View Profile
    • My youtube
Re: my second lua mod
« Reply #3 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

Offline perfectozzyozborne

  • -Bully_Forever-
  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • Hello, My name is Yes-Man,
    • View Profile
Re: my second lua mod
« Reply #4 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.

Offline Craig Tucker

  • We,ve drawn a blank
  • Jr. Member
  • **
  • Posts: 73
  • Gender: Male
  • I suck at creating scripts
    • View Profile
    • My youtube
Re: my second lua mod
« Reply #5 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