various fixes + new custom class shadowmancer
This commit is contained in:
@@ -46,6 +46,11 @@ public class ScpSwap : Plugin
|
||||
return;
|
||||
}
|
||||
|
||||
if (ev.Role.RoleTypeId == RoleTypeId.Scp0492)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
ev.Player.SendBroadcast("Willst du dein SCP wechseln? Drücke Ö und gebe .scpswap <SCP-NUMMER> ein.", 10);
|
||||
};
|
||||
}
|
||||
|
||||
@@ -33,6 +33,12 @@ public class SwapCommand : ICommand
|
||||
return false;
|
||||
}
|
||||
|
||||
if (player.Role == RoleTypeId.Scp0492)
|
||||
{
|
||||
response = "You can't swap SCPs while you're a zombie!";
|
||||
return false;
|
||||
}
|
||||
|
||||
List<string> validScp =
|
||||
[
|
||||
"049",
|
||||
|
||||
Reference in New Issue
Block a user