achap89 Posted May 7, 2012 Author Share Posted May 7, 2012 Sigh, sorry about the questions I feel like such a freaking newbie.ok so my code is```Private Sub cmdSetAccess_Click() If scrlSetAccess.Value > Player(MyIndex).Access Then AddText "You are not allowed to give someone a higher access than you!!!", BrightRed Else Call SendSetAccess(Player(myTarget).Name, scrlSetAccess.Value) picSetAccess.Visible = False End IfEnd Sub```but even with level 4 access it simply says invalid access level what am i doing wrong? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted May 7, 2012 Share Posted May 7, 2012 There are two reasons for "Invalid Access Level":* Attempting to set the user's access to a number less than 0 or more than 3\. **To reiterate, you cannot set someone else's access to 4!** Only the server can do that!* Attempting to change someone's who access level is equal to your access level Link to comment Share on other sites More sharing options...
achap89 Posted May 7, 2012 Author Share Posted May 7, 2012 ahh well i figured it out just forgot to close this. XD Ty though. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now