Add Admin Noclip , add /skill and fix heal :^)
This commit is contained in:
@@ -3650,5 +3650,16 @@ namespace ReallifeGamemode.Server.Commands
|
||||
}
|
||||
|
||||
#endregion ALevel1338
|
||||
|
||||
[RemoteEvent("Noclip")]
|
||||
public void Noclip(Player player)
|
||||
{
|
||||
if (!player.GetUser()?.IsAdmin(AdminLevel.HEADADMIN) ?? true && player.HasData("Adminduty") && !player.GetData<bool>("Adminduty"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
player.TriggerEvent("ADMIN:NoClip");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user