[OUTDATED]Trifecta's Heist Mod - Fleeca Update [LUA] 1.7
42 992
487
42 992
487
IMPORTANT ANNOUNCEMENT: Animations will be added for the deposit box raiding in the Pacific Bank in the next update!
The long awaited Fleeca Banks are noW ready to be robbed by the masterminds of Los Santos!
They are an easy way to make some quick cash. If you're feeling lucky, challenge yourself by robbing all 6 branches while being wanted the whole time!
Good Luck and Aim For The Head!
LUA SDK Download is needed!
Heists Included
Fleeca Branches
Pacific Standard Bank
--------------------------------------------------
How to install Scripthook + LUA plugin + Scripts: https://www.youtube.com/watch?v=0hNt31vrqTE&feature=youtu.be
Pacific Standard Bank Official Trailer: https://www.youtube.com/watch?v=EVf4ThgmtsI
Follow me and this mod for updates and new sandbox heists.
Do not change skin during the heist only change it before you enter the bank or after you die/complete the heist
New Additions
Fleeca Bank Heists (Still not completely polished!)
Some minor bugs/improvements
"Unique" blips to places you can rob
UPDATED VERSION 1.7
Fixed bugs in the Pacific Heist
Fixed bugs in the Fleeca Heists
Changed the waiting system when raiding deposit boxes/robbing Fleeca Banks
Laid a road for animations which will be added in version 2 for both heists
Made script more stable
Added some aesthetic value to notifications
UPDATED VERSION 1.2
Released a beta version of Fleeca Branch Heists
UPDATED VERSION 1:
Released final version of Pacific Standard Bank Heist
Thanks to:
Neavitt - Beta Tester and Help in Promotion.
reddevilthp - Helping in the comments section.
INSTRUCTIONS:
Go to GTAForums, Link below.
---------------------------------------------
Please report any problems as I will fix them shortly.
Thanks and enjoy.
No editing and redistribution of my scripts. I left them as LUA so everyone would be free to mess around with it. But kindly do not re-upload your modified code.
The long awaited Fleeca Banks are noW ready to be robbed by the masterminds of Los Santos!
They are an easy way to make some quick cash. If you're feeling lucky, challenge yourself by robbing all 6 branches while being wanted the whole time!
Good Luck and Aim For The Head!
LUA SDK Download is needed!
Heists Included
Fleeca Branches
Pacific Standard Bank
--------------------------------------------------
How to install Scripthook + LUA plugin + Scripts: https://www.youtube.com/watch?v=0hNt31vrqTE&feature=youtu.be
Pacific Standard Bank Official Trailer: https://www.youtube.com/watch?v=EVf4ThgmtsI
Follow me and this mod for updates and new sandbox heists.
Do not change skin during the heist only change it before you enter the bank or after you die/complete the heist
New Additions
Fleeca Bank Heists (Still not completely polished!)
Some minor bugs/improvements
"Unique" blips to places you can rob
UPDATED VERSION 1.7
Fixed bugs in the Pacific Heist
Fixed bugs in the Fleeca Heists
Changed the waiting system when raiding deposit boxes/robbing Fleeca Banks
Laid a road for animations which will be added in version 2 for both heists
Made script more stable
Added some aesthetic value to notifications
UPDATED VERSION 1.2
Released a beta version of Fleeca Branch Heists
UPDATED VERSION 1:
Released final version of Pacific Standard Bank Heist
Thanks to:
Neavitt - Beta Tester and Help in Promotion.
reddevilthp - Helping in the comments section.
INSTRUCTIONS:
Go to GTAForums, Link below.
---------------------------------------------
Please report any problems as I will fix them shortly.
Thanks and enjoy.
No editing and redistribution of my scripts. I left them as LUA so everyone would be free to mess around with it. But kindly do not re-upload your modified code.
Първо качено на: 22 май 2015
Последно обновено на: 03 юни 2015
Последно изтеглено: преди 3 часа
691 Коментари
More mods by Trifecta:
IMPORTANT ANNOUNCEMENT: Animations will be added for the deposit box raiding in the Pacific Bank in the next update!
The long awaited Fleeca Banks are noW ready to be robbed by the masterminds of Los Santos!
They are an easy way to make some quick cash. If you're feeling lucky, challenge yourself by robbing all 6 branches while being wanted the whole time!
Good Luck and Aim For The Head!
LUA SDK Download is needed!
Heists Included
Fleeca Branches
Pacific Standard Bank
--------------------------------------------------
How to install Scripthook + LUA plugin + Scripts: https://www.youtube.com/watch?v=0hNt31vrqTE&feature=youtu.be
Pacific Standard Bank Official Trailer: https://www.youtube.com/watch?v=EVf4ThgmtsI
Follow me and this mod for updates and new sandbox heists.
Do not change skin during the heist only change it before you enter the bank or after you die/complete the heist
New Additions
Fleeca Bank Heists (Still not completely polished!)
Some minor bugs/improvements
"Unique" blips to places you can rob
UPDATED VERSION 1.7
Fixed bugs in the Pacific Heist
Fixed bugs in the Fleeca Heists
Changed the waiting system when raiding deposit boxes/robbing Fleeca Banks
Laid a road for animations which will be added in version 2 for both heists
Made script more stable
Added some aesthetic value to notifications
UPDATED VERSION 1.2
Released a beta version of Fleeca Branch Heists
UPDATED VERSION 1:
Released final version of Pacific Standard Bank Heist
Thanks to:
Neavitt - Beta Tester and Help in Promotion.
reddevilthp - Helping in the comments section.
INSTRUCTIONS:
Go to GTAForums, Link below.
---------------------------------------------
Please report any problems as I will fix them shortly.
Thanks and enjoy.
No editing and redistribution of my scripts. I left them as LUA so everyone would be free to mess around with it. But kindly do not re-upload your modified code.
The long awaited Fleeca Banks are noW ready to be robbed by the masterminds of Los Santos!
They are an easy way to make some quick cash. If you're feeling lucky, challenge yourself by robbing all 6 branches while being wanted the whole time!
Good Luck and Aim For The Head!
LUA SDK Download is needed!
Heists Included
Fleeca Branches
Pacific Standard Bank
--------------------------------------------------
How to install Scripthook + LUA plugin + Scripts: https://www.youtube.com/watch?v=0hNt31vrqTE&feature=youtu.be
Pacific Standard Bank Official Trailer: https://www.youtube.com/watch?v=EVf4ThgmtsI
Follow me and this mod for updates and new sandbox heists.
Do not change skin during the heist only change it before you enter the bank or after you die/complete the heist
New Additions
Fleeca Bank Heists (Still not completely polished!)
Some minor bugs/improvements
"Unique" blips to places you can rob
UPDATED VERSION 1.7
Fixed bugs in the Pacific Heist
Fixed bugs in the Fleeca Heists
Changed the waiting system when raiding deposit boxes/robbing Fleeca Banks
Laid a road for animations which will be added in version 2 for both heists
Made script more stable
Added some aesthetic value to notifications
UPDATED VERSION 1.2
Released a beta version of Fleeca Branch Heists
UPDATED VERSION 1:
Released final version of Pacific Standard Bank Heist
Thanks to:
Neavitt - Beta Tester and Help in Promotion.
reddevilthp - Helping in the comments section.
INSTRUCTIONS:
Go to GTAForums, Link below.
---------------------------------------------
Please report any problems as I will fix them shortly.
Thanks and enjoy.
No editing and redistribution of my scripts. I left them as LUA so everyone would be free to mess around with it. But kindly do not re-upload your modified code.
Първо качено на: 22 май 2015
Последно обновено на: 03 юни 2015
Последно изтеглено: преди 3 часа
This mod is dead. Sorry to disappoint but you are welcome to use my scripts to further develop this mod.
@hamen2012 you know how to open and edit LUA files right ?
This is for pacific heist.lua:
--Edit by Justkidding 2017
--Used Trifecta's PacificHeist.lua as base script
--Lots of credit to him
--Semi-Scripted Bank Heist for Pacific
local PacificSandboxHeist = {}
function markBank()
bankBlip = UI.ADD_BLIP_FOR_COORD(229.367,213.836,105.531)
UI.SET_BLIP_SCALE(bankBlip, 1)
UI.SET_BLIP_SPRITE(bankBlip, 52)
UI.SET_BLIP_COLOUR(bankBlip, 5)
UI.SET_BLIP_AS_SHORT_RANGE(bankBlip, true)
end
--Part 1 = Gate
--Part 2 = Open Safe
--Part 3 = Get Cash
--Part 4 = Escape
--Part 5 = Drop-Off
--EDITABLE VARIABLES MADE EASY--
--EDIT THE FOLLOWING SO YOU WON'T HAVE TO SEARCH THE CODE FOR THE CORRECT LINE--
local PayoutMin = 1000000
local PayoutMax = 2000000
local wantedLevelPt1 = 1
local wantedLevelPt2 = 2
local wantedLevelPt3 = 3
local wantedLevelPt4 = 4
local safeWaitTime = 20000 --Milliseconds
--------------------------------------------------------------------------------
--DO NOT EDIT----------------------------
heistPart = 0
local dropOffBlip
local flag01 = false --Near Vault
local flag02 = false --Get Payment
local flag03 = {} --Deposit Boxes
local flag04 = false --Pickup Money
local flag05 = false --Create Pickup Money
local depoFlag = {}
depoFlag[0] = false
local bankCashPickup
local depoPay = 0
local obj = {}
local blip = {}
-----------------------------------------
markBank()
function PacificSandboxHeist.unload() end
function PacificSandboxHeist.init()
for i = 1,5 do
flag03[i] = false
end
end
--NOT USED, SCRIPTED EXPLOSION. DOESN'T ALWAYS WORK. WILL USE IT WHEN NATIVE GETS UPDATED
function explosion()
--255.745,225.310,101.876
FIRE.ADD_EXPLOSION(253.551, 223.934, 101.900, 5, 0.5, false, false, 1)
FIRE.ADD_EXPLOSION(252.260,225.383,101.683, 5, 0.5, false, false, 1)
wait(1000)
obj[1] = OBJECT.CREATE_OBJECT(GAMEPLAY.GET_HASH_KEY("prop_weight_20k"),255.745,225.310,101.876, false,false,true)
OBJECT.PLACE_OBJECT_ON_GROUND_PROPERLY(obj[1])
obj[2] = OBJECT.CREATE_OBJECT(GAMEPLAY.GET_HASH_KEY("prop_weight_20k"),255.521,225.734,101.876, false,false,true)
OBJECT.PLACE_OBJECT_ON_GROUND_PROPERLY(obj[2])
end
function setBlipDropOff()
dropOffBlip = UI.ADD_BLIP_FOR_COORD(-520.7095, -2877.01, 7.295937)
UI.SET_BLIP_COLOUR(dropOffBlip, 16742399)
UI.SET_BLIP_SCALE(dropOffBlip, 1)
UI.SET_BLIP_FLASHES(dropOffBlip, true)
UI.SET_BLIP_ROUTE(dropOffBlip, true)
end
function setBlips()
blip[4] = UI.ADD_BLIP_FOR_COORD(264.144,213.632,102.528)
UI.SET_BLIP_COLOUR(blip[4], 16742399)
UI.SET_BLIP_SCALE(blip[4], 1)
UI.SET_BLIP_FLASHES(blip[4], true)
UI.SET_BLIP_ROUTE(blip[4], true)
blip[1] = UI.ADD_BLIP_FOR_COORD(266.073,213.662,101.683)
UI.SET_BLIP_COLOUR(blip[1], 16742399)
UI.SET_BLIP_SCALE(blip[1], 1)
UI.SET_BLIP_FLASHES(blip[1], true)
end
function removeBlip(i)
UI.REMOVE_BLIP(blip[i])
end
function drawText(text, x, y, scale)
UI.SET_TEXT_FONT(6)
UI.SET_TEXT_SCALE(scale, scale)
UI.SET_TEXT_COLOUR(255, 255, 255, 255)
UI.SET_TEXT_WRAP(0.0, 1.0)
UI.SET_TEXT_CENTRE(false)
UI.SET_TEXT_DROPSHADOW(2, 2, 0, 0, 0)
UI.SET_TEXT_EDGE(1, 0, 0, 0, 205)
UI._SET_TEXT_ENTRY("STRING")
UI._ADD_TEXT_COMPONENT_STRING(text)
UI._DRAW_TEXT(y, x)
end
function PacificSandboxHeist.tick()
local playerPed = PLAYER.PLAYER_PED_ID()
local player = PLAYER.GET_PLAYER_PED(playerPed)
local location = ENTITY.GET_ENTITY_COORDS(playerPed, nil)
--Is Player Dead?
if((ENTITY.IS_ENTITY_DEAD(playerPed) == true) and (heistPart > 0))then
resetHeist()
end
--MAIN HEIST--
--PART 1
if ((GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 255.4583, 216.9913, 106.2869 , location.x, location.y, location.z, true ) < 2 ) and (heistPart == 0)) then
heistPart = 1 --Start Heist
notify("Let's do this!")
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt1,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
heistPart = 2 --Move to part 2
--PART 2
elseif((GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 254.034, 225.233, 100.663 , location.x, location.y, location.z, true ) < 6) and (heistPart == 2) and (ENTITY.IS_ENTITY_DEAD(playerPed) == false)) then
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt2,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
if(flag01 == false) then --Near Safe
notify("Enter the vault and empty them for a big score.")
end
if(GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 252.318,220.605,101.808, location.x, location.y, location.z, true ) < 3) then
notify("Grab the cash!")
notify("Press [E] to raid the deposit boxes!")
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt4,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
flag01 = true
heistPart = 3
setBlips()
end
elseif((heistPart == 3) and (ENTITY.IS_ENTITY_DEAD(playerPed) == false)) then
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt4,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
if(flag05 == false) then
bankCashPickup = OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 264.287, 213.803, 102.528, 1000, 100, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 264.287, 213.803, 102.528, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 264.287, 213.803, 102.528, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 264.287, 213.803, 102.528, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 264.287, 213.803, 102.528, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 264.287, 213.803, 102.528, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 264.287, 213.803, 102.528, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 264.287, 213.803, 102.528, 1000, 2000, 1, false, true)
flag05 = true
end
if(GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 264.287, 213.803, 102.528, location.x, location.y, location.z, true ) < 2 and flag04 == false) then
notify("You collected the cash!")
notify("Escape, or go for the deposit boxes!")
notify("Press [L] when you're ready to leave!")
PED.SET_PED_COMPONENT_VARIATION(playerPed, 9, 1, 0, 0)
removeBlip(4)
flag04 = true
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt4,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
end
if(GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 266.073,213.662,101.683 , location.x, location.y, location.z, true ) < 1 and depoFlag[0] == false) then
drawText("Press [E] to raid the Deposit Box!", 0.5, 0.5, 1)
if(get_key_pressed(Keys.E))then
notify("Looting Deposit Box 1")
wait(10000)
depoPay = depoPay + 50000
flag03[1] = true
removeBlip(1)
notify("Deposit Box Looted")
print("depo1")
depoFlag[0] = true
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt4,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
end
end
if((flag04 == true and get_key_pressed(Keys.L)) or (flag03[1] == true and flag04 == true)) then
heistPart = 4
removeBlip(1)
removeBlip(4)
spawnNooseOutside()
spawnRiotTruck()
notify("Shoot your way out of the bank and escape the heat!")
end
--PART 4
elseif((heistPart == 4) and (ENTITY.IS_ENTITY_DEAD(playerPed) == false)) then
if(GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 256.3552, 219.0835, 106.2866 , location.x, location.y, location.z, true ) < 50) then
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt4,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
end
if(PLAYER.GET_PLAYER_WANTED_LEVEL(PLAYER.GET_PLAYER_PED_SCRIPT_INDEX(playerPed))<1) then
heistPart = 5 --Move to part 4
setBlipDropOff()
end
--PART 5
elseif((heistPart == 5 ) and (ENTITY.IS_ENTITY_DEAD(playerPed) == false) and (PLAYER.GET_PLAYER_WANTED_LEVEL(PLAYER.GET_PLAYER_PED_SCRIPT_INDEX(playerPed))<1) and (ENTITY.IS_ENTITY_DEAD(playerPed) == false)) then
local pickup
notify("Good job. Get to the drop off point to launder your money.")
if ((PLAYER.GET_PLAYER_WANTED_LEVEL(PLAYER.GET_PLAYER_PED_SCRIPT_INDEX(playerPed))<1) and (PLAYER.GET_PLAYER_WANTED_LEVEL(PLAYER.GET_PLAYER_PED_SCRIPT_INDEX(playerPed))<1) and (GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( -520.7095, -2877.01, 7.295937 , location.x, location.y, location.z, true ) < 10)) then
if not(flag02) then
math.randomseed(os.time())
local finalPayout =math.random (PayoutMin, PayoutMax)
pickup = OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_SECURITY_CASE"), -520.7095, -2877.01, 7.295937, 0, finalPayout+depoPay, 1, false, true)
flag02 = true
end
if(PLAYER.GET_PLAYER_WANTED_LEVEL(PLAYER.GET_PLAYER_PED_SCRIPT_INDEX(playerPed))<1) and (GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( -520.7095, -2877.01, 7.295937 , location.x, location.y, location.z, true ) < 1) then
PED.SET_PED_COMPONENT_VARIATION(playerPed, 9, 0, 0, 0)
resetHeist()
AUDIO.PLAY_MISSION_COMPLETE_AUDIO("MICHAEL_BIG_01")
notify("Good Job!")
end
end
end
end
--RESETS EVERYTHING---------------------------
--DO NOT EDIT OR RISK BREAKING REPLAYABILITY--
function resetHeist()
flag01 = false
flag02 = false
flag04 = false
flag05 = false
flag03[1] = false
flag03[2] = false
flag03[3] = false
flag03[4] = false
flag03[5] = false
depoFlag[0] = false
heistPart = 0
UI.REMOVE_BLIP(dropOffBlip)
end
return PacificSandboxHeist
and this is for pacificnoose:
local PacificNoose = {}
function PacificNoose.unload() end
function PacificNoose.init() end
local NooseID = GAMEPLAY.GET_HASH_KEY("s_m_y_swat_01") --NOOSE
local nooseWeaponHash = GAMEPLAY.GET_HASH_KEY("WEAPON_SMG") --WEAPON
local riotHash = GAMEPLAY.GET_HASH_KEY("riot") --Swat Van
local insideSpawn = false
local noosePedI = {}
local numberOfNooseI = 6
local outsideSpawn = false
local noosePedO = {}
local numberOfNooseO = 7
local truckSpawn = false
local riotTruck = {}
local numberOfRiot = 3
function PacificNoose.tick() end
--Noose Storm Bank
function spawnNooseInside()
STREAMING.REQUEST_MODEL(NooseID)
while(not STREAMING.HAS_MODEL_LOADED(NooseID)) do
wait(50)
end
local spawnX = {263.492,263.198,262.577,251.374, 252.231,254.062}
local spawnY = {214.766,214.142,212.663,214.202,218.218,213.440}
local spawnZ = {106.283,106.283,106.283,106.287,106.287,106.287}
local spawnH = {0,0,0,0,0,0}
for i = 1, numberOfNooseI do
noosePedI[i] = PED.CREATE_PED(1, NooseID, spawnX[i], spawnY[i], spawnZ[i], spawnH[i], true, true)
PED.SET_PED_CAN_SWITCH_WEAPON(noosePedI[i], true)
WEAPON.GIVE_DELAYED_WEAPON_TO_PED(noosePedI[i], nooseWeaponHash, 1000, false)
PED.SET_PED_RELATIONSHIP_GROUP_HASH(noosePedI[i], GAMEPLAY.GET_HASH_KEY("COP"))
AI.TASK_COMBAT_PED(noosePedI[i], PLAYER.PLAYER_PED_ID(),1 ,1)
ENTITY.SET_ENTITY_INVINCIBLE(noosePedI[i], false)
PED.SET_PED_PROP_INDEX(noosePedI[i], 0, 0, 0, 0)
ENTITY.SET_PED_AS_NO_LONGER_NEEDED(noosePedI[i])
print("NOOSE SPAWNED INSIDE")
end
insideSpawn = true
STREAMING.SET_MODEL_AS_NO_LONGER_NEEDED(NooseID)
end
--Noose Setup Outside
function spawnNooseOutside()
STREAMING.REQUEST_MODEL(NooseID)
while(not STREAMING.HAS_MODEL_LOADED(NooseID)) do
wait(50)
end
local spawnX = {266.2193,269.4713,223.8754,228.4782,231.2694,232.5982,234.82}
local spawnY = {179.4941,184.7012,200.367,218.2434,211.2106,198.0639,197.8185}
local spawnZ = {104.765,104.7016,105.3974,105.55,105.4583,105.2298,105.1902}
local spawnH = {18.31367,32.3656,334.0017,225.0423,357.7505,5.478728,14.26601}
for i = 1, numberOfNooseO do
noosePedO[i] = PED.CREATE_PED(1, NooseID, spawnX[i], spawnY[i], spawnZ[i], spawnH[i], true, true)
PED.SET_PED_CAN_SWITCH_WEAPON(noosePedO[i], true)
WEAPON.GIVE_DELAYED_WEAPON_TO_PED(noosePedO[i], nooseWeaponHash, 1000, false)
PED.SET_PED_RELATIONSHIP_GROUP_HASH(noosePedO[i], GAMEPLAY.GET_HASH_KEY("COP"))
AI.TASK_COMBAT_PED(noosePedO[i], PLAYER.PLAYER_PED_ID(),1 ,1)
ENTITY.SET_ENTITY_INVINCIBLE(noosePedO[i], false)
ENTITY.SET_PED_AS_NO_LONGER_NEEDED(noosePedO[i])
print("NOOSE SPAWNED OUTSIDE")
end
outsideSpawn = true
STREAMING.SET_MODEL_AS_NO_LONGER_NEEDED(NooseID)
end
--Spawn Riot Trucks
function spawnRiotTruck()
STREAMING.REQUEST_MODEL(riotHash)
while(not STREAMING.HAS_MODEL_LOADED(riotHash)) do
wait(50)
end
local spawnX = {216.0789,209.4055,267.861}
local spawnY = {227.523,204.94,181.9628}
local spawnZ = {105.2719,105.2061,104.3455}
local spawnH = {250.0928,199.8271,10.62809}
for i = 1, numberOfRiot do
riotTruck[i] = VEHICLE.CREATE_VEHICLE(riotHash, spawnX[i], spawnY[i], spawnZ[i], spawnH[i], true, true)
VEHICLE.SET_VEHICLE_ON_GROUND_PROPERLY(riotTruck[i])
end
truckSpawn = true
STREAMING.SET_MODEL_AS_NO_LONGER_NEEDED(riotHash)
end
function deleteSpawns()
for i = 1, numberOfRiot do
VEHICLE.DELETE_VEHICLE(riotTruck[i])
end
end
return PacificNoose
@justkidding_2010 Thanks, man. this mod is the only heist mod that works for me :'( tried all the game versions but the other mods never worked :'(
@hamen2012 glad to hear that bro. What versions do you have ? crack version or steam version? maybe I can help you because I tried few heist mods without problems
@justkidding_2010 beside this mod, im also using the SinglePlayerGarage mod. When i tried Heist Project, it ran into an infinite loading screen after pressing E at the H. When i tried Heist Mission 1.3.6, the "getting a ranaway vehicle" mission is bugged just like it is in this video
https://www.youtube.com/watch?v=GpgT2Nee9I4 (from 5:00. idk how the guy passed that)
I tried Cracked 1.0.350, 1.0.678, 1.0.877, all the same :(
@hamen2012 well, I didn't have something like that, maybe because you use crack version :-?? you should buy this game if you can because this game is so awesome and maybe just maybe you won't have those problem anymore :D
Do you guys now how I can disable the "dropoff" feature? I think it's useless since the character gets away with the money carrying it in a duffel bag or whatever bag it is.
@justkidding_2010 In this Trifecta's pacific heist I must only change coordinates, as you wrote above? Or is there any other lines I need to change? I am doing this for the very first time, so don't beat me for asking.
@vjmr nah, I won beat you bro :)) I don't remember exactly what I've changed bro, it was long time ago =(
does this work with the newest version?
Where Do I PuT This in my files basically how do i install to GTA V
It would be somewhere around 25 times better if you told us how to install the goddamn mod. It's not that hard to edit a description (or be lazy.. That's on you)
The timer for fleeca banks should be put around 1500. At that timeframe, the police show up outside as soon as you step outside
Though if someone could code pedestrians in the pacificguards.lua so that peds are natively in the game without map editor and the cons that come with autoload. I can record in editor :D
@vjmr if you don't want noose and have peds dropping dollars instead of stacks, use this(Trifecta's code):
--By Trifecta 2015
--Semi-Scripted Bank Heist
local PacificSandboxHeist = {}
function markBank()
bankBlip = UI.ADD_BLIP_FOR_COORD(229.367,213.836,105.531)
UI.SET_BLIP_SCALE(bankBlip, 1)
UI.SET_BLIP_SPRITE(bankBlip, 52)
UI.SET_BLIP_COLOUR(bankBlip, 5)
UI.SET_BLIP_AS_SHORT_RANGE(bankBlip, true)
end
--Part 1 = Gate
--Part 2 = Open Safe
--Part 3 = Get Cash
--Part 4 = Escape
--Part 5 = Drop-Off
--EDITABLE VARIABLES MADE EASY--
--EDIT THE FOLLOWING SO YOU WON'T HAVE TO SEARCH THE CODE FOR THE CORRECT LINE--
local PayoutMin = 1000000
local PayoutMax = 2500000
local wantedLevelPt1 = 1
local wantedLevelPt2 = 2
local wantedLevelPt3 = 3
local wantedLevelPt4 = 4
local safeWaitTime = 20000 --Milliseconds
--------------------------------------------------------------------------------
--DO NOT EDIT----------------------------
heistPart = 0
local timeFlag = {}
timeFlag[0] = false
timeFlag[1] = false
timeFlag[2] = false
local dropOffBlip
local flag01 = false --Near Vault
local flag02 = false --Get Payment
local flag03 = {} --Deposit Boxes
local flag04 = false --Pickup Money
local flag05 = false --Create Pickup Money
local depoFlag = {}
depoFlag[0] = false
depoFlag[1] = false
depoFlag[2] = false
local bankCashPickup
local depoPay = 0
local obj = {}
local blip = {}
local timerActive = false
-----------------------------------------
-- COORDINATES:
-- VAULT 1ST GATE: 252.318,220.605,101.808
-- MONEY PICKUP: 264.144,213.632,102.528
-- DEPOSIT 1: 266.073,213.662,101.683
-- DEPOSIT 2: 263.447,212.503,101.683
-- DEPOSIT 3: 264.498, 216.189, 101.683
markBank()
function PacificSandboxHeist.unload() end
function PacificSandboxHeist.init()
for i = 1,4 do
flag03[i] = false
end
end
--NOT USED, SCRIPTED EXPLOSION. DOESN'T ALWAYS WORK. WILL USE IT WHEN NATIVE GETS UPDATED
function explosion()
--255.745,225.310,101.876
FIRE.ADD_EXPLOSION(253.551, 223.934, 101.900, 5, 0.5, false, false, 1)
FIRE.ADD_EXPLOSION(252.260,225.383,101.683, 5, 0.5, false, false, 1)
wait(1000)
obj[1] = OBJECT.CREATE_OBJECT(GAMEPLAY.GET_HASH_KEY("prop_weight_20k"),255.745,225.310,101.876, false,false,true)
OBJECT.PLACE_OBJECT_ON_GROUND_PROPERLY(obj[1])
obj[2] = OBJECT.CREATE_OBJECT(GAMEPLAY.GET_HASH_KEY("prop_weight_20k"),255.521,225.734,101.876, false,false,true)
OBJECT.PLACE_OBJECT_ON_GROUND_PROPERLY(obj[2])
end
function setBlipDropOff()
dropOffBlip = UI.ADD_BLIP_FOR_COORD(1378.405, -2078.464, 51.999)
UI.SET_BLIP_COLOUR(dropOffBlip, 16742399)
UI.SET_BLIP_SCALE(dropOffBlip, 1)
UI.SET_BLIP_FLASHES(dropOffBlip, true)
UI.SET_BLIP_ROUTE(dropOffBlip, true)
end
function setBlips()
blip[4] = UI.ADD_BLIP_FOR_COORD(264.144,213.632,102.528)
UI.SET_BLIP_COLOUR(blip[4], 16742399)
UI.SET_BLIP_SCALE(blip[4], 1)
UI.SET_BLIP_FLASHES(blip[4], true)
UI.SET_BLIP_ROUTE(blip[4], true)
blip[1] = UI.ADD_BLIP_FOR_COORD(266.073,213.662,101.683)
UI.SET_BLIP_COLOUR(blip[1], 16742399)
UI.SET_BLIP_SCALE(blip[1], 1)
UI.SET_BLIP_FLASHES(blip[1], true)
blip[2] = UI.ADD_BLIP_FOR_COORD(263.447,212.503,101.683)
UI.SET_BLIP_COLOUR(blip[2], 16742399)
UI.SET_BLIP_SCALE(blip[2], 1)
UI.SET_BLIP_FLASHES(blip[2], true)
blip[3] = UI.ADD_BLIP_FOR_COORD(264.498, 216.189, 101.683)
UI.SET_BLIP_COLOUR(blip[3], 16742399)
UI.SET_BLIP_SCALE(blip[3], 1)
UI.SET_BLIP_FLASHES(blip[3], true)
end
function removeBlip(i)
UI.REMOVE_BLIP(blip[i])
end
function drawText(text, x, y, scale)
UI.SET_TEXT_FONT(6)
UI.SET_TEXT_SCALE(scale, scale)
UI.SET_TEXT_COLOUR(255, 255, 255, 255)
UI.SET_TEXT_WRAP(0.0, 1.0)
UI.SET_TEXT_CENTRE(false)
UI.SET_TEXT_DROPSHADOW(2, 2, 0, 0, 0)
UI.SET_TEXT_EDGE(1, 0, 0, 0, 205)
UI._SET_TEXT_ENTRY("STRING")
UI._ADD_TEXT_COMPONENT_STRING(text)
UI._DRAW_TEXT(y, x)
end
function PacificSandboxHeist.tick()
local playerPed = PLAYER.PLAYER_PED_ID()
local player = PLAYER.GET_PLAYER_PED(playerPed)
local location = ENTITY.GET_ENTITY_COORDS(playerPed, nil)
--Is Player Dead?
if((ENTITY.IS_ENTITY_DEAD(playerPed) == true) and (heistPart > 0))then
resetHeist()
end
--MAIN HEIST--
--PART 1
if ((GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 257.055, 221.135, 106.286 , location.x, location.y, location.z, true ) < 1 ) and (heistPart == 0)) then
heistPart = 1 --Start Heist
notify("Make your way to the safe!")
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt1,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
heistPart = 2 --Move to part 2
--PART 2
elseif((GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 254.034, 225.233, 100.663 , location.x, location.y, location.z, true ) < 6) and (heistPart == 2) and (ENTITY.IS_ENTITY_DEAD(playerPed) == false)) then
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt2,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
if(flag01 == false) then --Near Safe
notify("Open The Vault Door! Plant and detonate the Sticky Bombs at the weak spots!")
end
if(GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 252.318,220.605,101.808, location.x, location.y, location.z, true ) < 3) then
notify("Grab the cash!")
notify("Press [E] to raid the deposit boxes!")
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt4,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
flag01 = true
heistPart = 3
setBlips()
end
elseif((heistPart == 3) and (ENTITY.IS_ENTITY_DEAD(playerPed) == false)) then
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt4,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
if(flag05 == false) then
bankCashPickup = OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 263.951, 213.781, 102.528, 1000, 100, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 263.951, 213.781, 102.528, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 263.951, 213.781, 102.528, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 264.287, 213.803, 102.528, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 264.287, 213.803, 102.528, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_PAPER_BAG"), 264.287, 213.803, 102.528, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_CASE"), 265.884, 213.259, 101.683, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 265.734, 213.780, 101.683, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 265.734, 213.780, 101.683, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 265.734, 213.780, 101.683, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 265.734, 213.780, 101.683, 1000, 2000, 1, false, true)
OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_VARIABLE"), 265.734, 213.780, 101.683, 1000, 2000, 1, false, true)
flag05 = true
end
if(GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 264.287, 213.803, 102.528, location.x, location.y, location.z, true ) < 2 and flag04 == false) then
notify("You collected the cash!")
notify("Escape, or go for the deposit boxes!")
notify("Press [L] when you're ready to leave!")
PED.SET_PED_COMPONENT_VARIATION(playerPed, 9, 1, 0, 0)
removeBlip(4)
flag04 = true
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt4,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
end
if(GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 266.073,213.662,101.683 , location.x, location.y, location.z, true ) < 1 and depoFlag[0] == false) then
if(not timeFlag[0])then
drawText("Press [E] to raid the Deposit Box!", 0.5, 0.5, 1)
end
if(get_key_pressed(Keys.E) or timeFlag[0] == true)then
drawText("Looting Deposit Box", 0.5, 0.5, 1)
if(not timeFlag[0])then
timerInit()
timeFlag[0] = true
ENTITY.FREEZE_ENTITY_POSITION(playerPed, true)
end
if(timer(10000) == true) then
depoPay = depoPay + 450000
flag03[1] = true
removeBlip(1)
notify("Deposit Box 1 Looted")
print("depo1")
depoFlag[0] = true
ENTITY.FREEZE_ENTITY_POSITION(playerPed, false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt4,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
resetTimer()
end
end
elseif(GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 263.447,212.503,101.683 , location.x, location.y, location.z, true ) < 1 and depoFlag[1] == false) then
if(not timeFlag[1])then
drawText("Press [E] to raid the Deposit Box!", 0.5, 0.5, 1)
end
if(get_key_pressed(Keys.E) or timeFlag[1] == true)then
drawText("Looting Deposit Box", 0.5, 0.5, 1)
if(not timeFlag[1])then
timerInit()
timeFlag[1] = true
ENTITY.FREEZE_ENTITY_POSITION(playerPed, true)
end
if(timer(10000) == true) then
depoPay = depoPay + 450000
flag03[2] = true
removeBlip(2)
notify("Deposit Box 2 Looted")
print("depo2")
depoFlag[1] = true
ENTITY.FREEZE_ENTITY_POSITION(playerPed, false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt4,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
resetTimer()
end
end
elseif(GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 264.498, 216.189, 101.683 , location.x, location.y, location.z, true ) < 1 and depoFlag[2] == false) then
if(not timeFlag[2])then
drawText("Press [E] to raid the Deposit Box!", 0.5, 0.5, 1)
end
if(get_key_pressed(Keys.E) or timeFlag[2] == true)then
drawText("Looting Deposit Box", 0.5, 0.5, 1)
if(not timeFlag[2])then
timerInit()
timeFlag[2] = true
ENTITY.FREEZE_ENTITY_POSITION(playerPed, true)
end
if(timer(10000) == true) then
depoPay = depoPay + 450000
flag03[3] = true
removeBlip(3)
notify("Deposit Box 3 Looted")
print("depo3")
depoFlag[2] = true
ENTITY.FREEZE_ENTITY_POSITION(playerPed, false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt4,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
resetTimer()
end
end
end
if((flag04 == true and get_key_pressed(Keys.L)) or (flag03[1] == true and flag03[2] == true and flag03[3] == true and flag04 == true)) then
ENTITY.FREEZE_ENTITY_POSITION(playerPed, false)
heistPart = 4
removeBlip(1)
removeBlip(2)
removeBlip(3)
removeBlip(4)
notify("Shoot your way out of the bank and escape the heat!")
end
--PART 4
elseif((heistPart == 4) and (ENTITY.IS_ENTITY_DEAD(playerPed) == false)) then
if(GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 257.055, 221.135, 106.286 , location.x, location.y, location.z, true ) < 100) then
PLAYER.SET_PLAYER_WANTED_LEVEL_NO_DROP(PLAYER.GET_PLAYER_PED(playerPed),wantedLevelPt4,false)
PLAYER.SET_PLAYER_WANTED_LEVEL_NOW(PLAYER.GET_PLAYER_PED(playerPed),false)
end
if(PLAYER.GET_PLAYER_WANTED_LEVEL(PLAYER.GET_PLAYER_PED_SCRIPT_INDEX(playerPed))<1) then
heistPart = 5 --Move to part 4
setBlipDropOff()
end
--PART 5
elseif((heistPart == 5 ) and (ENTITY.IS_ENTITY_DEAD(playerPed) == false) and (PLAYER.GET_PLAYER_WANTED_LEVEL(PLAYER.GET_PLAYER_PED_SCRIPT_INDEX(playerPed))<1) and (ENTITY.IS_ENTITY_DEAD(playerPed) == false)) then
local pickup
notify("Good job. Get to the drop off point to launder your money.")
if ((PLAYER.GET_PLAYER_WANTED_LEVEL(PLAYER.GET_PLAYER_PED_SCRIPT_INDEX(playerPed))<1) and (PLAYER.GET_PLAYER_WANTED_LEVEL(PLAYER.GET_PLAYER_PED_SCRIPT_INDEX(playerPed))<1) and (GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 1378.405, -2078.464, 51.999 , location.x, location.y, location.z, true ) < 10)) then
if not(flag02) then
math.randomseed(os.time())
local finalPayout =math.random (PayoutMin, PayoutMax)
pickup = OBJECT.CREATE_AMBIENT_PICKUP(GAMEPLAY.GET_HASH_KEY("PICKUP_MONEY_SECURITY_CASE"), 1378.405, -2078.464, 51.999, 0, finalPayout+depoPay, 1, false, true)
flag02 = true
end
if(PLAYER.GET_PLAYER_WANTED_LEVEL(PLAYER.GET_PLAYER_PED_SCRIPT_INDEX(playerPed))<1) and (GAMEPLAY.GET_DISTANCE_BETWEEN_COORDS( 1378.405, -2078.464, 51.999 , location.x, location.y, location.z, true ) < 1) then
PED.SET_PED_COMPONENT_VARIATION(playerPed, 9, 0, 0, 0)
resetHeist()
AUDIO.PLAY_MISSION_COMPLETE_AUDIO("MICHAEL_BIG_01")
notify("Good Job!")
end
end
end
end
--RESETS EVERYTHING---------------------------
--DO NOT EDIT OR RISK BREAKING REPLAYABILITY--
function resetHeist()
despawnGuards()
deleteSpawns()
flag01 = false
flag02 = false
flag04 = false
flag05 = false
flag03[1] = false
flag03[2] = false
flag03[3] = false
flag03[4] = false
timeFlag[0] = false
timeFlag[1] = false
timeFlag[2] = false
depoFlag[0] = false
depoFlag[1] = false
depoFlag[2] = false
heistPart = 0
UI.REMOVE_BLIP(dropOffBlip)
end
--TIMER--
local startTime
function timerInit()
startTime = GAMEPLAY.GET_GAME_TIMER()
end
function timer(timer)
timerActive = true
local difference = GAMEPLAY.GET_GAME_TIMER() - startTime
if(difference >= timer)then
return true
else return false
end
end
function resetTimer()
startTime = -1
timerActive = false
end
function getTimerState()
return timerActive
end
return PacificSandboxHeist
And if the heist doesn't reset at the drop off point, try rearranging --Reset Everything-- to
flag01 = false
flag02 = false
flag04 = false
flag05 = false
flag03[1] = false
flag03[2] = false
flag03[3] = false
flag03[4] = false
timeFlag[0] = false
timeFlag[1] = false
timeFlag[2] = false
depoFlag[0] = false
depoFlag[1] = false
depoFlag[2] = false
heistPart = 0
UI.REMOVE_BLIP(dropOffBlip)
despawnGuards()
deleteSpawns()
end
How do I edit lua, @justkidding_2010?
Btw is this heist support Pirated Gta versions?
@justkidding_2010
@nicedogdog I'm not sure, but I used to have Pirated versions and it's still worked
But it's long long time ago. You can use notepad, wordpad to edit LUA script