SHARE
TWEET

Rename adNick

mironovdga Jan 4th, 2019 (edited) 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #pragma semicolon 1
  2. #include <sourcemod>
  3. #include <sdktools>
  4. #include <sdktools_functions>
  5.  
  6. new const String:ReNames[][] =
  7. {
  8.       "Алах Бабах","Сасесачка","Пиу-пиу","Дже́ки Чан",
  9.   "Хоббит","Ежик в Тумане","Терминатор","Рокер","Гарри Потный","Домовой",
  10.   "Пакет с пакетами","Что?","Пельмень","Сметана","Странник","Шо такое?",
  11.   "Монстр-трак","Жузепе","Стрелок","Одуванчик","Атом","Печенька",
  12.   "Джимми Гибс","Фаталити","Fallen","Фанат СССР","Prist","Rogue","Warrior",
  13.   "Shaman","Krul","Lenovo","Undercover","Wings of Darkness","Darkness","Mafia",
  14.   "Zzz...","Evil Not Alone","Three Days Grace","Story of the year",
  15.   "SOAD","Slipknot","Sick Puppies","Alive","I Don't Know","Iam","Light","RedEvil",
  16.   "Dante","Title","Maligos","Lich King","Coold","I See Stars","Ментос","Мне изменили ник",
  17.   "Rev.ini","Плохо играю","Научите играть","Остерегайтесь","Борзый","Хочешь?","А ты жашь?",
  18.   "Я подумаю...","Лосось","Тюлень","Абрикос","Бодрый"
  19. };
  20.  
  21. public void OnPluginStart()
  22.   {
  23.       HookEvent("player_first_spawn", SpawnEvent);
  24.   }
  25.  
  26. public void SpawnEvent(Handle event, const char[] name, bool dontBroadcast)
  27.   {
  28.       int client = GetClientOfUserId(GetEventInt(event, "userid"));
  29.       {
  30.           decl String:userid[32];
  31.           GetClientName(client, userid, sizeof(userid));
  32.           if (StrContains(userid, "by FreeTP.Org", true) != -1 || StrContains(userid, "EnergyNet", true) != -1 ||
  33.           StrContains(userid, "by FreeTP.Ru", true) != -1 || StrContains(userid, "PlayBCM.net", true) != -1 ||
  34.           StrContains(userid, "Newbie", true) != -1 || StrContains(userid, "i am noob", true) != -1 ||
  35.           StrContains(userid, "REVOLUTiON", true) != -1 || StrContains(userid, "byl4dzone.ru", true) != -1 ||
  36.           StrContains(userid, "nos-TEAM", true) != -1 || StrContains(userid, "by FriendlyGameS.Ru", true) != -1 ||
  37.           StrContains(userid, "TimickRePack", true) != -1 || StrContains(userid, "nosTEAM-RO", true) != -1 ||
  38.           StrContains(userid, "playbcm.net", true) != -1 || StrContains(userid, "Админ", true) != -1 ||
  39.           StrContains(userid, "lost4dead.ru", true) != -1 || StrContains(userid, "VW g2.com", true) != -1 ||
  40.           StrContains(userid, "Admin", true) != -1 || StrContains(userid, "Redrum.", true) != -1)
  41.           {
  42.             SetClientName(client, ReNames[GetRandomInt(0, sizeof(ReNames)-1)]);
  43.           }
  44.       }
  45. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top