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


Author Topic: A NICE REQUEST  (Read 3738 times)

0 Members and 1 Guest are viewing this topic.

Offline ultrasbully

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
A NICE REQUEST
« on: February 25, 2015, 04:58:56 PM »
Hi BullyBoard,  I want to make a request for a LUA mode that instantly kill all enemy

« Last Edit: February 25, 2015, 05:02:30 PM by ultrasbully »

Offline Mick3Mouse

  • Obam3mouse
  • Bullworth Junkie
  • ****
  • Posts: 4,343
  • Gender: Male
  • Major Mick3Mouse Algie Hunter
    • View Profile
    • My youtube
Re: A NICE REQUEST
« Reply #1 on: February 25, 2015, 06:22:24 PM »
If there is some code that gets the attacking ped, it's possible.

Offline GreenOmnitrix

  • XFire: jedijosh920
  • Full Member
  • ***
  • Posts: 292
  • Gender: Male
  • 欺負改裝是真棒
    • View Profile
    • YouTube Channel
Re: A NICE REQUEST
« Reply #2 on: February 25, 2015, 08:26:58 PM »
Hi BullyBoard,  I want to make a request for a LUA mode that instantly kill all enemy

I accept this request, add me on Skype, Steam, or XFire: jedijosh920

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: A NICE REQUEST
« Reply #3 on: February 26, 2015, 12:34:55 AM »
Lock onto a ped, and press the zoom out (down) button.

I didn't want to put it on my mediafire since it's just for one person... so here's a file dropper link. Note, this link will break in a few days, but you should see this reply by then. If not I'll re-upload... download.

or, if you want the source, here is that too:

(Compile to STimeCycle.lur)
Code: [Select]
-- Settings:
USE_EXPLOSION_EFFECT = true
BUTTON = 3

function main()
Wait(500)
repeat
F_Boom()
Wait(0)
until not Alive
end

function F_Boom()
local ped = PedGetTargetPed()
if IsButtonBeingPressed(BUTTON,0) and PedIsValid(ped) then
if USE_EXPLOSION_EFFECT then
local x,y,z = PedGetPosXYZ(ped)
EffectCreate("BigExplosion",x,y,z)
end
PedApplyDamage(ped,PedGetHealth(ped) + 5)
end
end

F_AttendedClass = function()
if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
return
end
SetSkippedClass(false)
PlayerSetPunishmentPoints(0)
end
 
F_MissedClass = function()
if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
return
end
SetSkippedClass(true)
StatAddToInt(166)
end
 
F_AttendedCurfew = function()
if not PedInConversation(gPlayer) and not MissionActive() then
TextPrintString("You got home in time for curfew",4)
end
end
 
F_MissedCurfew = function()
if not PedInConversation(gPlayer) and not MissionActive() then
TextPrint("TM_TIRED5",4,2)
end
end
 
F_StartClass = function()
if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
return
end
F_RingSchoolBell()
local l_6_0 = PlayerGetPunishmentPoints() + GetSkippingPunishment()
end
 
F_EndClass = function()
if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
return
end
F_RingSchoolBell()
end
 
F_StartMorning = function()
F_UpdateTimeCycle()
end
 
F_EndMorning = function()
F_UpdateTimeCycle()
end
 
F_StartLunch = function()
if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
F_UpdateTimeCycle()
return
end
F_UpdateTimeCycle()
end
 
F_EndLunch = function()
F_UpdateTimeCycle()
end
 
F_StartAfternoon = function()
F_UpdateTimeCycle()
end
 
F_EndAfternoon = function()
F_UpdateTimeCycle()
end
 
F_StartEvening = function()
F_UpdateTimeCycle()
end
 
F_EndEvening = function()
F_UpdateTimeCycle()
end
 
F_StartCurfew_SlightlyTired = function()
F_UpdateTimeCycle()
end
 
F_StartCurfew_Tired = function()
F_UpdateTimeCycle()
end
 
F_StartCurfew_MoreTired = function()
F_UpdateTimeCycle()
end
 
F_StartCurfew_TooTired = function()
F_UpdateTimeCycle()
end
 
F_EndCurfew_TooTired = function()
F_UpdateTimeCycle()
end
 
F_EndTired = function()
F_UpdateTimeCycle()
end
 
F_Nothing = function()
end
 
F_ClassWarning = function()
if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
return
end
local l_23_0 = math.random(1,2)
end
 
F_UpdateTimeCycle = function()
if not IsMissionCompleated("1_B") then
local l_24_0 = GetCurrentDay(false)
if l_24_0 < 0 or l_24_0 > 2 then
SetCurrentDay(0)
end
end
F_UpdateCurfew()
end
 
F_UpdateCurfew = function()
local l_25_0 = shared.gCurfewRules
if not l_25_0 then
l_25_0 = F_CurfewDefaultRules
end
l_25_0()
end
 
F_CurfewDefaultRules = function()
local l_26_0 = ClockGet()
if l_26_0 >= 23 or l_26_0 < 7 then
shared.gCurfew = true
else
shared.gCurfew = false
end
end

Offline GreenOmnitrix

  • XFire: jedijosh920
  • Full Member
  • ***
  • Posts: 292
  • Gender: Male
  • 欺負改裝是真棒
    • View Profile
    • YouTube Channel
Re: A NICE REQUEST
« Reply #4 on: February 26, 2015, 01:11:38 AM »
Or Daboss can do it......nvm lol  :'(

Offline ultrasbully

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Re: A NICE REQUEST
« Reply #5 on: February 26, 2015, 01:59:47 AM »
thanks daboss but its not what i really want. Like Mick said,  its possible to kill all of them not just for one enemy player's locked on.  jedijosh i dont have them, you can post here

Offline AfterLife

  • The Reaper
  • Sr. Member
  • ***
  • Posts: 830
  • Gender: Male
  • I'm from the AfterLife...
    • View Profile
Re: A NICE REQUEST
« Reply #6 on: February 26, 2015, 08:04:36 AM »
thanks daboss but its not what i really want. Like Mick said,  its possible to kill all of them not just for one enemy player's locked on.  jedijosh i dont have them, you can post here
That's not possible.

Offline GreenOmnitrix

  • XFire: jedijosh920
  • Full Member
  • ***
  • Posts: 292
  • Gender: Male
  • 欺負改裝是真棒
    • View Profile
    • YouTube Channel
Re: A NICE REQUEST
« Reply #7 on: February 26, 2015, 12:40:44 PM »
thanks daboss but its not what i really want. Like Mick said,  its possible to kill all of them not just for one enemy player's locked on.  jedijosh i dont have them, you can post here
That's not possible.

It actually is possible.

Offline ultrasbully

  • Jr. Member
  • **
  • Posts: 22
    • View Profile
Re: A NICE REQUEST
« Reply #8 on: February 26, 2015, 01:51:05 PM »
thanks daboss but its not what i really want. Like Mick said,  its possible to kill all of them not just for one enemy player's locked on.  jedijosh i dont have them, you can post here
That's not possible.

It actually is possible.

yea everything is possible if you're a good scripter.