OK that's enough for today...

This commit is contained in:
Sardelka
2022-06-04 18:16:32 +08:00
parent 9f2cf2eb03
commit 0914afc4ed

View File

@ -8,7 +8,7 @@ namespace RageCoop.Resources.Base
API.RegisterCommand("kick", (ctx) =>
{
if (ctx.Args.Length<1) { return; }
var reason = "eat poop";
var reason = "EAT POOP!";
if(ctx.Args.Length>=2) { reason=ctx.Args[1]; }
API.GetClientByUsername(ctx.Args[0]).Kick(reason);
});