Add Sorting Algorythm

This commit is contained in:
VegaZ
2019-03-04 20:52:50 +01:00
parent 82d418c7cc
commit a59843753e
3 changed files with 61 additions and 49 deletions

View File

@@ -66,8 +66,8 @@ mp.keys.bind(0x62, false, function () {
//NUM5 //Fraktionsinteraktion (Tasks sortieren)
mp.keys.bind(0x65, false, function () {
if (!globalData.InChat) {
mp.events.call("sortFactionTasks");
if (!globalData.InChat && globalData.Interaction) {
mp.events.call("sortFactionTasks", true);
}
});