Soul Newb
Innlegg : 17 Join date : 2009-10-18
| Subject: Adding an Admin Panel Sat Nov 14, 2009 4:55 pm | |
| P2D lacks an admin panel, this tutorial is meant to help you add one, an Admin Panel, this allows you to edit spells, items, etc. without having to type in /editblah.First, download this admin panel: Admin Panel Now, add this under modInput, under Public Sub HandleKeyPresses(ByVal KeyAscii As Integer) BEFORE the Case Else: - Code:
-
Case "/adminpanel" If GetPlayerAccess(MyIndex) = 0 Then Call PlayerMsg(MyIndex, "You must be an admin to do this!") Else frmAdmin.Show vbModal End If
Type in /adminpanel. NOTE: I don't think Edit Map works, so avoid clicking it. P.S. There you go Aksel. | |
|
Aksel Admin
Innlegg : 283 Join date : 2009-06-20 Age : 28
| Subject: Re: Adding an Admin Panel Sat Nov 14, 2009 4:58 pm | |
| Thanks, I'll check it out. | |
|
Soul Newb
Innlegg : 17 Join date : 2009-10-18
| Subject: Re: Adding an Admin Panel Sat Nov 14, 2009 7:15 pm | |
| I tested it, it works, just Edit Map causes a spam error.
I tried adding Sad Script to Potato and it didn't go so well, still working on it. | |
|
Aksel Admin
Innlegg : 283 Join date : 2009-06-20 Age : 28
| Subject: Re: Adding an Admin Panel Sun Nov 15, 2009 6:22 am | |
| Cool, I'm working on the Admin panel now. Adding some more stuff =D | |
|
Sponsored content
| Subject: Re: Adding an Admin Panel | |
| |
|