Commit Graph

552 Commits

Author SHA1 Message Date
ElPumpo bd76482cae Minor adjustments, changed sql database name 2020-04-14 16:45:28 +02:00
SW1FT 5f9fc94c4d Fixed English locale typos (#659)
* Minor en locale changes

* Forgot this one
2020-04-14 14:58:34 +02:00
ElPumpo 6a0f3ca452 Fixed untested new code :/ 2020-04-14 13:58:40 +02:00
ElPumpo cf7f6b14f4 Finished new code, closes #249
Co-Authored-By: Lén <corbeau.lenaic@gmail.com>
2020-04-14 13:25:45 +02:00
ElPumpo 5562712975 ⚠️⚠️BREAKING COMMIT⚠️⚠️: Merged dupe client functions code
This changes arguments on the following functions:
- ESX.Game.GetClosestObject()
- ESX.Game.GetPeds(), no more arg for ignoreList
- ESX.Game.GetClosestPed(), no longer a ignore list, instead a whitelist
2020-04-14 13:08:10 +02:00
ElPumpo e772031094 Fixed some cases of shadowing upvalue 2020-04-14 10:42:03 +02:00
ElPumpo 26ac44b35b Hopefully fixed #633 2020-04-14 10:29:30 +02:00
ElPumpo 779afff503 Fixed typos in locales, closes #658 2020-04-14 10:23:55 +02:00
ElPumpo 71e24f0a72 Fixed while statement 2020-04-13 19:02:56 +02:00
ElPumpo 238bcae7c0 Stop incompatible resources (see description)
Automaticly stop resources that

- a) not compatible with ESX, for example spawnmanager
- b) does the same as esx does, but what esx probably does better
2020-04-13 17:50:20 +02:00
ElPumpo 2b58041abb Added default map name & game type
Co-Authored-By: Thuan Truong <newt74@users.noreply.github.com>
2020-04-13 16:33:00 +02:00
ElPumpo d707b60493 Added timeout on HasCollisionLoadedAroundEntity() 2020-04-12 18:11:35 +02:00
ElPumpo ddd3a88336 Minor variable renaming 2020-04-11 11:55:27 +02:00
ElPumpo 8de2e4311a Unload model where applicable 2020-04-11 11:53:50 +02:00
Samuel b8cf86532f Merge pull request #637 from Profex1999/patch-1
Fix removeWeaponComponent not working correctly
2020-04-09 17:54:55 +02:00
Andrea Passarini 9f1a18d420 Fix removeWeaponComponent not working correctly 2020-04-07 04:43:24 +02:00
ElPumpo b0215b9671 Fixed isDead variable not updating properly, closes #635
Co-Authored-By: pitermcflebor <pitermcflebor@users.noreply.github.com>
2020-04-06 17:59:40 +02:00
ElPumpo 492f41ca45 Don't spam request asset natives 2020-04-06 13:19:34 +02:00
ElPumpo 2c2978feaa Replaced coords sync interval with sync every second
Because xPlayer.getCoords() has uses it cant be out of sync code
2020-04-06 12:09:06 +02:00
Samuel f70e1ad3ed Merge pull request #624 from YisusTM01/master
Fixed collisions of pickups items and weapons
2020-04-06 09:59:38 +02:00
Jesús 1f61585917 Fixed collisions of pickups items and weapons
Fixed character and car collisions with objects lying on the ground (also weapons and the bat itself).
2020-04-04 19:03:34 +02:00
Vegard Bendiktsen f4558c85e3 Support table/list of groups when registering commands (#616)
* Support table/list of groups when registering commands

* Adhere to "unwritten code standard"
2020-04-03 09:20:58 +02:00
RoJea32 6c70abd5e8 Fix "attempt to index a nil value field ('?')" (#612)
* Update main.lua

* Update main.lua
2020-03-31 11:24:30 +02:00
麻辣戈壁 93772d378f Add simplified Chinese and traditional Chinese language (#588)
* Add simplified Chinese and traditional Chinese language

* Update tc.lua

* Added new translations

* Added new translations

* Update sc.lua

* Update tc.lua

* Very final strings to translate

* Update sc.lua

* Update tc.lua

Co-authored-by: ElPumpo <samo_kol@hotmail.com>
2020-03-30 10:20:37 +02:00
ElPumpo 77e810ce95 Fixed setting vehicle pearlescent color
Co-Authored-By: Daniel Hawton <daniel@hawton.org>
Co-Authored-By: ChainTastic <chaintastic@users.noreply.github.com>
2020-03-26 12:10:45 +01:00
ElPumpo fde5571b43 Improved error messages and fixed players joining with same identifier, fixes #605 2020-03-26 11:59:27 +01:00
ElPumpo 09e50046c0 Only apply a player model if coming from loading screen 2020-03-26 11:24:51 +01:00
ElPumpo be2dc2e9e2 Minor adjustments 2020-03-25 22:45:23 +01:00
Samuel 4253d02d68 Merge pull request #602 from Oldarorn/patch-6
Updated French translations
2020-03-24 19:03:35 +01:00
Oldarorn 2c4d33defa Update fr.lua 2020-03-24 13:49:34 +01:00
ElPumpo 8a6579fd7e Added /setaccountmoney command, closes #558 2020-03-24 10:57:25 +01:00
ElPumpo d41b9a7d90 Minor locale adjustment 2020-03-24 10:52:02 +01:00
ElPumpo 8a586e433c ⚠️⚠️BREAKING COMMIT⚠️⚠️: mapmanager & spawnmanager ditch
Make sure you remove or disable mapmanager and spawnmanager
2020-03-23 13:58:41 +01:00
ElPumpo 0fc8c4d9c5 Added /save <playerId> and /saveall commands 2020-03-23 12:10:25 +01:00
ElPumpo d8e4e8d991 Fixed group not storing on db when saving player 2020-03-23 11:55:55 +01:00
ElPumpo 4cc964b9d5 Updated sponsor url 2020-03-22 14:46:54 +01:00
ElPumpo d91d34670d Added sponsorship with Iceline Hosting❤️ 2020-03-22 14:32:31 +01:00
ElPumpo 986cbfb32a Added missing trailing spaces 2020-03-22 09:47:04 +01:00
ElPumpo 9a1dfa42ca Sync consumed ammo with server properly
No more security issues here!
2020-03-22 09:43:43 +01:00
ElPumpo ff9930068f Keep weight stored 2020-03-15 12:20:08 +01:00
Samuel 69fe87300d Updated French translation (#572)
Update fr.lua
2020-03-12 18:08:20 +01:00
Oldarorn 9b97d1ea67 Update fr.lua 2020-03-12 17:17:13 +01:00
MohamedAmrMahdy e712c0158d Add xPlayer.getMaxWeight() (#559)
* Add xPlayer.getMaxWeight()

Add ability to read current maximum weight for player

* Remove the tab indent
2020-03-11 09:53:57 +01:00
ElPumpo a8255ce6e3 Corrected spelling 2020-03-11 09:44:26 +01:00
ElPumpo e0d561649b Added invalid command handler 2020-03-09 13:05:33 +01:00
ElPumpo 7efcf85abb Fixed indent mistake 2020-03-09 12:35:40 +01:00
Samuel e0672840ce Merge pull request #557 from MaLaGeBe/patch-1
Fix give weapon ammo on esx:giveInventoryItem
2020-03-07 14:00:47 +01:00
麻辣戈壁 086f280a77 Fix give weapon ammo on esx:giveInventoryItem 2020-03-07 19:59:45 +08:00
Oldarorn 829994dd9c Updated French translations (#551)
* Update fr.lua

* Fix indent
2020-03-06 20:59:18 +01:00
ElPumpo 1d60857a7e Fixed /setgroup command 2020-03-06 20:46:28 +01:00