using System;
using System.Collections.Generic;
using System.Text;
using Oxide.Core;
using Oxide.Core.Libraries.Covalence;
namespace Oxide.Plugins
{
[Info("OwnOPlugin", "ShadVert", "0.0.1")]
[Description("Test Plugin")]
class OwnOPlugin : RustPlugin
{
string PermissionDayU = "dayu.use"
#region Commands
[ChatCommand("test")]
private void CmdTest(BasePlayer player, string command, string[] args)
{
player.ChatMessage("Test");
}
[ChatCommand("day1")]
private void CmdDay1(BasePlayer player, string command, string[] args)
{
if(!permission.UserHasPermission(player.UserIDString, PermissionDayU) && !player.IsAdmin)
{
player.ChatMessage("No perms");
return;
}
else
{
player.ChatMessage("...")
}
}
#endregion
}
}OwnOPlugin.cs(38,13): error CS1002: ; expected
Here is the error ^
How to fix it?