Golf Posted May 7, 2013 Author Share Posted May 7, 2013 Hi all . This tut allows you to **Change Player** level from server ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)**Server Side**Go to Menu Editor (**CTRL+E**)Go down with enter.In the caption type Change Level and in the name put **mnuLevel**Go to **frmServer** and add this at the bottom```Private Sub mnuLevel_Click()Dim Level As IntegerDim Player_Level As IntegerLevel = InputBox("Level 1-100:", "Level")Dim Name As StringName = frmServer.lvwInfo.SelectedItem.SubItems(3)If Not Name = "Not Playing" ThenPlayer_Level = GetPlayerLevel(FindPlayer(Name))' If you want to change points please pm me ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png)Call SetPlayerLevel(FindPlayer(Name), Level)Call SendPlayerData(FindPlayer(Name))Call PlayerMsg(FindPlayer(Name), "Administrator changed your level from " & Player_Level & " to " & Level, BrightCyan)End IfEnd Sub```So , i hope you like itIt works for me and my friends ![:rolleyes:](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/rolleyes.gif) Link to comment Share on other sites More sharing options...
boyesjs03 Posted May 7, 2013 Share Posted May 7, 2013 Simple and logical. Nice, I suppose.P.s You liked your own topic. Not cool. Link to comment Share on other sites More sharing options...
abhi2011 Posted May 8, 2013 Share Posted May 8, 2013 Why would you want to change the level of a player from the server?Also using any type of boxes (Input or otherwise) will halt execution of server code. Meaning the sever will not do anything until the box has received input. So it will be a bad choice for severs.EDIT: btw try not to like your own posts. It is childish. Link to comment Share on other sites More sharing options...
Golf Posted May 8, 2013 Author Share Posted May 8, 2013 > Simple and logical. Nice, I suppose.> > P.s You liked your own topic. Not cool.Thanks , and i dislike it ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) 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