added factionname in online list
This commit is contained in:
@@ -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,0,'${JSON.stringify(player.Ping)}');`);
|
||||
playerlistBrowser.execute(`ad_row('${JSON.stringify(player.Id)}','${JSON.stringify(player.Name)}',0,'${JSON.stringify(player.fac)}','${JSON.stringify(player.Ping)}');`);
|
||||
});
|
||||
} else {
|
||||
playerlistBrowser.destroy();
|
||||
|
||||
Reference in New Issue
Block a user