Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO] Change Player Level (Server)


Golf
 Share

Recommended Posts

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 Integer

Dim Player_Level As Integer

Level = InputBox("Level 1-100:", "Level")

Dim Name As String

Name = frmServer.lvwInfo.SelectedItem.SubItems(3)

If Not Name = "Not Playing" Then

Player_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 If

End Sub

```

So , i hope you like it

It 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

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

> 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...