Garry's Mod

Garry's Mod

25 个评价
GTA Online Player List
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
13.557 KB
2023 年 5 月 30 日 下午 1:11
2024 年 8 月 12 日 下午 5:03
3 项改动说明 ( 查看 )

订阅以下载
GTA Online Player List

在 SweptThr.one 的 1 个合集中
SweptThrone Catalogue
135 件物品
描述
A "scoreboard" based on the one from GTA Online.

//

Originally created for the sixth version of SweptRP, I'm releasing this to the public as I shift my focus elsewhere.

GTA Online Player List is essentially just the player list from GTA Online. Who would have guessed? There's no kills, deaths, or anything else shown, just the player's name, avatar, and ping.

This player list allows you to view the profile of a player you click, see if they're an admin or a friend, and add a custom marker to the player.

Adding a marker to a player will show a small colored circle next to their name on the player list, but that's not all! If you're a developer, you can use the global client-side table ST_playerBullets to display something anywhere you want. In this table, each key is a player's AccountID and the value is the color with the first letter capitalized, like "Red", for example.

The title of the player list is set to your server's name followed by "(# players)". This text scrolls back and forth if it's too long to display all at once.

This should work on all gamemodes, but make sure you turn off any default scoreboards your gamemode might have.

I made this because I wanted a scoreboard for my server that didn't reveal too much about the player.


[sweptthr.one]

Credits:
Me - All of the code
4 条留言
Pyri 2023 年 6 月 4 日 下午 8:14 
Could be the reason why he would've used it in singleplayer for LambdaPlayers
Wxnd 2023 年 6 月 1 日 下午 9:53 
Maybe he was trying Zeta or Lambda players
SweptThr.one  [作者] 2023 年 5 月 31 日 下午 2:58 
why are you trying to use a PLAYER LIST in SINGLEPLAYER?
gygfuyft 2023 年 5 月 31 日 上午 10:34 
Doesn't work in my single player DarkRP ! Seems to just cause errors ASAP.

[GTA Online Player List] lua/autorun/client/cl_gtascoreboard.lua:297: attempt to call method 'Hide' (a nil value)
1. v - lua/autorun/client/cl_gtascoreboard.lua:297
2. unknown - lua/includes/modules/hook.lua:96