1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. GTA Network forum is now in archive mode.

Playerlist Pro

Discussion in 'Scripts' started by MissMelissa, Jan 7, 2017.

  1. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    Playerlist resource for GTA Network servers that gives a good-looking playerlist synchronized with the server. Also gives players the big map like in GTAO: https://github.com/MissyMelissa/playerlist-pro

    Note: Does NOT use cef! You can use this without having to rely on cef.

    [​IMG]

    [​IMG]

    [​IMG]

    Download: Zip on Github
     
    Last edited: Jan 8, 2017
    FraGmenT, Manu!, DaJeroen and 9 others like this.
  2. Eraknelo

    Eraknelo Active Member

    Messages:
    64
    Likes Received:
    61
    Joined:
    Dec 26, 2016
    Can confirm, best player list.
     
  3. Pan

    Pan Member

    Messages:
    6
    Likes Received:
    1
    Joined:
    Jan 7, 2017
    Amazing stuffs :=D You must be add score tab too.
     
  4. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    I don't think there's a standard way of handling player scores, but if there was I'd certainly add it. Maybe gamemodes like deathmatch set data that can be read out?
     
  5. Pan

    Pan Member

    Messages:
    6
    Likes Received:
    1
    Joined:
    Jan 7, 2017
    Score tabs using for what do you need. Like as player level, racing score, dm point. Just define new shared dynamic data
     
  6. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    I'll have to think of something. Good idea, thanks!
     
  7. StreetGT

    StreetGT Senpai Global Moderator Wiki Moderator Developer

    Messages:
    201
    Likes Received:
    90
    Joined:
    Aug 8, 2016
    Looks nice, but I wonder how it looks on a server with > 80 players :=D
     
  8. Tirus

    Tirus Member

    Messages:
    5
    Likes Received:
    2
    Joined:
    Jan 5, 2017
    You could use API.exported to call a function called "getPlayerScoreboardValues(player)" or something like that which should return a Dictionary with the players Scoreboardvalues. Then you show the menu with the dictionary Values in their respective auto generated columns.
    Maybe you can even add another Dictionary with key being the name of the column, and value being an Object with additional value for the column, maybe like width, color...
     
  9. n0minal

    n0minal Well-Known Member

    Messages:
    154
    Likes Received:
    28
    Joined:
    Sep 23, 2016
    Awesome, couldn't take a look yet on on the source code, is it based in draw text? Would be also lovely a score and level tabs in that menu
     
  10. DaJeroen

    DaJeroen Well-Known Member

    Messages:
    104
    Likes Received:
    20
    Joined:
    Dec 22, 2016
  11. root

    root Well-Known Member

    Messages:
    244
    Likes Received:
    88
    Joined:
    Aug 15, 2016
    I'm also wondering about that :=)
    I don't think you can create a scrollbar that easy without CEF. Here would eventually be a little CEF window a better solution.
    But this looks good. Keep the good work up @MissMelissa ;-)
     
  12. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    It doesn't work with > 80 players, it will be drawn outside of the screen. But it's not very hard to make it scrollable, I'll look into that, thanks :=D
     
  13. Martin

    Martin New Member

    Messages:
    4
    Likes Received:
    0
    Joined:
    Jan 6, 2017
    Very nice, thanks for sharing! :=)
     
  14. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    Okay, you can now also scroll through players using the Up/Down arrows. I wanted to use the PageUp/PageDown keys, but that would conflict with the chat scrolling, so this works for now instead. :=)

    [​IMG]
     
    n0minal, Lowi, Pan and 3 others like this.
  15. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    Another update: If you have the colorednames resource installed, the names in the list will have the color as well:

    [​IMG]
     
    PedroBarbosaPT, Pan, Lowi and 2 others like this.
  16. n0minal

    n0minal Well-Known Member

    Messages:
    154
    Likes Received:
    28
    Joined:
    Sep 23, 2016
  17. Corleone

    Corleone Member

    Messages:
    24
    Likes Received:
    1
    Joined:
    Jan 2, 2017
    Hey is it possible to add an ID for every Player in the scoreboard?
     
  18. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    Possibly, though that should be supported by a different resource that provides the ID's.
     
  19. Corleone

    Corleone Member

    Messages:
    24
    Likes Received:
    1
    Joined:
    Jan 2, 2017
    Do you know if theres a public resource already?
     
  20. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    I think there is one that StreetGT made, but it doesn't integrate with this yet. I'll look into it.
     

Share This Page