esx-framework / esx_core

Official Repo For core resources for esx-legacy
https://documentation.esx-framework.org/
373 stars 740 forks source link

almost all my scripts around cars #283

Closed JoeMama87 closed 2 years ago

JoeMama87 commented 2 years ago

[SetVehicleLocked] vehicle does not exist

that is the error i get in F8 and drugs are not happy ether since the update

[ script:t1ger_drugs] SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed: Argument at index 1 was null. [ c-scripting-core] InvokeNative: execution failed: Argument at index 1 was null. [ script:t1ger_drugs] SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed: Argument at index 1 was null. [ c-scripting-core] InvokeNative: execution failed: Argument at index 1 was null. [ script:t1ger_drugs] SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed: Argument at index 1 was null. [ c-scripting-core] InvokeNative: execution failed: Argument at index 1 was null. [ script:t1ger_drugs] SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed: Argument at index 1 was null.

AnthoHansen commented 2 years ago

[SetVehicleLocked] vehicle does not exist

That error explains by itself, there's a problem with the spawn of the vehicle or something like that, you have to check the "TriggerClientEvent" cause that native appears like that here

Check if there's some problem with the car spawn and make prints to debug the problem.

After you test it, put here some screenshots or something more to be able to help you better.

By the way, t1ger is a cool scripter and you can try to ask in the Discord server when they have support. (Limitated, but they have).

Have a nice day! :)

Benzo00 commented 2 years ago

not a issue with esx.