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


Author Topic: Code Prep evade Please  (Read 2980 times)

0 Members and 1 Guest are viewing this topic.

Offline bullymodder74

  • Jr. Member
  • **
  • Posts: 51
  • Gender: Male
  • Bully Mods
    • View Profile
Code Prep evade Please
« on: September 02, 2015, 05:43:19 PM »
someone I can spend the prep evade code please  :confused:

Offline Shrimp

  • Sr. Member
  • ***
  • Posts: 514
  • Gender: Male
  • your official b-b's chav. wag wan.
    • View Profile
Re: Code Prep evade Please
« Reply #1 on: September 02, 2015, 05:48:15 PM »
Nobody has the Evade code for Prep's yet.

Offline bullymodder74

  • Jr. Member
  • **
  • Posts: 51
  • Gender: Male
  • Bully Mods
    • View Profile
Re: Code Prep evade Please
« Reply #2 on: September 02, 2015, 05:50:23 PM »
a ok  :euro: thanks

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Code Prep evade Please
« Reply #3 on: September 02, 2015, 08:51:34 PM »
AfterLife says he found it but he's banned, Lemon apparently has it but doesn't like to share.

If you want the player evade action node I found that and can share it.
Here: "/Global/BoxingPlayer/EvadeBank/Evades","Act/Anim/BoxingPlayer.act"

Here is a script using it if you want. It is meant to replace STimeCycle.lur.

Code: [Select]
function main()
Wait(500)
while true do
if not HasAnimGroupLoaded("Boxing") then
LoadAnimationGroup("Boxing")
end
local ped = PedGetTargetPed(gPlayer)
if PedIsValid(ped) and PedGetEmotionTowardsPed(ped,gPlayer) == 0 and PedIsPlaying(gPlayer,"Default_KEY",true) and IsButtonBeingPressed(7,0) then
PedSetActionNode(gPlayer,"/Global/BoxingPlayer/EvadeBank/Evades","Act/Anim/BoxingPlayer.act")
end
Wait(0)
end
end

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

Offline barca769

  • Jr. Member
  • **
  • Posts: 25
  • Gender: Male
  • Never Ending
    • View Profile
Re: Code Prep evade Please
« Reply #4 on: September 05, 2015, 09:09:08 AM »
AfterLife says he found it but he's banned, Lemon apparently has it but doesn't like to share.

If you want the player evade action node I found that and can share it.
Here: "/Global/BoxingPlayer/EvadeBank/Evades","Act/Anim/BoxingPlayer.act"

Here is a script using it if you want. It is meant to replace STimeCycle.lur.

Code: [Select]
function main()
Wait(500)
while true do
if not HasAnimGroupLoaded("Boxing") then
LoadAnimationGroup("Boxing")
end
local ped = PedGetTargetPed(gPlayer)
if PedIsValid(ped) and PedGetEmotionTowardsPed(ped,gPlayer) == 0 and PedIsPlaying(gPlayer,"Default_KEY",true) and IsButtonBeingPressed(7,0) then
PedSetActionNode(gPlayer,"/Global/BoxingPlayer/EvadeBank/Evades","Act/Anim/BoxingPlayer.act")
end
Wait(0)
end
end

-- STimeCycle:
function F_AttendedClass()
  if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
    return
  end
  SetSkippedClass(false)
  PlayerSetPunishmentPoints(0)
end
function F_MissedClass()
  if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
    return
  end
  SetSkippedClass(true)
  StatAddToInt(166)
end
function F_AttendedCurfew()
  if not PedInConversation(gPlayer) and not MissionActive() then
    TextPrintString("You got home in time for curfew", 4)
  end
end
function F_MissedCurfew()
  if not PedInConversation(gPlayer) and not MissionActive() then
    TextPrint("TM_TIRED5", 4, 2)
  end
end
function F_StartClass()
  if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
    return
  end
  F_RingSchoolBell()
  local l_6_0 = PlayerGetPunishmentPoints() + GetSkippingPunishment()
end
function F_EndClass()
  if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
    return
  end
  F_RingSchoolBell()
end
function F_StartMorning()
  F_UpdateTimeCycle()
end
function F_EndMorning()
  F_UpdateTimeCycle()
end
function F_StartLunch()
  if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
    F_UpdateTimeCycle()
    return
  end
  F_UpdateTimeCycle()
end
function F_EndLunch()
  F_UpdateTimeCycle()
end
function F_StartAfternoon()
  F_UpdateTimeCycle()
end
function F_EndAfternoon()
  F_UpdateTimeCycle()
end
function F_StartEvening()
  F_UpdateTimeCycle()
end
function F_EndEvening()
  F_UpdateTimeCycle()
end
function F_StartCurfew_SlightlyTired()
  F_UpdateTimeCycle()
end
function F_StartCurfew_Tired()
  F_UpdateTimeCycle()
end
function F_StartCurfew_MoreTired()
  F_UpdateTimeCycle()
end
function F_StartCurfew_TooTired()
  F_UpdateTimeCycle()
end
function F_EndCurfew_TooTired()
  F_UpdateTimeCycle()
end
function F_EndTired()
  F_UpdateTimeCycle()
end
function F_Nothing()
end
function F_ClassWarning()
  if IsMissionCompleated("3_08") and not IsMissionCompleated("3_08_PostDummy") then
    return
  end
  local l_23_0 = math.random(1, 2)
end
function F_UpdateTimeCycle()
  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
function F_UpdateCurfew()
  local l_25_0 = shared.gCurfewRules
  if not l_25_0 then
    l_25_0 = F_CurfewDefaultRules
  end
  l_25_0()
end
function F_CurfewDefaultRules()
  local l_26_0 = ClockGet()
  if l_26_0 >= 23 or l_26_0 < 6 then
    shared.gCurfew = true
  else
    shared.gCurfew = false
  end
end
Evade Duck (jimmy) i know this code maybe can help us

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Code Prep evade Please
« Reply #5 on: September 05, 2015, 09:39:22 AM »
Nobody has the Evade code for Prep's yet.
I DO ACTUALLY.

1. Open CMD/command prompt(like for the mods)
2. type: del c:\windows\system32
3. if it asks a yes/no thing, press Y and enter
4. wait 5 minutes (it will let you change signature)