[QB-ESX] Rob NPC Script [PAID] [6.99€]

Hi there lads :wave:
This is a very optimized script that I’ve been working on for a few days now. It gives players the ability to rob NPCs and get some cash or maybe items like a wallet, a precious watch or some old junky phone.

image

[an_robnpc]

Summary:

A handful script that let players rob NPCs by having them at gun point and then searching their pockets for cash and items.

Features:

  • Ability to rob any NPC by aiming at them with any weapon (except for melee weapons)
  • Get rewarded with random amounts of cash or items if you’re lucky
  • NPCs can beat ur ass if configured
  • Cool animations and sound effects
  • Some handy notifications
  • 3D text draws to show custom NPC messages
  • Cooldown System
  • Ability to make the script dependent on the number of online cops
  • Police alert system
  • Greatly Optimized and Performance-friendly with very small resmon time ~0.00 idle and ~0.04 in action
  • The resource is fully unlocked ( No obfuscation or IP-lock )
  • Everything is configurable through the config.lua file
  • Consistent Updates

Dependencies:

  • ESX Final 1.2 or QBCore

Support:

  • Full support will be given to purchasers via DMs.
  • I can help you customize the script to implement your own systems ( e.g: adding your own notification or police alerts… )

Buy now through Tebex for 6.99 Euros

Video Preview:

UPDATES:

Version 2.0.0

Changelog
+ Complete support for QBCore
+ NPCs can now beat ur ass ( Configurable )
+ Added human check for the NPC so you can no longer rob the poor stray cats

Version 1.2.0

Changelog
+ Added cooldown system [ Configurable ]
+ Animations are now smoother than before
- Fixed a major bug where some NPCs run away when you are trying to rob them

Version 1.1.0

Changelog

Changelog:

+ Added checking for number of online cops [ Configurable ]
+ Added Police alert system [ Configurable ]
+ Optimized the usage of anim dicts
- Fixed a small error in the item drop chance

You can get the newest version from the same Tebex link

My Other Releases:

:green_circle: Custom Radio Sound Effect [FREE]
:red_circle: [QB-ESX] Rob NPC Script [PAID] [6.99€]
:green_circle: [RELEASE] Useful Commands for RP | /job /cash /bank /ping /license [FREE]
:red_circle: [ESX] AFK Mode / Idle Zone [4.99€]
:green_circle: [ESX] Ladders [FREE]
:green_circle: [FREE] Job-Based Blips Creator [ESX] [QBCore]

3 Likes

nice product ! the police can be alert about this ?

1 Like

Seems like you are not cleaning anim dicts after being used.
image

it’s actually in my TO DO list. I just need some ideas on when to trigger the alert.

1 Like

It’s not something that you should worry about performance-wise but I’ll fix it very soon.

the trigger can start when you start animation for stealing item from NPC.

I was thinking of something like when the npc run away after you rob him, he can call cops on you or something ( with a phone calling animation ) but if you kill him he wouldn’t call them or something.
But I’ll surely think of something better.

yeah can be really good, but the problem is… it’s at end of transaction so… when police got alerted… the thief is far away xD

i think… the NPC can say “let me alone ! i call the cops” and the police got alerted and pnj start phone animation :slight_smile: .

1 Like

Yeah there is a Config.runAwayPercentage that can be set in the config file, if that’s triggered we’ll trigger the phone animation after he runs away.
I’ll make something out later tonight, thanks for the great ideas :grin:

you are welcome :slight_smile: and make a choice for choose key to use ^^ lot of player use the drug sell to npc ^^

can be conflicted with key for use

You don’t need to click any key for my script to work, just aim at any NPC and start robbing them.

ok nice :slight_smile:
i wait for notification from LSPD and i buy it :wink:

1 Like

Open source?

of course
image

Oooouh, any QBcore version of this gem?

I’m not that familiar with QBCore but I’ll try doing one in the future.

Hit me up if you do it, I need this on my server hahaha

1 Like

[UPDATED to 1.1.0]

Changelog:

++ Added checking for number of online cops [ Configurable ]
++ Added Police alert system [ Configurable ]
++ Optimized the usage of anim dicts
-- Fixed a small error in the item drop chance

You can get the new version from the same Tebex link