Md-tacotruck

This is a job script meant for base jobs. You pay 500 bucks to get 100 tacos and a truck to sell to random peds!

peds will approach your truck if you get close to them and has a range of 100 vectors

the selling portion is an edit of qb-drugs with an increase of ped to player range and 100 vectors to trigger Too Far Away. Also removed busy inventory. always pissed me off trying to sell drugs and couldn’t check if i a good amount left

If you’re selling your resource, please include the following information at the end of your post:

Code is accessible Yes
Subscription-based No
Lines (approximately) 1000
Requirements qb-core
Support Yes
3 Likes

Your removal of busy inventory makes this exploitable.

1 Like

Ahh, I’ll throw it back in the

Fixed now :blush:

1 Like

where does step five go?

Radial menu! Sorry my bad

Got most of it working but with the QB interaction deal, I can’t get the right click portion to pop up?

For QB-Target
it’s @qb-target/client.lua:417: attempt to index a nil value (field ‘?’)

The line in question is:

listSprite[closestZone.name].success = true

You need to change the line above (line 416 in your case, in my case it was line 417) to “if Config.DrawSprite and listSprite[closestZone.name] then
the “and listSprite[closestZone.name” is important and missing, then it should work otherwise just contact me.

(i am not the creator of qb-target)