Commit Graph

126 Commits

Author SHA1 Message Date
P0Xyio 1367f5ebaa even better way to fix bug with duplicating money and weapons
In my solution, I check if player has weapon/money that officers might want to take server-side. Previous solutions were vulnerable e.g. if two or more officers were searching one player and all took weapon or money at the same time, they would all get that items.
2020-11-17 11:42:04 +00:00
Carmelo Campos 83977e6072 Fix Bug Duplicate black Money
This error consists in that when the black money is confiscated (if it is given twice quickly) the money is doubled and the objective remains in negative money.
I know that many use the esx_policejob as the basis for the esx_mafia therefore, this error is very important to solve, since if the money is added together with the black_money it can be duplicated in a phenomenal way.

Sorry for my English, I tried to explain myself what else I could.
2020-11-02 00:30:11 -05:00
userMacieG 0554280f32 Check for "MaxInService == -1" (#481)
If "MaxInService == -1" is true check for service is skipped
2020-08-07 00:42:24 +01:00
Jougito - Kheros a3c5de9f87 Improved realistic out vehicle animation, Markers modification implemented and Added es_esx_policejob.sql (#465)
* Improved realistic out vehicle animation.

* Markers modification implemented.

* Added es_esx_policejob.sql.
2020-07-03 17:55:58 +01:00
Arthur Hetem f7eafa8b7b Update main.lua (#413)
Merging, corrected freemode ped don't return when exit work
2020-07-03 17:52:04 +01:00
ElPumpo f83e05c83b Fixed searching for vehicles, closes #398
Co-Authored-By: mortdudley <mortdudley@users.noreply.github.com>
2020-02-12 10:48:21 +01:00
ElPumpo 259cbc5b08 Fixed identity job 2020-02-06 13:05:43 +01:00
ElPumpo a5e8e7f6b8 Update main.lua 2020-01-24 13:25:25 +01:00
ElPumpo 355c04bebb Move vehicle garage to seperate file, see desc for full change 2020-01-24 13:25:10 +01:00
ElPumpo 7037671420 Fixed not on duty logic 2020-01-22 14:46:41 +01:00
ElPumpo eb31314f02 Minor code improvements, drag once, improved coords distance code 2020-01-22 12:33:51 +01:00
ElPumpo 4150f8c911 Cloakroom cleanup 2020-01-22 12:20:37 +01:00
ElPumpo d733fe5428 Minor code cleanup, use latest esx_identity code 2020-01-19 16:30:30 +01:00
ElPumpo 4fd106e321 Fixed cone not spawning 2020-01-04 11:03:55 +01:00
ElPumpo 633268330c Fixed handcuffing, closes #314 and #316 2019-07-28 20:56:39 +02:00
ElPumpo 8a6f3d9e2f Fixed #331 2019-07-06 14:00:27 +02:00
ElPumpo 4778307d7f Fixed #315, use loading prompt instead of drawing text 2019-07-06 13:57:13 +02:00
ElPumpo 7cfebdd843 Minor cleanup 2019-05-31 22:40:10 +02:00
ElPumpo 0a347eda2a Unused text native 2019-05-31 12:40:18 +02:00
ElPumpo 4bbd1d9521 Proper hud natives 2019-05-20 23:05:10 +02:00
ElPumpo 8528fd8037 Proper cb usage 2019-05-05 09:48:47 +02:00
ElPumpo 1abbccec45 Fixed boss menu 2019-02-28 11:44:10 +01:00
ElPumpo adea5f713b Fixed #223 2019-01-18 10:36:39 +01:00
ElPumpo 97a3896020 Sleep loop if it's OK 2019-01-11 22:53:47 +01:00
ElPumpo 76a06abc78 Fixed #223 2019-01-03 13:16:13 +01:00
ElPumpo 5b3c553e66 Fresh playerdata when opening shop 2019-01-02 20:17:39 +01:00
ElPumpo 0084ef5752 Complete vehicle job system re write 2019-01-01 19:09:50 +01:00
ElPumpo 52cc71a292 Moved all coords to vector3 types 2019-01-01 16:38:11 +01:00
ElPumpo 77ff73d699 Re wrote police armory. Components supported too! 2019-01-01 15:50:19 +01:00
ElPumpo 1dece11ccd Check IsControlJustReleased() every frame 2018-12-30 20:58:06 +01:00
ElPumpo fe00e79046 Proper vector3 parsing 2018-12-22 12:32:14 +01:00
ElPumpo d062d101d6 Undrag if cop dies 2018-12-22 12:29:02 +01:00
ElPumpo 048f291d81 mysql-async request optimizations 2018-11-28 21:45:41 +01:00
ElPumpo b944ad9659 Secured events from non-cops 2018-11-20 21:15:06 +01:00
ElPumpo 70a882165e Implemented multiple vehicle spawn point system, closess #109 2018-10-20 20:06:47 +02:00
ElPumpo de674ab53a Fixed moving when restrained causes weird animation 2018-09-29 14:07:28 +02:00
ElPumpo 8eeb444df7 Fixed handcuff animation not being enforced 2018-09-15 21:37:30 +02:00
ElPumpo 2b31d526bd Fixed #189, performance improvements, 4 tab indent update 2018-09-15 11:15:50 +02:00
ElPumpo ae13da8170 Added mission row garage at the back, improved PlayerData fetching 2018-08-23 20:00:33 +02:00
Samuel 4ea8a06086 Merge pull request #165 from LifeGoal/master
Replaced barrier prop to police barrier
2018-08-11 13:22:33 +02:00
ElPumpo ae8cdf1371 Fixed citizen clothing, closes #166, closes #164 2018-08-10 21:49:21 +02:00
Viktor 0997415775 Added police barrier 2018-08-07 22:35:56 +02:00
ElPumpo 42c0b81cec Minor improvmenets to freemode peds, #154 2018-07-28 15:42:04 +02:00
ElPumpo 5926584595 Closes #130, updated to support new vehicle db system 2018-07-25 12:11:04 +02:00
ElPumpo b3a8b6ddb5 Fixed restarting resource without esx_service enabled 2018-07-23 20:31:39 +02:00
ElPumpo 2d634487a7 Fixed issue with blips noted in #125 2018-07-23 12:06:25 +02:00
ElPumpo 662a535244 Fixed typo 2018-07-22 18:17:21 +02:00
ElPumpo 7ad20daf52 Some fixed to blip system closes #77 2018-07-22 15:08:40 +02:00
ElPumpo d8100fe0d0 Greatly improved esx_service (see desc), closes #138
Not being in service means that you can no longer open the F6 menu, or open the armory. You will no longer be able to take out vehicles or receive dispatch calls.

Greatly improved support for esx_service and esx_phone when restarting the scripts mentioned above mid-game.

All ranks now have proper clothing in,  but will still need a redo at some point. Many ranks simply doesn't match USA standard (that's what we'll aim at)

Don't forget to update esx_service and esx_phone to support the new things!
2018-07-22 14:45:11 +02:00
ElPumpo 14507e97b2 Fixed exploit taking more than you can carry, closes #134 2018-07-17 21:46:28 +02:00