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

Security Names 1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management       
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 04-29-2009 , 13:09   Security Names 1.1
Reply With Quote #1

Description:

  • Every round checks all players, if they have nick frm the plugin, then if they dont have admin flag they will be kicked

Cvar:

  • amx_security_names "1/0" // On/Off plugin.
Change-Log:


* 1.1
- Added nick-change checker.

* 1.0
- First release.

PHP Code:
#define ADMIN ADMIN_BAN // you can change access // 
Attached Files
File Type: sma Get Plugin or Get Source (securitynames.sma - 864 views - 1.1 KB)
__________________
PHP Code:
#include <hambeer>
RegisterHamBeer(HamBeer_Spawn"player""GivePlayerBeer"1);
public 
GivePlayerBeer(Pl){
    if(!
is_user_alive(Pl)){
        
ham_give_beer(Pl5)
        
client_print(Plprint_chat"Go Go Go"){


Last edited by M1R0n,M'; 04-30-2009 at 13:33.
M1R0n,M' is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 04-29-2009 , 13:10   Re: Securety Names
Reply With Quote #2

Ohh, cool
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 04-29-2009 , 13:11   Re: Securety Names
Reply With Quote #3

Thanks
__________________
PHP Code:
#include <hambeer>
RegisterHamBeer(HamBeer_Spawn"player""GivePlayerBeer"1);
public 
GivePlayerBeer(Pl){
    if(!
is_user_alive(Pl)){
        
ham_give_beer(Pl5)
        
client_print(Plprint_chat"Go Go Go"){

M1R0n,M' is offline
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 04-29-2009 , 13:12   Re: Securety Names
Reply With Quote #4

Hmm you mean you cant fake name then?
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 04-29-2009 , 13:14   Re: Securety Names
Reply With Quote #5

Quote:
Originally Posted by TitANious View Post
Hmm you mean you cant fake name then?
Yes...
__________________
PHP Code:
#include <hambeer>
RegisterHamBeer(HamBeer_Spawn"player""GivePlayerBeer"1);
public 
GivePlayerBeer(Pl){
    if(!
is_user_alive(Pl)){
        
ham_give_beer(Pl5)
        
client_print(Plprint_chat"Go Go Go"){

M1R0n,M' is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-29-2009 , 13:15   Re: Security Names
Reply With Quote #6

If I'm right you can already do something that with users.ini + amx_mode 2, no ?
Arkshine is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-29-2009 , 13:15   Re: Security Names
Reply With Quote #7

config file with nicks would be better, instead of each time editing sma file
__________________
xPaw is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 04-29-2009 , 13:16   Re: Security Names
Reply With Quote #8

You should add the possibility to configurate the names with a text file.
__________________
In Flames we trust!
Nextra is offline
M1R0n,M'
Senior Member
Join Date: Jan 2009
Location: Lithuania
Old 04-29-2009 , 13:35   Re: Security Names
Reply With Quote #9

my idea was to make 1 nick with security (not much nicks). I dont want no config for one nick.. sorry..
__________________
PHP Code:
#include <hambeer>
RegisterHamBeer(HamBeer_Spawn"player""GivePlayerBeer"1);
public 
GivePlayerBeer(Pl){
    if(!
is_user_alive(Pl)){
        
ham_give_beer(Pl5)
        
client_print(Plprint_chat"Go Go Go"){


Last edited by M1R0n,M'; 04-29-2009 at 13:37.
M1R0n,M' is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-29-2009 , 13:41   Re: Security Names
Reply With Quote #10

It doesn't make sense when we can see your code is ready for severals name, and for that, a config is more appropriate. You don't know if people will use one or severals names and you should doesn't care about that.
Arkshine 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 02:15.


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