Matt Posted July 13, 2012 Author Share Posted July 13, 2012 I realized that there never was a Kill Player command on the server, so i added one in. Despite how simple it was to make, i decided to make a tutorial on it :)Open up your server. Open your frmServer. Press Ctrl+E.In "Caption", write there "Kill".In "Name", write there "mnuKill"left of the Next button, there should be four arrow keys. Click on the one pointing to the right once.Click "Next", then OK.Right above the sub```Sub mnuBanPlayer_click()```Place there this.```Sub mnuKill_Click() Dim Name As String Name = frmServer.lvwInfo.SelectedItem.SubItems(3) If Not Name = "Not Playing" Then Call OnDeath(FindPlayer(Name)) Call PlayerMsg(FindPlayer(Name), "You were killed by the server host.", BrightRed) End IfEnd Sub```Save, compile, and enjoy :) Link to comment Share on other sites More sharing options...
JohnPony Posted July 13, 2012 Share Posted July 13, 2012 Lol the trolling begins… Link to comment Share on other sites More sharing options...
erkro1 Posted July 13, 2012 Share Posted July 13, 2012 Actually there is already a kill sub server side called **KillPlayer**, but with this method you don't lose EXP. :P Link to comment Share on other sites More sharing options...
DepTa Posted July 13, 2012 Share Posted July 13, 2012 WoW, its work for methanks!can we adding a shortcut key, for example /kill ? Link to comment Share on other sites More sharing options...
Joost Posted July 13, 2012 Share Posted July 13, 2012 ```Dim index```Dont dim things if you're not using them and especially dont leave them w/o a type. (integer or whatever) Link to comment Share on other sites More sharing options...
Matt Posted July 13, 2012 Author Share Posted July 13, 2012 @Joost:> ```> Dim index> > ```Dont dim things if you're not using them and especially dont leave them w/o a type. (integer or whatever)Thank you for pointing that out. I dont know how that got there. O.O Link to comment Share on other sites More sharing options...
Matt Posted July 13, 2012 Author Share Posted July 13, 2012 @Erwin:> Actually there is already a kill sub server side called **KillPlayer**, but with this method you don't lose EXP. :PI know, but when its this easy to abuse… The other reason i made it **Ondeath** was because i ripped out the xp lost on death, so it was rather pointless to go through that sub for me. Link to comment Share on other sites More sharing options...
DepTa Posted July 13, 2012 Share Posted July 13, 2012 then I have to add anything to his script?to generate the command / kill? Link to comment Share on other sites More sharing options...
Matt Posted July 13, 2012 Author Share Posted July 13, 2012 @DepTa:> then I have to add anything to his script?> > to generate the command / kill?I can do that today. I'll update the tutorial once i have it. Link to comment Share on other sites More sharing options...
DepTa Posted July 13, 2012 Share Posted July 13, 2012 sure i'll be waiting ,if you have update , please pm :) Link to comment Share on other sites More sharing options...
Matt Posted July 13, 2012 Author Share Posted July 13, 2012 @DepTa:> sure i'll be waiting ,> > if you have update , please pm :)I'm not that good at coding though, so i can't promise anything. :( Link to comment Share on other sites More sharing options...
00GuthixLord Posted July 14, 2012 Share Posted July 14, 2012 @General:> Lol the trolling begins…With A Little More Code You Can Put It Into The Admin Panel Then The Trolling Will Be More :) Link to comment Share on other sites More sharing options...
_Her0 Posted July 14, 2012 Share Posted July 14, 2012 @00GuthixLord:> With A Little More Code You Can Put It Into The Admin Panel Then The Trolling Will Be More :)Please Stop Talking Like This It Is Rather Ugly And It Is Very Hard To Read, Not To Mention, Improper. Link to comment Share on other sites More sharing options...
00GuthixLord Posted July 14, 2012 Share Posted July 14, 2012 @Her0â„¢:> Please Stop Talking Like This It Is Rather Ugly And It Is Very Hard To Read, Not To Mention, Improper.Lol sorry it's just how i type :P 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