AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   ban menu (https://forums.alliedmods.net/showthread.php?t=6966)

Zapy 10-20-2004 19:37

ban menu
 
how to make Perm ban the first option in the ban menu?

Votorx 10-21-2004 13:21

What?

Zapy 10-21-2004 20:26

the in game ban menu, how can i change the "time" option so instead of 5 min temp ban is first it shuld be the perm ban.

Janzert 10-21-2004 22:00

In the file plmenu.sma change the line that looks like:

Code:
g_menuOption[id] = 1 g_menuSettings[id] = 5

to

Code:
g_menuOption[id] = 0 g_menuSettings[id] = 0

These will be in the function:

Code:
public cmdBanMenu(id,level,cid)

Then recompile and place the resulting .amxx in your plugins directory.

Warning: I haven't actually tested it, but it should work. :)

Janzert

Zapy 11-03-2004 12:36

hey thx, ill try that i forgot about that i had posted this thread :D


All times are GMT -4. The time now is 17:18.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.