Editing the Ban menu (changing the minutes per ban)
I was wanting to make one small change to the ban menu, but I don't know what file to edit or where to look.
Right now, it's set up so that you can ban people for like 5 minutes, an hour, and permanently. I was wanting to put in the options to ban for a day, a week, and a month. |
2 Attachment(s)
from line 91 in plmenu.sma
Code:
but tell me waht time you want, so can I make the necesary changing... ---------------------EDIT------------- so, now i have add day, week and month. Language support for english and swedish, you need to translate by yourself if you want another language... I havnt try it jet, but it should work... :roll: (must stop saying that) |
I'm wanting the following changes:
case 0: g_menuSettings[id] = 0 case 1: g_menuSettings[id] = 60 case 2: g_menuSettings[id] = 1440 ;this would be one day case 3: g_menuSettings[id] = 10080 ;this would be one week case 4: g_menuSettings[id] = 43200 ;this would be one month |
allready done that.... try the plmenuxp.sma in my previous post, dont forget to palce the plmenuxp.txt in you lang folder
|
well, I'm getting the options to ban for a month, and permanent ban, and after those two, is four that are completely blank. It shows the numbers for the players, the 0 to exit, but option 8 is not there, but you can still scroll through the options by pressing 8. it just doesn't show what is selected for how long the ban is for.
|
bump
|
1 Attachment(s)
sorry agen.....try this
sitched the wrong thing I think EDIT: I have try it on my server, and everything seams to work now.... |
| All times are GMT -4. The time now is 16:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.