Change Items , add Cooldown
This commit is contained in:
@@ -105,11 +105,11 @@ namespace ReallifeGamemode.Server.Events
|
||||
|
||||
string addInfoStr = " (IP: " + player.Address + ")";
|
||||
|
||||
if(!string.IsNullOrEmpty(message))
|
||||
if (!string.IsNullOrEmpty(message))
|
||||
{
|
||||
ChatService.BroadcastAdmin(message, AdminLevel.MAPPING, admin =>
|
||||
{
|
||||
if(admin.HasData("togip"))
|
||||
if (admin.HasData("togip"))
|
||||
{
|
||||
return addInfoStr;
|
||||
}
|
||||
@@ -170,7 +170,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
}
|
||||
}, delayTime: 1000);
|
||||
|
||||
if(GlobalHelper.CountdownUntil > DateTime.Now)
|
||||
if (GlobalHelper.CountdownUntil > DateTime.Now)
|
||||
{
|
||||
player.TriggerEvent("countdown", (GlobalHelper.CountdownUntil - DateTime.Now).TotalSeconds, GlobalHelper.CountdownText);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user