[Release] My version of es_robberies [updated]

roleplay

#1

My own edit of es_robberies.
I did this so i could use es_freeroam with es_robberies.

es_holdup is for store robberies and es_bank is well bank robberies.
You can add more banks/stores, these come with 4 stores and the 3 banks from es_robberies

In the server.lua you can make it so it gives dirty money or normal money


Update#1:

  • Managed to get the timer to show when robbing banks and stores


  • Fixed a bug where bank robberies would only last 2 minutes (I forgot to change the timeout function to 300000)

Update#2:

  • Changed the text event (Press E to rob) to



An Edit by yosang: Link

Update#2: Virus scan bank and holdup update2.rar (5.5 KB)

Update#1: Virus scan bank and holdup update.rar (5.4 KB)

Original: Virus scan es_bank and es_holdup.rar (4.9 KB)


[vRP Framework]-[Psycho Edited - FX 3.5]-[23/07/17]
I need help, for lines of code
[HELP] My Job System timer is not working!
#2

good job ! have nice day :slight_smile:


#3

excellent! gonna try this now! ty

Edit
Just tested and works great! TY

Edit 2
Will grab and test the newest version,
Ty for your great work on this!


#4

Hi,

Is it working with es_roleplay ?

Thanks


#5

Where I change the key


#6

Good job. Thanks for the release :wink:


#7

I don’t use es_roleplay, so your just gonna have to find that out yourself.


#8

Nice job, thanks for sharing :slight_smile:


#9

Is this working with es Freeroam 1.03? Not home yet but excited to find out!


#10

After pressing the key and asking to wait 5 min and normal, I did not come police?


#11

Lol it’s normal, it’s for a LSPD Players (for a Roleplay server), not the IA !


#12

Works great, good job!


#13

Thanks a lot for this script !


#14

Thanks a lot for this script!!! One question if I want to set a random reward like between 5000-12000. What I need to change in the script?

reward = (5000,12000) ???


#15

http://lua-users.org/wiki/MathLibraryTutorial

math.random()

RTFM :wink:


#16

Hi thx for sharing @Frazzle.
What about making a version of es_customization for es_freeroam ? :smiley:


#17

any idea to block the stealing for cops and a needed cop connected ? i use this https://forum.fivem.net/t/release-cops-fivem-v1-0-1


#18

hi Day_Field

how to link CopsFiveM script and es_robberies script ?!

its automatique ?

thx and advance

#caribou


#19

Don t know, I want to add a funtion like “if job=job.police then close” and a “if police officier < 2 then close”


#20

Ok thx

I will also try on my side