qbcore-framework / qb-garbagejob

Garbage Job For QB-Core
GNU General Public License v3.0
30 stars 144 forks source link

Since latest build you dont teleport into truck after requesting a truck![BUG] #52

Closed Revline-RP closed 2 years ago

Revline-RP commented 2 years ago

You dont spawn inside truck after requesting a truck! Truck does spawn but you can't enter it! No errors in console nor serverside

alfiswielki commented 2 years ago

I have the same ... car locked...

ThatsJohnny commented 2 years ago

I can confirm, when requesting the mission it spawns the truck but locks you complete out. How to fix? The bus driver job works perfect you spawn bus and you get into it and get keys Make something similar to garbagejob and its perfect!

CptNoHand commented 2 years ago

Same

tom-osborne commented 2 years ago

To make it warp the player into the vehicle, you can set the following line from false to true https://github.com/qbcore-framework/qb-garbagejob/blob/main/client/main.lua#L470

end, Config.Vehicle, v, false)

Change to:

end, Config.Vehicle, v, true)