Fix login message
This commit is contained in:
@@ -28,13 +28,9 @@ namespace reallife_gamemode.Server.Events
|
||||
player.FreezePosition = true;
|
||||
string name = player.Name;
|
||||
List<Client> playerlist = NAPI.Pools.GetAllPlayers();
|
||||
foreach (Client currentPlayer in playerlist)
|
||||
{
|
||||
if (currentPlayer.GetUser()?.IsAdmin(AdminLevel.ADMIN) ?? false)
|
||||
{
|
||||
player.SendChatMessage("~m~*** "+player.Name+"["+player.SocialClubName+"] [ID:"+player.Handle.Value+"] ("+player.Address+")");
|
||||
}
|
||||
}
|
||||
|
||||
string msg = "~m~*** " + player.Name + "[" + player.SocialClubName + "] [ID:" + player.Handle.Value + "] (" + player.Address + ")";
|
||||
ChatService.BroadcastAdmin(msg, AdminLevel.ADMIN);
|
||||
}
|
||||
|
||||
[RemoteEvent("IsPlayerBanned")]
|
||||
|
||||
Reference in New Issue
Block a user