With the current hype of Prodigy RP 2.0 release, I know some weasel is going to make a pickpocketing script and slap it on tebex for like $15 when it honestly takes very minimal work. With my lack of motivation lately this was a easy, simple release for me to hopefully get back on the scripting grind. Enjoy.
Quick Breakdown:
Must be facing the ped you’re targetting and they can’t be facing you.
Add configurable cooldowns between pickpockets, police alerts and blacklisted jobs.
Detection whilst pickpocketing to see if the ped is running, flees or the distance between you is substantial.
GTA Zone based rewards. Each zone has a tier assigned (low, medium, high) which you can obviously change to suit your needs.
Different rewards for each tier and also configurable cash rewards for each zone. By default I roll a 50/50 chance on whether it will be item based or cash reward.
Do not ask me for support unless it’s BUG related. I see this as a decent base script for you to maybe implement minigames and/or a thieving xp system but I will not help you do it.
Completely forgot to add this feature, thanks to my homie qwade for reminding me. If you don’t roll loot luck, it will be considered a fail and the ped will pull out a tazer and zap you. Should be updated on github.
A reward item you’re tryna give doesn’t exist in your inventory items. The default items may not be in ox inventory so you’ll have to add them or add your own.
Sorry to bother you, but I’m getting the following error on qbcore. I understand that this is due to me not having the scripts specified in the dependencies, but shouldn’t the bridge fix that?
How about the idea that the victim uses pepperspray instead of a tazer? Possible or to much for a free one? After you got peppered may an effect with less visibiliy of your view