AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Inremovible tag (https://forums.alliedmods.net/showthread.php?t=98478)

algoasi 07-25-2009 21:03

Inremovible tag
 
1 Attachment(s)
it is possible to put a hard to remove TAG, similar to HackHunter by Alka

with a Cvar ..

exmpl:
amx_addtag name
amx_addtag ZUkaO

this is the sma. if needed

PHP Code:

public client_infochanged(id)
{
 static 
NewName[32], OldName[32];
 
 
get_user_name(idOldNameCharsMax(OldName));
 
get_user_info(id"name"NewNameCharsMax(NewName));
 
 if(!
equali(NewNameOldName))
 {
  new 
hhname[64], hhvalue[32];
  
get_user_info(id"_hh"hhvalue31);
  if(
equal(hhvalue"hh+"))
  {
   if(
contain(NewName"bad") ==-1)
   {
    
format(hhname64"[bad] %s"NewName);
    
set_user_info(id"name"hhname);
   }
  }
 
  if(!
gSettings[CHECK_FASTNAME])
   return 
1;
 
  
NamesChangesNum[id]++;
 
  if(
NamesChangesNum[id] >= 4)
   
PunishUser(id"*FastNameChange*");
 
  if(!
task_exists(id))
   
set_task(4.0"ClearChangesNum"id);
 }
 return 
0;



algoasi 07-26-2009 09:39

Re: Inremovible tag
 
I think this type of tag is saved to a file on the computer of the person


All times are GMT -4. The time now is 18:23.

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