Commit Graph

17 Commits

Author SHA1 Message Date
Linden 0cc776dfc3 refactor(server/main): Removed duplicate code and use type when defining xPlayer 2021-06-03 07:12:09 +10:00
Linden ee3d1d024f improvement(server/main): Use the new xPlayer loop when restarting the resource 2021-05-28 10:29:02 +10:00
Linden d876399bab chore(server/main): Removed leftover debug code 2021-05-28 10:08:26 +10:00
Linden ae9cde16e8 improvement(server/main): Use the new xPlayer loop when using ESX Legacy 2021-05-28 09:55:32 +10:00
Tinky 74335672ea Fixed losing functionality when restarting script 2021-02-02 19:28:48 -01:00
Tinky ea844e81da Better just to remove this... Too many hitch 2021-01-24 21:17:01 +01:00
Tinky 49f1668b0a Fix server hitch warning 2021-01-23 21:19:32 +01:00
Stephen York a12046120c Update main.lua
Added player count to avoid running script when no players are on
2021-01-07 10:29:05 +11:00
Stephen York 925bd4559e Update main.lua
Replace recursive call to saveData with CreateThread and a timer.
Loop now builds when and where clauses for a set operation update against multiple records with a single mysql execute rather than a single update PER player.
2021-01-04 12:53:56 +11:00
ElPumpo 77a7080e38 Implemented unregisterStatus and fixed restarting script midgame 2019-06-08 13:11:28 +02:00
ElPumpo e56d700df4 Revert respect ESX config 2018-11-11 14:10:57 +01:00
ElPumpo 74653246b0 Performance, respect EnableHud from ESX 2018-11-03 21:53:44 +01:00
ElPumpo 94fa8619f3 Fixed error setting status on a unknown player 2018-04-09 01:49:11 +02:00
renaiku a6e54c9aa2 fixed source at playerdrop 2017-09-11 03:18:00 +02:00
Jérémie N'gadi 58ab6be31e Fix lags 2017-09-02 12:15:18 +02:00
Jérémie N'gadi 6384476016 Fix GetPlayers() + add GetPercent() 2017-08-22 00:58:59 +02:00
Jérémie N'gadi 09d76deef3 Add files 2017-08-12 11:35:52 +02:00