Lua function to set leaderboard overrides for a specific player.
◆ Implementation()
| void RoomService.SetPlayerLeaderboardOverrides.Implementation |
( |
ulong | steamID, |
|
|
string | time, |
|
|
string | name, |
|
|
string | position, |
|
|
string | points, |
|
|
string | pointsWon ) |
|
inlineprivate |
Usage:
Lua function to set leaderboard overrides for a specific player.
Definition RoomServiceLuaFunctions.cs:278
Definition MyPluginInfo.cs:2
Strings can be replaced with anything, as this is just a visual override
Supports Rich Text
- Parameters
-
| steamID | The Steam ID of the player. |
| time | The override time to display. |
| name | The override name to display. |
| position | The override position to display. |
| points | The override points to display. |
| pointsWon | The override points won to display. |
Source Code
300 {
301 if (!RoomServiceUtils.IsOnlineHost())
302 {
303 return;
304 }
305
306 ZeepkistNetwork.CustomLeaderBoard_SetPlayerLeaderboardOverrides(steamID, time, name, position, points, pointsWon);
307 }