Gu1lh3rm33 Posted June 28, 2011 Author Share Posted June 28, 2011 _Access Level - Att. Gu1lh3rm33_**..::description::..**•Works who want to change any access by the server.**..::requirements::..**•computer (lol???)**>>Tutorial<<**•(Server Side)1º: Create 4 Things!, 2 labels, a HScrollBar and a Command Button!, Place the name of one of the lblAccess labile, and the name of the ScrollBar scrlAccess leave them this way:> label1: lblAccess, Command Button1> scrlAccessLook at a picture of how it goes:![](http://img830.imageshack.us/img830/304/ssddee.png)2º: Click 2x on the Button and add this code in it!```SetAccess```Now Click on scrlAccess 2x and add this inside:```lblAccess.Caption = scrlAccess.Value```And change the scrlAcces for Max 53º: search for```Sub mnuRemoveAdmin_click() Dim Name As String Name = frmServer.lvwInfo.SelectedItem.SubItems(3) If Not Name = "Not Playing" Then Call SetPlayerAccess(FindPlayer(Name), 0) Call SendPlayerData(FindPlayer(Name)) Call PlayerMsg(FindPlayer(Name), "You have had your administrator access revoked.", BrightRed) End IfEnd Sub```add below```Sub SetAccess()Dim Name As StringName = frmServer.lvwInfo.SelectedItem.SubItems(3)If Not Name = "Not Playing" ThenPlayer(FindPlayer(Name)).Access = frmServer.scrlAccess.ValueCall SendPlayerData(FindPlayer(Name))Call PlayerMsg(FindPlayer(Name), "You have been granted administrator access:" & frmServer.scrlAccess.Value, Cyan)End IfEnd Sub```**>>End Tutorial<<**sorry for the mistakes of english, is because i am Portuguese**..::credits::..**•Gu1lh3rm33 Link to comment Share on other sites More sharing options...
SpiceyWolf Posted August 3, 2011 Share Posted August 3, 2011 Great tutorial :P thanks pal (yay u have first reply XD) Link to comment Share on other sites More sharing options...
RyokuHasu Posted August 3, 2011 Share Posted August 3, 2011 O.o why did you Center the code? Please nest the code properly, it looks horrible. No programmers ever center their code.Other than that, Nice tutorial. =D Link to comment Share on other sites More sharing options...
SpiceyWolf Posted August 3, 2011 Share Posted August 3, 2011 lol when i put it in the server it came out lookin great XD 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