Hi guys, I'm new to creating plugins and I am trying to make something simple for now that outputs to the console when admin has logged in/ auth level 2. This doesn't seem to work can I have some advice please !
THE ERROR -Code:void OnPlayerConnected(BasePlayer player) { Puts("OnPlayerConnected works!"); if(UserHasPermission(player, "2")) { Puts("Admin Logged In!"); } }
Code:PlayersOnlineGui.cs(125,7): error CS0103: The name `UserHasPermission' does not exist in the current context
Checking player auth level? (C#)
Discussion in 'Rust Development' started by KasperX, Aug 14, 2015.