Raised This Month: $51 Target: $400
 12% 

Add fields in advanced_bans_sql


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ndrs24
Junior Member
Join Date: Jan 2019
Old 03-14-2020 , 15:16   Add fields in advanced_bans_sql
Reply With Quote #1

Hello, how can I add storage fields to advanced_bans_sql?
The fields that the plugin currently has are:
PHP Code:
#define KEY_NAME        "victim_name"
#define KEY_STEAMID        "victim_steamid"
#define KEY_BANLENGTH        "banlength"
#define KEY_UNBANTIME        "unbantime"
#define KEY_REASON        "reason"
#define KEY_ADMIN_NAME        "admin_name"
#define KEY_ADMIN_STEAMID    "admin_steamid" 
The fields I want to add are:
PHP Code:
// Obtain the IP of the server where the ban was performed
#define KEY_SERVER        "ip_server"
// Specifically obtain the ip of the banned user
#define KEY_IPUSER            "victim_ip" 
I am using this file:
https://forums.alliedmods.net/showpo...&postcount=393

Help me please
Ndrs24 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 14:39.


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