Lua function to reset all players.
◆ Implementation()
| void RoomService.ResetAllPlayers.Implementation |
( |
| ) |
|
|
inlineprivate |
Usage:
Lua function to reset all players.
Definition RoomServiceLuaFunctions.cs:1119
Definition MyPluginInfo.cs:2
Source Code
1134 {
1135 if (!RoomServiceUtils.IsOnlineHost())
1136 {
1137 return;
1138 }
1139 List<ulong> listPlayers = new List<ulong>();
1140 for (int index = 0; index < ZeepkistNetwork.PlayerList.Count; ++index)
1141 listPlayers.Add(ZeepkistNetwork.PlayerList[index].SteamID);
1142 ZeepkistNetwork.CustomLeaderBoard_ResetPlayers(listPlayers);
1143
1144
1145 }