nodmzone, COMMIT NUR ZUM TESTEN

This commit is contained in:
Fabian
2021-04-21 22:35:58 +02:00
parent 4c35539b23
commit 3edd6b5560
7 changed files with 59 additions and 1 deletions

View File

@@ -9,6 +9,11 @@ namespace ReallifeGamemode.Server.Events
{
internal class PlayerEvent : Script
{
[ServerEvent(Event.PlayerDamage)]
public void OnPlayerDamage(Player player, float healthLoss, float armorLoss) {
ChatService.Broadcast("dmg");
}
[RemoteEvent("CLIENT:SET_InFrontOfPos")]
public void SetFrontOfPos(Player player, Vector3 pos)
{