[+] reloadturf command
This commit is contained in:
@@ -3019,6 +3019,19 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
Gangwar.Gangwar.loadClient(player);
|
Gangwar.Gangwar.loadClient(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Command("reloadturfs", "~m~Benutzung:~s~ /reloadturfs")]
|
||||||
|
public void CmdAdmReloadTurf(Client player)
|
||||||
|
{
|
||||||
|
if (!player.GetUser()?.IsAdmin(AdminLevel.HEADADMIN) ?? true)
|
||||||
|
{
|
||||||
|
ChatService.NotAuthorized(player);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
Gangwar.Gangwar.loadTurfs();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region ALevel1338
|
#region ALevel1338
|
||||||
|
|||||||
Reference in New Issue
Block a user