Knaak53 / esx_knatusrobberybank

Complete reworked robbery bank system for ESX fiveM
GNU General Public License v3.0
31 stars 18 forks source link

Doors not opening #19

Open DVTGroup opened 4 years ago

DVTGroup commented 4 years ago

Okay so we start off with a couple vector3 errors which are solveable when you take a look at the updated FiveM WiKi.

SCRIPT ERROR: @es_extended/client/functions.lua:500: vector3(...) argument 1 had type nil The error refers to mulitple lines. In the case of the bank near the city square these are lines 204 and 216 in the client script of esx_knatusrobberybank.

Now by changing: ESX.Game.GetClosestObject(doortype,coords)

To: ESX.Game.GetClosestObject(coords,doortype)

Those erros go away. But the doors do not open (either the vault door, or the smaller vault doors you need to hack). Object returns -1 if you do not use GetClosestObjectOfType and change about 50% of the function. But still then the Rotation remains a issue. It's not moving a inch. Neither rotation nor heading are working methods.

We are trying to get this fixed but apparently there isn't much we can see without reading into the code for a 1-2 days.

KacpereQ02 commented 4 years ago

Same.

Mattthh commented 3 years ago

Hey, don't fixed ?