removed factionname in online list

This commit is contained in:
2019-09-04 22:59:19 +02:00
parent 7fb5f3abfa
commit cae5ceb2d1
3 changed files with 2 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ export default function playerList() {
mp.gui.cursor.show(true, true);
pList = JSON.parse(playersJson);
pList.forEach((player) => {
playerlistBrowser.execute(`ad_row('${JSON.stringify(player.Id)}','${JSON.stringify(player.Name)}',0,'${JSON.stringify(player.fac)}','${JSON.stringify(player.Ping)}');`);
playerlistBrowser.execute(`ad_row('${JSON.stringify(player.Id)}','${JSON.stringify(player.Name)}',0,0,'${JSON.stringify(player.Ping)}');`);
});
} else {
playerlistBrowser.destroy();