Hello, ThibmoRozier.
Can you add support for Spectate plugin?
https://umod.org/plugins/spectate
It works better, than spectate command in your plugin. Not killing, when you spectate.
Like this.
Can you add support for Spectate plugin?
https://umod.org/plugins/spectate
It works better, than spectate command in your plugin. Not killing, when you spectate.
Like this.
#region Foreign commands
private const string CPermsPermsCmd = "perms player";
private const string CFreezeFreezeCmd = "freeze";
private const string CFreezeUnfreezeCmd = "unfreeze";
private const string CSpectateChatCmd = "spectate";
#endregion Foreign commands
player.SendConsoleCommand($"chat.say \"/{CSpectateChatCmd} {targetId}\"");