RoomService v2.3.1
Loading...
Searching...
No Matches
RoomService.RemovePlayerFromLeaderboard Class Reference

Lua function to remove a player from the leaderboard.

Member Function Documentation

◆ Implementation()

void RoomService.RemovePlayerFromLeaderboard.Implementation ( ulong steamID,
bool notify )
inlineprivate

Usage:

RoomService.RemovePlayerFromLeaderboard("76561197993793009", true);
Lua function to remove a player from the leaderboard.
Definition RoomServiceLuaFunctions.cs:312
Definition MyPluginInfo.cs:2
Parameters
steamIDThe Steam ID of the player to remove.
notifyTrue to notify the player; false otherwise.

Source Code

328 {
329 if (!RoomServiceUtils.IsOnlineHost())
330 {
331 return;
332 }
333
334 ZeepkistNetwork.CustomLeaderBoard_RemovePlayerFromLeaderboard(steamID, notify);
335 }