[ESX][FREE][OX] P_playerRob

Thief Script for FiveM

This script adds a thief/robbery feature to your FiveM server. Players can initiate a robbery by using the rob command when near another player. The victim needs to have their hands up for the robbery to be successful.

Features

  • Player-initiated robbery
  • Hands-up animation for the victim
  • Use of Mythic Progbar for a progress bar during the robbery

Dependencies

Code is accessible Yes
Subscription-based No
Lines (approximately) 184
Requirements
Support No
4 Likes

is this like the steal command in ox??

yes but this is much better than ox inventory’s steal command here you need a weapon to rob the player

Why not using the ox lib progress bar ?

There was a warning about using ox_ prefix in your scripts btw, just a head up so u dont get flaged or reported or anything about that…
And i agree, if u using ox why not using ox_lib progress bar, iam sure most of ppl would change that part anyway (I would for sure…)

Script could be very usefull for RP servers tho so ty for posting it free. keep up

1 Like

that’s why we put mythic progbar and not ox lib progbar because we use mythic on our own server for so many different scripts, but you can change ox yourself if you want

1 Like

Thanks for the feedback and that ox_ prefix warning!

you should add a ‘you are being robbed’ or ‘you are being searched’ notification to the person being robbed