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

Solved > Block new name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 11-22-2009 , 09:39   Solved > Block new name
Reply With Quote #1

Need to know how, if a user is renamed and the new name contains an INI file, not display.

like

Code:
name "pepito"

Code:
 * Sickness changed name to pepito



and if exist an ini file with pepito do not display nothing.

Last edited by #8 SickneSS; 11-22-2009 at 14:31.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-22-2009 , 11:20   Re: Block new name
Reply With Quote #2

How ?

- Read on server start the file and store the names in a dynamic array.
- Hook the name change
- Check if the new name is in the saved names.
- If so, block the change.

__________________
Arkshine is offline
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 11-22-2009 , 12:42   Re: Block new name
Reply With Quote #3

Im bassed in this...

http://forums.alliedmods.net/showpos...36&postcount=3

Last edited by #8 SickneSS; 11-22-2009 at 14:31.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
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 07:00.


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