Bully-Board

News:

News

Life after BULLY? Check out what happens in The Bullworth Never Ending Story.

my second lua mod

Craig Tucker · 2298

0 Members and 1 Guest are viewing this topic.

Offline Craig Tucker

  • We,ve drawn a blank
  • Jr. Member
  • **
    • Posts: 72
  • I suck at creating scripts
    • View Profile
    • My youtube
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
  • I'm a friendly brazilian bully modder :D
    • View Profile
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
  • 波動バースト
    • View Profile
Reply #2 on: November 08, 2013, 03:37:17 PM
Lol



Offline Craig Tucker

  • We,ve drawn a blank
  • Jr. Member
  • **
    • Posts: 72
  • I suck at creating scripts
    • View Profile
    • My youtube
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
  • Hello, My name is Yes-Man,
    • View Profile
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: 72
  • I suck at creating scripts
    • View Profile
    • My youtube
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



 


SimplePortal 2.3.7 © 2008-2020, SimplePortal