Commit Graph

6209 Commits

Author SHA1 Message Date
ElPumpo bc56c7607b Fixed possible error 2020-01-04 13:51:17 +01:00
ElPumpo d2f52e2fce Manual merge PR #10 #12
Co-Authored-By: Tracid <tracid56@users.noreply.github.com>
2020-01-04 13:50:08 +01:00
ElPumpo 906ac324da Minor changes 2020-01-04 13:48:54 +01:00
ElPumpo 653e60ae2e Manual pr #24, fixes sit not working
Co-Authored-By: duckhunter392 <duckhunter392@users.noreply.github.com>
2020-01-04 13:43:07 +01:00
ElPumpo 9348b5176c Initial repo cleanup 2020-01-04 13:35:47 +01:00
rex2630 2634d0356e Removed keys table 2020-01-04 13:06:51 +01:00
ElPumpo bc4f950717 Minor repo changes 2020-01-04 13:05:17 +01:00
Samuel 6ac2c76016 Merge pull request #31 from userMacieG/patch-1
Update README.md
2020-01-04 13:01:59 +01:00
Samuel e54b4f9300 Merge pull request #25 from Najsr/master
Optimized the code a bit
2020-01-04 13:01:21 +01:00
ElPumpo 00b5a75d4f Minor server sided code improvement, fixed #14 2020-01-04 12:56:46 +01:00
Samuel a1575ee3fc Merge pull request #22 from Tinky124/patch-1
Removed misleading key table
2020-01-04 12:52:06 +01:00
ElPumpo c7dbd9361f Fixed player revive notification showing Steam name, and check if online 2020-01-04 11:45:00 +01:00
ElPumpo 94ba42812a Removed useless prints, minor repo updates 2020-01-04 11:35:42 +01:00
Viktor 9247654252 sv.lua completion (#151)
* sv.lua completion

* Update sv.lua
2020-01-04 11:18:15 +01:00
rex2630 dcc113ae06 Removed keys table (#172)
* Removed keys table

* Changed key values to numbers
2020-01-04 11:17:55 +01:00
ElPumpo 99f9a30cd8 Merge branch 'master' of https://github.com/ESX-Org/esx_policejob 2020-01-04 11:15:59 +01:00
ElPumpo 176adafc08 Added missing requirements
Co-Authored-By: EDWernars <edwernars@users.noreply.github.com>
Co-Authored-By: Petr 'celestian' Čech <celestian@users.noreply.github.com>
Co-Authored-By: kandasoranyan <kandasoranyan@users.noreply.github.com>
2020-01-04 11:15:47 +01:00
Viktor 9c6b828dba Swedish locale update (#340)
* sv.lua completion

* Update sv.lua
2020-01-04 11:06:25 +01:00
JaeHyeok Kim a64773124f Added Korean support. (#354)
* Added Korean localization of the SQL file

* Added ko.lua

* Fixed ko.lua, Updated resource.lua
2020-01-04 11:05:16 +01:00
ElPumpo 55f4881031 Fixed Swedish typo 2020-01-04 11:04:06 +01:00
ElPumpo 4fd106e321 Fixed cone not spawning 2020-01-04 11:03:55 +01:00
ElPumpo b30e72bdcc Fixed /givecommandcomponent command, closes #422 2020-01-04 10:55:10 +01:00
ElPumpo fdabf80657 Implemented ESX weapon drops with components support, closes #421 2020-01-04 01:33:12 +01:00
ElPumpo 2f75152457 Changed how pickups work, see desc. Fixed #338, fixed #420
- Pickups now require you to press E once nearby to pick up
- Fixed pickup objects sometimes not showing up #420
- Added animation to picking up and throwing items
- Added message when inventory cannot accept picking up item
2020-01-03 19:20:26 +01:00
ElPumpo 9b33a3e6ca Fix math round function again
Co-Authored-By: hugocabral <hugocabral@users.noreply.github.com>
2020-01-03 19:10:25 +01:00
ElPumpo bf9c14ed57 Added /giveweaponcomponent command, easier to understand parms table 2020-01-03 17:56:44 +01:00
ElPumpo 2140f8628c Added log level to print uses, and change formatting 2020-01-03 13:55:23 +01:00
ElPumpo ffa05600a4 Updated readme 2020-01-03 13:05:16 +01:00
ElPumpo 2539e6fa9d Added missing exception handlers to commands, removed /setmoney command closes #206 2020-01-03 12:49:07 +01:00
ElPumpo 8eb1acd082 Fixed round function not properly working in some locales, closes #258 2020-01-02 14:31:46 +01:00
ElPumpo 4187675148 /dv command changes (see desc)
- Added optional /dv argument for deleting vehicles in proximity
- Use RequestControlOfEntity native to properly delete entities
2019-12-27 14:49:29 +01:00
ElPumpo 756a13f3bb Add vehicle test for /car command, and use IsModelInCdimage() native 2019-12-27 14:09:07 +01:00
ElPumpo 2d80e55631 rename _source variable to playerId 2019-12-27 13:49:40 +01:00
ElPumpo aad435842b Update player.lua 2019-12-27 13:47:18 +01:00
ElPumpo f9afa6f017 player.lua: implement canSwapItem() and triggerEvent() 2019-12-27 13:45:53 +01:00
ElPumpo f0130e8f38 player.lua: test nil values 2019-12-27 13:39:31 +01:00
ElPumpo 28bcb5ca71 Removed commands: /loadipl /unloadipl /playanim /playemote /spawnped /spawnobject 2019-12-27 13:00:54 +01:00
lemonpea 0439cab26b Add function to replace all elements.
This would be nice to have, it would be easier to manage a menu if it's already opened. Here is an example where I would use it.

https://gyazo.com/a5b648502bc15c0c629ce3b86d1759cd
2019-12-23 17:03:28 +01:00
ElPumpo 5e8b248e0a Completed server-sided code, and fixed serious caution flaws 2019-12-07 12:44:36 +01:00
rex2630 752c0d5e65 Add support for new ESX weight system (#365)
* Add support for new ESX weight system

* Update main.lua

* Fix
2019-12-07 12:10:01 +01:00
rex2630 f8f97578db Added Czech translation (#22)
* Added czech lang

* Added czech lang
2019-12-07 12:09:26 +01:00
ElPumpo 5a38d951e8 Initial code cleanup 2019-12-07 11:22:40 +01:00
rex2630 b9ea9478c3 Added Czech locale (#55)
* Czech language support

* Fix

* Czech lang support
2019-11-24 18:06:28 +01:00
Samuel ca07da00d4 Merge pull request #57 from rex2630/patch-3
Removed keys table
2019-11-24 18:05:48 +01:00
rex2630 5c5dcf7643 Removed keys table 2019-11-24 18:05:16 +01:00
Tinky 92c5b10343 Removed local keys 2019-11-19 20:46:01 +01:00
ElPumpo 3aa7ada482 Follow markdown standard 2019-11-16 18:26:36 +01:00
ElPumpo c7a30efdd1 Added ESX.Table.Set() function and fixed accounts not loading
http://www.lua.org/pil/11.5.html
2019-11-16 17:41:41 +01:00
ElPumpo aa1ad0a1e8 Minor code improvements 2019-11-14 22:26:13 +01:00
ElPumpo f32f44f502 Fixed trailing spaces, and commands.lua use apostrof 2019-11-14 21:25:16 +01:00