[Release] My version of es_robberies [updated]

how would we put a timer on them being able to deposit the cash into the bank, so they have to wait 5/10 minutes after robbing it?.

Iā€™d love it if you didnā€™t spam shit about another resource in here >.< go to the discussion area.

hello i press key E and there nothing happening

have you added it to resources? have you added - es_bank and - es_holdup to citmp-server.yml? are you going to the right banks/stores?

1 Like

its good work thanks you

1 Like

Anyway to limit that you cannot rob a bank or store till certain amount of cops are in session???

2 Likes

Iā€™m trying to do this until 2 hours but itā€™s difficult (i use cops system) :confused:

my server found a bug, sometimes when a bank is robbed it glitches out and gives the player 35-36mil. any idea why?

Does anyone know the best way to randomize the payouts? I messed around with Math.Random() but it also gave a different random amount in the chat notification to say how much you stole.

reward = math.random(Your minimum,your maximum),

Yes, but the notification to say how much you earned is different than what goes into your wallet.

You have to print out the value of the variable. e.g. if your variable has the name reward (like mentioned above) print and use it for the addMoney call.

1 Like

the way i done mine to stop the numbers not matching is commenting out the chat notification.
server.lua https://gyazo.com/748e19965a1883a361c3ed04aef6a281
client.lua https://gyazo.com/7cc9e77961420f80c00fa7355f9c7177

Hereā€™s the problem i have. The cooldown is set to 1800seconds (30 minutes) https://gyazo.com/ee2ca8037760dae05aabb471894b04a5 the countdown in game shows it 1500seconds (25 minutes) https://gyazo.com/9b2a351ec99b6f3d62ab258a44e93a49
but i can rob it again after 5 minutes. How or why is this happening?

i know this seems fairly obvious , but you should still add that this has dependency to essentialmode in your main post and maybe link to it. BUT is there any way for this to work without it , i like many others are straying away from it.

does the cooldown work?

Also, anyone have a way to make a check for cops? Basically, to make it so X cops have to be online in order to rob.

3 Likes

possibly to make a check to ensure you have a weapon before you rob and X amounts of cops are on?

I would also like to see it to where a cop must be on before there is a robbery. Not sure how possible it would bit but it would be better so people couldnā€™t come on and just rack up money when there are no cops to stop it.

We are currently running the [Release] My version of es_robberies [updated] and also the [Release] TruckerJob v0.3 [UPDATE 29th January]

We have banking set up and money, the paycheck every 2 minutes works and updates the money in the database, also bank transfers work, and fines from cops. But these two jobs dont seem to actually update your money, they show the ā€œ+30000ā€ animation and text but the money is never actually given to you. We havenā€™t changed either of those scripts. Any advice would be wonderful

Any way to make it so people can not rob a bank/store in a split session? This is becoming an issue as people are learning how to session themselves on purpose.