Alright. I tried like what you said, but I got an error in the uh.."prompting" stuffs.
So this is my LUA (Madman's)
GlobalImportScript("SObjTest.lua")
ImportScript("Library/LibTable.lua")
ImportScript("SZone.lua")
l_0_0 = 60
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("Bully: Scholarship Edition Multi-Bodyguard Mod v1 BETA.", 4, 1)
Wait(5000)
TextPrintString("By: |XF|-MadmaN [AR] ", 4, 1)
Wait(5000)
l_0_3 = PedCreatePoint(37, POINTLIST._BEGGINING, 1) -- Darby BOSS
l_0_4 = PedCreatePoint(33, POINTLIST._BEGGINING, 1) -- Bif
l_0_5 = PedCreatePoint(35, POINTLIST._BEGGINING, 1) -- Bryce
l_0_6 = PedCreatePoint(34, POINTLIST._BEGGINING, 1) -- Justin
l_0_7 = PedCreatePoint(40, POINTLIST._BEGGINING, 1) -- Parker
l_0_8 = PedCreatePoint(32, POINTLIST._BEGGINING, 1) -- Chad
l_0_9 = PedCreatePoint(30, POINTLIST._BEGGINING, 1) -- Gord
l_1_0 = PedCreatePoint(31, POINTLIST._BEGGINING, 1) -- Tad
l_1_1 = PedCreatePoint(38, POINTLIST._BEGGINING, 1) -- Pinky
PedSetActionTree(gPlayer, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act") -- Player
PedSetActionTree(l_0_3, "/Global/BOSS_Darby", "Act/Anim/BOSS_Darby.act") -- Darby BOSS
PedSetActionTree(l_0_4, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act") -- Bif
PedSetActionTree(l_0_5, "/Global/P_Grappler_A", "Act/Anim/P_Grappler_A.act") -- Bryce
PedSetActionTree(l_0_6, "/Global/P_Striker_B", "Act/Anim/P_Striker_B.act") -- Justin
PedSetActionTree(l_0_7, "/Global/P_Striker_B", "Act/Anim/P_Striker_B.act") -- Parker
PedSetActionTree(l_0_8, "/Global/P_Grappler_A", "Act/Anim/P_Grappler_A.act") -- Chad
PedSetActionTree(l_0_9, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act") -- Gord
PedSetActionTree(l_1_0, "/Global/P_Striker_A", "Act/Anim/P_Striker_A.act") -- Tad
PedSetActionTree(l_1_1, "/Global/GS_Female_A", "Act/Anim/GS_Female_A.act") -- Pinky
-- Ally Blip Code Start
--
l_2_7 = AddBlipForChar(l_0_3, 6, 2, 2)
l_2_8 = AddBlipForChar(l_0_4, 6, 2, 2)
l_2_9 = AddBlipForChar(l_0_5, 6, 2, 2)
l_3_0 = AddBlipForChar(l_0_6, 6, 2, 2)
l_3_1 = AddBlipForChar(l_0_7, 6, 2, 2)
l_3_2 = AddBlipForChar(l_0_8, 6, 2, 2)
l_3_3 = AddBlipForChar(l_0_9, 6, 2, 2)
l_3_4 = AddBlipForChar(l_1_0, 6, 2, 2)
l_3_5 = AddBlipForChar(l_1_1, 6, 2, 2)
-- Infinite Sprint Code Start for Allies
--
PedSetInfiniteSprint(l_0_3, true)
PedSetInfiniteSprint(l_0_4, true)
PedSetInfiniteSprint(l_0_5, true)
PedSetInfiniteSprint(l_0_6, true)
PedSetInfiniteSprint(l_0_7, true)
PedSetInfiniteSprint(l_0_8, true)
PedSetInfiniteSprint(l_0_9, true)
PedSetInfiniteSprint(l_1_0, true)
PedSetInfiniteSprint(l_1_1, true)
PedSetHealth(l_0_3, 100000)
PedSetHealth(l_0_4, 100000)
PedSetHealth(l_0_5, 100000)
PedSetHealth(l_0_6, 100000)
PedSetHealth(l_0_7, 100000)
PedSetHealth(l_0_8, 100000)
PedSetHealth(l_0_9, 100000)
PedSetHealth(l_1_0, 100000)
PedSetHealth(l_1_1, 100000)
-- Ped Recruit Code Start
--
PedRecruitAlly(gPlayer, l_0_3)
PedRecruitAlly(l_0_3, l_0_4)
PedRecruitAlly(l_0_4, l_0_5)
PedRecruitAlly(l_0_5, l_0_6)
PedRecruitAlly(l_0_6, l_0_7)
PedRecruitAlly(l_0_7, l_0_8)
PedRecruitAlly(l_0_8, l_0_9)
PedRecruitAlly(l_0_9, l_1_0)
PedRecruitAlly(l_1_0, l_1_1)
PedSetAllyAutoEngage(l_0_3, true)
PedSetAllyAutoEngage(l_0_4, true)
PedSetAllyAutoEngage(l_0_5, true)
PedSetAllyAutoEngage(l_0_6, true)
PedSetAllyAutoEngage(l_0_7, true)
PedSetAllyAutoEngage(l_0_8, true)
PedSetAllyAutoEngage(l_0_9, true)
PedSetAllyAutoEngage(l_1_0, true)
PedSetAllyAutoEngage(l_1_1, true)
SoundPlayInteractiveStream("MS_DishonorableFight.rsm",MUSIC_DEFAULT_VOLUME)
SoundSetMidIntensityStream("MS_JockBossBattle.rsm",MUSIC_DEFAULT_VOLUME)
SoundSetHighIntensityStream("MS_TenementsHigh.rsm",MUSIC_DEFAULT_VOLUME)
IsButtonPressed(14, 0) then
PauseGameClock()
IsButtonPressed(15, 0) then
UnpauseGameClock()
end
F_MissionSetup = function()
PlayerSetControl(1)
CameraFollowPed(gPlayer)
ClockSet(9, 30)
ClockSetTickRate(0.0060000000521541)
LaunchScript("SObjTest.lua")
end
MissionCleanup = function()
ClearTextQueue()
EnablePOI()
gMissionRunning = false
shared.gMissionEventFunction = nil
WeatherRelease()
PlayerSetControl(1)
PlayerSetPunishmentPoints(0)
end
main = function()
F_MissionSetup()
gMissionRunning = true
while gMissionRunning do
UpdateTextQueue()
Wait(0)
end
end
Two questions:
1. What should I add in?
2. Which section should I add in?