[Release] [ESX] 99kr-burglary

which inventory hud u using

dont see lockpick image in this hud

Errors for fiveM_burglary

@NZMacgyver

My problem is police get 0 notification I am using gcphone even on vanilla 99k no notification. I reme like 1 month ago it worked now it doesn’t.

by any chance @KingAlmond is your burglary script starting before your gcphone, if so make gcphone before the burglary script. hope thats your problem

Love the script but i have spotted a flaw. When the play enters the house to rob items they can exit the game and join back without leaving the house and will spawn inside thus avoiding the wait timer and saves them using lockpick.

@Rated flaw fixed script starts with empty loot spots, to update spots the door has to be lockpicked
so anyone that leaves server inside house comes back to empty loot spots

All house have the same instance… we should not be able to see player from house 1 if you enter house 2.

Should take a look at instance script make call a instance when you enter the house.

can someone test this code for me as my server is not live and I dont have 2 account I cant test so have no way to find out if its going to work. this(I hope) will make you invisible to other inside the house and collision turned off as well. again I have no clue if this will work, just trying some shit so you can enter the instants and if there is someone in there you wont be able to see them or hit them. this is only week 3 for me playing around with lua and GTA stuff.
add this to client.lua line 262 and 263

 SetPlayerInvisibleLocally(PlayerId(),  false)
 SetEntityNoCollisionEntity(GetPlayerPed(playerID), GetPlayerPed(PlayerId()), 0)

add this to client.lua line 299 and 300


SetPlayerInvisibleLocally(PlayerId(),  true)
SetEntityNoCollisionEntity(GetPlayerPed(playerID), GetPlayerPed(PlayerId()), 1)

with the lastest version from github

Hey there. I think I have the latest build from github, and putting in the new code did nothing for me. If you need an online server to test things with, I’ve got two I use one is normally under 10 players that you could try things out on if you’d like.

my cop notifs work ill try this out soon

Howd you get the cop notifications working? It worked for me for like a day and then it broke completely, not sure whats been going on

updated so you can only do a burglary between 11pm and 7.59am outside those time it will tell you how long till you can try lockpicking

2 Likes

are you using esx_phone or esx_gcphone? if your using esx_phone the burglary script is set to use gcphone.

Im using gcphone, it worked for a few hours of a day then no longer

edit: Nevermind, I updated to the most recent version and it works. Thanks a ton for all the work you have been doing, it’s really appreciated and I wish I could give you more credit then just kind words. :star_struck:

you should really check for instance script
We shouldn’t be able to see player that are in house 3 when we are in house 1 and it will be perfect ^^

is there anyway you can tell me what interior you used for this script

Heres the coords for the inside of the house displayed in the video .

{ x = 346.56, y = -1012.61, z = -100.18, h = 357.0}

1 Like

Thanks

what interior are you using ? is that ipl ?