Raised This Month: $ Target: $400
 0% 

Amxbans 6.x


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Brisky
Junior Member
Join Date: Jun 2006
Old 09-02-2006 , 22:42   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #1

I'm using 4.4RC1. I noticed that the menu options to choose the next players list page (9) and the go back/exit (0) are missing. Is there anyway to add that back? Is there a way to have the admin, who excuted the ban, have his name show up?

Also, what does this cvar do? amxbans_cmd_sql

And how does amxbans_banhistmotd_url works?

Last edited by Brisky; 09-02-2006 at 22:57.
Brisky is offline
Send a message via AIM to Brisky Send a message via Yahoo to Brisky
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 09-03-2006 , 03:08   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #2

Quote:
Originally Posted by Brisky View Post
I'm using 4.4RC1. I noticed that the menu options to choose the next players list page (9) and the go back/exit (0) are missing. Is there anyway to add that back? Is there a way to have the admin, who excuted the ban, have his name show up?

Also, what does this cvar do? amxbans_cmd_sql

And how does amxbans_banhistmotd_url works?
The menu is fixed just redownload the pack.
The cvar amxbans_cmd_sql does not do anything at the moment so just leave it as it is "0".

The ADMINS name wont show if you have in amxx.cfg
Code:
 
amx_show_activity = 0
or
amx_show_activity = 1
But if you have amx_show_activity = 2 which show both the command and who with their name.
There are two ways (only use one of them.)
1. You can remove the r-flag from your acces.
OR
2. Remove this from the code in the file cmdBan.inl , cmdUnban.inl and compile a new .amxx
Code:
  if(get_user_flags(id)&ADMIN_LEVEL_F || id == 0)
   show_activity = 1
This is because some admins can be Spies.
Maybe I should make this optional

amx_banhistorymenu is a client command you do in your console.
To make it work you have to use the new web files in the package.
You also have to setup the cvar
Code:
amxbans_banhistmotd_url "http://pathtoyour/findex.php?steamid=%s"
When that is done you can see previous bans on players.
You can also add the command in the file /addons/amxmodx/configs/custommenuitems.cfg like this
amx_addmenuitem "Amxbans History" "amx_banhistorymenu" "b" "Amxbans"
Then it will be added to the normal amxmodx menu and you dont have to type the command in the console.


// LAntz69
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/

Last edited by lantz69; 09-03-2006 at 03:15.
lantz69 is offline
Gizmo
Senior Member
Join Date: May 2006
Location: Sweden
Old 09-03-2006 , 03:17   Re: Amxbans 4.3 (YoMama/Lux) [Updated 051028]
Reply With Quote #3

Quote:
Originally Posted by Brisky View Post
I'm using 4.4RC1. I noticed that the menu options to choose the next players list page (9) and the go back/exit (0) are missing. Is there anyway to add that back? Is there a way to have the admin, who excuted the ban, have his name show up?

Also, what does this cvar do? amxbans_cmd_sql

And how does amxbans_banhistmotd_url works?
You need the new files findex.php and findex.tpl to your webinterface and add amxbans_banhistmotd_url "http://pathToYour/findex.php?steamid=%s"
to your amxx.cfg
__________________
Gizmo is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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