Theme editor

QBCORE Lunar ATM Robbery : Modified version

s.kishino

Member
Joined
Feb 4, 2024
Messages
15
Reaction score
0
Points
0
Credits
892
Thread owner
Preview of the Script

Based on Lunar ATM Robbery script ( ripping ATM off the wall version ).
Added the need of drilling the ATM Machine before you can attach rope to it. Drilled State is broadcasted to all players. ( With sound, animation )
Drill will broke randomly. ( Math.Random )
Added Rope Length modifier.
Fixed Item not removing from inventory ( I figure some of you is lazy enough to not fixing it anyway )
Removed ATM Pickup. ( You can add it back by restoring commented line )
Added Cop check on script startup.

Enjoy :)

Dependencies : qb-core, okokNotify ( You can change it )

 
Last edited:
Thread owner
View attachment 13306
Some vehicle will get pull into the ATM, removing these 2 line ( and in the sync function below as well ) will fix the issue. I am still looking for a better way to extend the length of the Rope.
 
Thread owner
The script will sometime fail to detect if a vehicle is nearby when the vehicle doesn't have bumper_r bone id. To fix this , replace the local VehCoord = GetWorldPositionOfEntityBone(veh, GetEntityBoneIndexByName(veh, 'bumper_r')) with local VehCoord = GetEntityCoords(veh)
 
Another interesting script to check the code as it has some interesting features that can be used on a lot of different things! Thanks!
 
  • Post hidden due to user being banned.
Thread owner
If your addon car doesn't pull the ATM correctly.

Find and replace the following line :
AttachEntitiesToRope <<< AttachEntitiesToRope(rope[bsn], ATMobject, veh, ATMCoord[1], ATMCoord[2], ATMCoord[3]+0.8, VehCoord[1], VehCoord[2], VehCoord[3], 1, false, false, 0, 0)
 
If your addon car doesn't pull the ATM correctly.

Find and replace the following line :
AttachEntitiesToRope <<< AttachEntitiesToRope(rope[bsn], ATMobject, veh, ATMCoord[1], ATMCoord[2], ATMCoord[3]+0.8, VehCoord[1], VehCoord[2], VehCoord[3], 1, false, false, 0, 0)
thanks for thiss my pal!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
  • Post hidden due to user being banned.
Preview of the Script

Based on Lunar ATM Robbery script ( ripping ATM off the wall version ).
Added the need of drilling the ATM Machine before you can attach rope to it. Drilled State is broadcasted to all players. ( With sound, animation )
Drill will broke randomly. ( Math.Random )
Added Rope Length modifier.
Fixed Item not removing from inventory ( I figure some of you is lazy enough to not fixing it anyway )
Removed ATM Pickup. ( You can add it back by restoring commented line )
Added Cop check on script startup.

Enjoy :)

Dependencies : qb-core, okokNotify ( You can change it )
nice script thank bro !
 
  • Post hidden due to user being banned.
Back
Top Bottom