Raised This Month: $ Target: $400
 0% 

Flag A Player


Post New Thread Reply   
 
Thread Tools Display Modes
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 05-04-2006 , 21:09  
Reply With Quote #11

Quote:
Originally Posted by v3x
You should use either Vault, nVault, or Array to store the ids ;)
Vault is slower, and Array is overkill.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 05-04-2006 , 21:42  
Reply With Quote #12

The advantage of an .ini file is that it's easily exchangeable with other servers. Or can this also be done when it's using one of the other methods ?
__________________
Janet Jackson is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 05-04-2006 , 21:51  
Reply With Quote #13

Quote:
Originally Posted by Janet Jackson
The advantage of an .ini file is that it's easily exchangeable with other servers. Or can this also be done when it's using one of the other methods ?
With array it's possible, but array is still overkill.

For vault, you would need to find each and every key related to this, and then cut them out.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 05-04-2006 , 22:08  
Reply With Quote #14

anyhow Sean good job on getting it done so quickly... Nice work
SubStream is offline
Sean D
Junior Member
Join Date: Apr 2006
Old 05-05-2006 , 03:26  
Reply With Quote #15

version 0.2

- fixed the amx_ban and amx_addban
- added amx_log stuff


that's all i wanted to add to/fix with it, if you want it to print that a flag has been added based on amx_show_activity i'll do it, but i don't see the point, because flagging is more of a behind-the-scenes plugin.... whatever
Sean D is offline
Charming
BANNED
Join Date: Nov 2005
Location: Canada
Old 05-05-2006 , 07:32  
Reply With Quote #16

Quote:
Originally Posted by v3x
You should use either Vault, nVault, or Array to store the ids ;)
sorry hawk i gotta agree with v3x.
Charming is offline
Send a message via ICQ to Charming Send a message via AIM to Charming Send a message via MSN to Charming Send a message via Yahoo to Charming
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 05-05-2006 , 09:13  
Reply With Quote #17

Quote:
Originally Posted by Charming
Quote:
Originally Posted by v3x
You should use either Vault, nVault, or Array to store the ids ;)
sorry hawk i gotta agree with v3x.
Why? A file is much better for this purpose. Tell me one reason vault is better.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 05-05-2006 , 22:43   Re: Flag-A-Player
Reply With Quote #18

Quote:
Originally Posted by Sean D
- there are two files created in your configs directory: flagging.ini and flagcmds.ini - this stores the stuff you use or whatever
flagcmds.ini was created, flagging.ini (or anything similar) wasn't.
__________________
Janet Jackson is offline
Sean D
Junior Member
Join Date: Apr 2006
Old 05-05-2006 , 23:12  
Reply With Quote #19

sorry about that.. and thanks for trying it out

it won't create flagging.ini until you add a flag to it, and flagcmds.ini is created because the two commands default and bandefault are needed within the plugin (if you delete them, you won't add a flag when you try to do amx_flags add <player> or amx_ban/amx_addban)

also, if you delete all of the commands in flagcmds.ini, it will just create a new file with default/bandefault back in there, so you don't have to go to the file and delete it yourself or whatever (same with flagging.ini, only nothing new is created)

thanks again janet
Sean D is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 05-06-2006 , 10:12  
Reply With Quote #20

Quote:
Originally Posted by Sean D
it won't create flagging.ini until you add a flag to it
I added two or three by typing
Code:
amx_flags add "STEAM_x:x:xxxxx"
The players were found and the flags were added according to the messages that were returned in my console. I checked immediately if flagging.ini was created, but it wasn't. I checked again after a mapchange, but there was still no flagging.ini.
__________________
Janet Jackson is offline
Reply


Thread Tools
Display Modes

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 20:56.


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