hlmod.hu

Magyar Half-Life Mód közösség!
Pontos idő: 2024.03.28. 16:01



Jelenlévő felhasználók

Jelenleg 223 felhasználó van jelen :: 2 regisztrált, 0 rejtett és 221 vendég

A legtöbb felhasználó (1565 fő) 2020.11.21. 11:26-kor tartózkodott itt.

Regisztrált felhasználók: Google [Bot], Medusa az elmúlt 5 percben aktív felhasználók alapján

Utoljára aktív
Ahhoz hogy lásd ki volt utoljára aktív, be kell jelentkezned.



Az oldal teljeskörű
használatához regisztrálj.

Regisztráció

Kereső


Új téma nyitása  Hozzászólás a témához  [ 1 hozzászólás ] 
Szerző Üzenet
 Hozzászólás témája: Admin prefix
HozzászólásElküldve: 2021.03.15. 11:46 
Offline
Jómunkásember
Avatar

Csatlakozott: 2016.03.03. 15:51
Hozzászólások: 453
Megköszönt másnak: 106 alkalommal
Megköszönték neki: 7 alkalommal
Sziasztok valaki bele tudná esetleg írni a ebbe a vip,supervip módba az admin és a tulaj prefixet?
köszönöm szépen előre

  1. #include <amxmodx>
  2. #include <cstrike>
  3. #include <engine>
  4. #include <fun>
  5. #include <hamsandwich>
  6. #include <fakemeta>
  7. #include <csgomod>
  8.  
  9. #define PLUGIN  "CS:GO VIP and SVIP"
  10. #define AUTHOR  "O'Zone"
  11.  
  12. #define ADMIN_FLAG_X (1<<23)
  13.  
  14. new Array:VIPs, Array:SVIPs, bool:used[MAX_PLAYERS + 1], bool:disabled, roundNum = 0,
  15.     VIP, SVIP, smallMaps, prefixEnabled, freeType, freeEnabled, freeFrom, freeTo;
  16.  
  17. new const commandVIPs[][] = { "vips", "say /vips", "say_team /vips", "say /vipy", "say_team /vipy" };
  18. new const commandSVIPs[][] = { "svips", "say /svips", "say_team /svips", "say /svipy", "say_team /svipy" };
  19. new const commandVIPMotd[][] = { "vip", "say /vip", "say_team /vip" };
  20. new const commandSVIPMotd[][] = { "svip", "say /svip", "say_team /svip", "say /supervip", "say_team /supervip" };
  21.  
  22. new const zeusWeaponName[] = "weapon_p228";
  23.  
  24. new disallowedWeapons[] = { CSW_XM1014, CSW_MAC10, CSW_AUG, CSW_M249, CSW_GALIL, CSW_AK47, CSW_M4A1, CSW_AWP,
  25.     CSW_SG550, CSW_G3SG1, CSW_UMP45, CSW_MP5NAVY, CSW_FAMAS, CSW_SG552, CSW_TMP, CSW_P90, CSW_M3 };
  26.  
  27. enum { ammo_none, ammo_338magnum = 1, ammo_762nato, ammo_556natobox, ammo_556nato, ammo_buckshot, ammo_45acp,
  28.     ammo_57mm, ammo_50ae, ammo_357sig, ammo_9mm, ammo_flashbang, ammo_hegrenade, ammo_smokegrenade, ammo_c4 };
  29.  
  30. new const maxBPAmmo[] = { 0, 30, 90, 200, 90, 32, 100, 100, 35, 52, 120, 2, 1, 1, 1 };
  31. new const weaponSlots[] = { -1, 2, -1, 1, 4, 1, 5, 1, 1, 4, 2, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 4, 2, 1, 1, 3, 1 };
  32.  
  33. enum _:{ PRIMARY = 1, SECONDARY, KNIFE, GRENADES, C4 };
  34. enum _:{ FREE_NONE, FREE_HOURS, FREE_ALWAYS };
  35. enum _:{ FREE_VIP, FREE_SVIP };
  36.  
  37. forward amxbans_admin_connect(id);
  38.  
  39. public plugin_init()
  40. {
  41.     register_plugin(PLUGIN, VERSION, AUTHOR);
  42.  
  43.     bind_pcvar_num(register_cvar("csgo_vip_svip_small_maps", "0"), smallMaps);
  44.     bind_pcvar_num(register_cvar("csgo_vip_svip_prefix_enabled", "1"), prefixEnabled);
  45.     bind_pcvar_num(register_cvar("csgo_vip_svip_free_enabled", "0"), freeEnabled);
  46.     bind_pcvar_num(register_cvar("csgo_vip_svip_free_type", "0"), freeType);
  47.     bind_pcvar_num(register_cvar("csgo_vip_svip_free_from", "23"), freeFrom);
  48.     bind_pcvar_num(register_cvar("csgo_vip_svip_free_to", "9"), freeTo);
  49.  
  50.     for (new i; i < sizeof commandVIPs; i++) register_clcmd(commandVIPs[i], "show_vips");
  51.     for (new i; i < sizeof commandSVIPs; i++) register_clcmd(commandSVIPs[i], "show_svips");
  52.     for (new i; i < sizeof commandVIPMotd; i++) register_clcmd(commandVIPMotd[i], "show_vipmotd");
  53.     for (new i; i < sizeof commandSVIPMotd; i++) register_clcmd(commandSVIPMotd[i], "show_svipmotd");
  54.  
  55.     register_clcmd("say_team", "handle_say");
  56.  
  57.     RegisterHam(Ham_Spawn, "player", "player_spawn", 1);
  58.  
  59.     register_event("TextMsg", "restart_round", "a", "2&#Game_C", "2&#Game_w");
  60.  
  61.     register_event("HLTV", "new_round", "a", "1=0", "2=0");
  62.     register_event("DeathMsg", "player_death", "a");
  63.  
  64.     register_message(get_user_msgid("SayText"), "say_text");
  65.     register_message(get_user_msgid("ScoreAttrib"), "handle_status");
  66.     register_message(get_user_msgid("AmmoX"), "handle_ammo");
  67.  
  68.     VIPs = ArrayCreate(32, 32);
  69.     SVIPs = ArrayCreate(32, 32);
  70. }
  71.  
  72. public plugin_natives()
  73. {
  74.     register_native("csgo_set_user_vip", "_csgo_set_user_vip", 1);
  75.     register_native("csgo_get_user_vip", "_csgo_get_user_vip", 1);
  76.     register_native("csgo_set_user_svip", "_csgo_set_user_svip", 1);
  77.     register_native("csgo_get_user_svip", "_csgo_get_user_svip", 1);
  78. }
  79.  
  80. public plugin_cfg()
  81.     if (!smallMaps) check_map();
  82.  
  83. public plugin_end()
  84. {
  85.     ArrayDestroy(VIPs);
  86.     ArrayDestroy(SVIPs);
  87. }
  88.  
  89. public amxbans_admin_connect(id)
  90.     client_authorized_post(id);
  91.  
  92. public client_authorized(id)
  93.     client_authorized_post(id);
  94.  
  95. public client_authorized_post(id)
  96. {
  97.     rem_bit(id, VIP);
  98.     rem_bit(id, SVIP);
  99.  
  100.     new currentTime[3], hour, bool:freeVip = freeEnabled == FREE_ALWAYS;
  101.  
  102.     if (!freeVip && freeEnabled == FREE_HOURS) {
  103.         get_time("%H", currentTime, charsmax(currentTime));
  104.  
  105.         hour = str_to_num(currentTime);
  106.  
  107.         if (freeFrom >= freeTo && (hour >= freeFrom || hour < freeTo)) {
  108.             freeVip = true;
  109.         } else if (freeFrom < freeTo && (hour >= freeFrom && hour < freeTo)) {
  110.             freeVip = true;
  111.         }
  112.     }
  113.  
  114.     if (get_user_flags(id) & ADMIN_LEVEL_H || get_user_flags(id) & ADMIN_FLAG_X || freeVip) {
  115.         set_bit(id, VIP);
  116.  
  117.         new playerName[32], tempName[32], size = ArraySize(VIPs), bool:found;
  118.  
  119.         get_user_name(id, playerName, charsmax(playerName));
  120.  
  121.         for (new i = 0; i < size; i++) {
  122.             ArrayGetString(VIPs, i, tempName, charsmax(tempName));
  123.  
  124.             if (equal(playerName, tempName)) found = true;
  125.         }
  126.  
  127.         if (!found) ArrayPushString(VIPs, playerName);
  128.  
  129.         if (get_user_flags(id) & ADMIN_FLAG_X || freeType == FREE_SVIP) {
  130.             set_bit(id, SVIP);
  131.  
  132.             new playerName[32], tempName[32], size = ArraySize(SVIPs);
  133.  
  134.             get_user_name(id, playerName, charsmax(playerName));
  135.  
  136.             for (new i = 0; i < size; i++) {
  137.                 ArrayGetString(SVIPs, i, tempName, charsmax(tempName));
  138.  
  139.                 if (equal(playerName, tempName)) return PLUGIN_CONTINUE;
  140.             }
  141.  
  142.             ArrayPushString(SVIPs, playerName);
  143.         }
  144.     }
  145.  
  146.     return PLUGIN_CONTINUE;
  147. }
  148.  
  149. public client_disconnected(id)
  150. {
  151.     if (get_bit(id, VIP)) {
  152.         rem_bit(id, VIP);
  153.  
  154.         new playerName[32], tempName[32], size = ArraySize(VIPs);
  155.  
  156.         get_user_name(id, playerName, charsmax(playerName));
  157.  
  158.         for (new i = 0; i < size; i++) {
  159.             ArrayGetString(VIPs, i, tempName, charsmax(tempName));
  160.  
  161.             if (equal(playerName, tempName)) {
  162.                 ArrayDeleteItem(VIPs, i);
  163.  
  164.                 break;
  165.             }
  166.         }
  167.     }
  168.  
  169.     if (get_bit(id, SVIP)) {
  170.         rem_bit(id, SVIP);
  171.  
  172.         new playerName[32], tempName[32], size = ArraySize(SVIPs);
  173.  
  174.         get_user_name(id, playerName, charsmax(playerName));
  175.  
  176.         for (new i = 0; i < size; i++) {
  177.             ArrayGetString(SVIPs, i, tempName, charsmax(tempName));
  178.  
  179.             if (equal(playerName, tempName)) {
  180.                 ArrayDeleteItem(SVIPs, i);
  181.  
  182.                 break;
  183.             }
  184.         }
  185.     }
  186.  
  187.     return PLUGIN_CONTINUE;
  188. }
  189.  
  190. public client_infochanged(id)
  191. {
  192.     if (get_bit(id, VIP)) {
  193.         new playerName[32], newName[32], tempName[32], size = ArraySize(VIPs);
  194.  
  195.         get_user_info(id, "name", newName,charsmax(newName));
  196.         get_user_name(id, playerName, charsmax(playerName));
  197.  
  198.         if (playerName[0] && !equal(playerName, newName)) {
  199.             ArrayPushString(VIPs, newName);
  200.  
  201.             for (new i = 0; i < size; i++) {
  202.                 ArrayGetString(VIPs, i, tempName, charsmax(tempName));
  203.  
  204.                 if (equal(playerName, tempName)) {
  205.                     ArrayDeleteItem(VIPs, i);
  206.  
  207.                     break;
  208.                 }
  209.             }
  210.         }
  211.     }
  212.  
  213.     if (get_bit(id, SVIP)) {
  214.         new playerName[32], newName[32], tempName[32], size = ArraySize(SVIPs);
  215.  
  216.         get_user_info(id, "name", newName,charsmax(newName));
  217.         get_user_name(id, playerName, charsmax(playerName));
  218.  
  219.         if (playerName[0] && !equal(playerName, newName)) {
  220.             ArrayPushString(SVIPs, newName);
  221.  
  222.             for (new i = 0; i < size; i++) {
  223.                 ArrayGetString(SVIPs, i, tempName, charsmax(tempName));
  224.  
  225.                 if (equal(playerName, tempName)) {
  226.                     ArrayDeleteItem(SVIPs, i);
  227.  
  228.                     break;
  229.                 }
  230.             }
  231.         }
  232.     }
  233. }
  234.  
  235. public show_vipmotd(id)
  236. {
  237.     new motdTitle[32], motdFile[32];
  238.  
  239.     formatex(motdTitle, charsmax(motdTitle), "%L", id, "CSGO_VIP_VIP_MOTD_TITLE");
  240.     formatex(motdFile, charsmax(motdFile), "%L", id, "CSGO_VIP_VIP_MOTD_FILE");
  241.  
  242.     show_motd(id, motdFile, motdTitle);
  243. }
  244.  
  245. public show_svipmotd(id)
  246. {
  247.     new motdTitle[32], motdFile[32];
  248.  
  249.     formatex(motdTitle, charsmax(motdTitle), "%L", id, "CSGO_VIP_SVIP_MOTD_TITLE");
  250.     formatex(motdFile, charsmax(motdFile), "%L", id, "CSGO_VIP_SVIP_MOTD_FILE");
  251.  
  252.     show_motd(id, motdFile, motdTitle);
  253. }
  254.  
  255. public new_round()
  256.     ++roundNum;
  257.  
  258. public restart_round()
  259.     roundNum = 0;
  260.  
  261. public csgo_user_login(id)
  262.     player_spawn(id);
  263.  
  264. public player_spawn(id)
  265. {
  266.     if (disabled || !csgo_check_account(id)) return PLUGIN_CONTINUE;
  267.  
  268.     remove_task(id);
  269.     client_authorized_post(id);
  270.  
  271.     if (!is_user_alive(id) || !pev_valid(id) || !get_bit(id, VIP)) return PLUGIN_CONTINUE;
  272.  
  273.     if (get_user_team(id) == 2) cs_set_user_defuse(id, 1);
  274.  
  275.     if (roundNum >= 2) {
  276.         strip_weapons(id, SECONDARY);
  277.  
  278.         if (csgo_get_user_zeus(id)) {
  279.             give_item(id, zeusWeaponName);
  280.         }
  281.  
  282.         give_item(id, "ammo_50ae");
  283.         give_item(id, "weapon_hegrenade");
  284.  
  285.         if (get_bit(id, SVIP)) {
  286.             give_item(id, "weapon_flashbang");
  287.             give_item(id, "weapon_flashbang");
  288.             give_item(id, "weapon_smokegrenade");
  289.         }
  290.  
  291.         cs_set_user_armor(id, 100, CS_ARMOR_VESTHELM);
  292.     }
  293.  
  294.     return PLUGIN_CONTINUE;
  295. }
  296.  
  297. public player_death()
  298. {
  299.     new killer = read_data(1), victim = read_data(2), headShot = read_data(3);
  300.  
  301.     if (get_bit(killer, VIP) && is_user_alive(killer) && get_user_team(killer) != get_user_team(victim) && !disabled) {
  302.         if (headShot) {
  303.             set_dhudmessage(38, 218, 116, 0.50, 0.35, 0, 0.0, 1.0, 0.0, 0.0);
  304.             show_dhudmessage(killer, "%L", killer, "CSGO_VIP_KILL_HS");
  305.  
  306.             set_user_health(killer, get_user_health(killer) > 100 ? get_user_health(killer) + 15 : min(get_user_health(killer) + 15, 100));
  307.  
  308.             cs_set_user_money(killer, cs_get_user_money(killer) + 350);
  309.         } else  {
  310.             set_dhudmessage(255, 212, 0, 0.50, 0.31, 0, 0.0, 1.0, 0.0, 0.0);
  311.             show_dhudmessage(killer, "%L", killer, "CSGO_VIP_KILL");
  312.  
  313.             set_user_health(killer, get_user_health(killer) > 100 ? get_user_health(killer) + 10 : min(get_user_health(killer) + 10, 100));
  314.  
  315.             cs_set_user_money(killer, cs_get_user_money(killer) + 200);
  316.         }
  317.     }
  318. }
  319.  
  320. public show_vips(id)
  321. {
  322.     new playerName[32], tempMessage[190], message[190], size = ArraySize(VIPs);
  323.  
  324.     for (new i = 0; i < size; i++) {
  325.         ArrayGetString(VIPs, i, playerName, charsmax(playerName));
  326.  
  327.         add(tempMessage, charsmax(tempMessage), playerName);
  328.  
  329.         if (i == size - 1) add(tempMessage, charsmax(tempMessage), ".");
  330.         else add(tempMessage, charsmax(tempMessage), ", ");
  331.     }
  332.  
  333.     formatex(message, charsmax(message), tempMessage);
  334.  
  335.     client_print_color(id, id, "^4%s", message);
  336.  
  337.     return PLUGIN_CONTINUE;
  338. }
  339.  
  340. public show_svips(id)
  341. {
  342.     new playerName[32], tempMessage[190], message[190], size = ArraySize(SVIPs);
  343.  
  344.     for (new i = 0; i < size; i++) {
  345.         ArrayGetString(SVIPs, i, playerName, charsmax(playerName));
  346.  
  347.         add(tempMessage, charsmax(tempMessage), playerName);
  348.  
  349.         if (i == size - 1) add(tempMessage, charsmax(tempMessage), ".");
  350.         else add(tempMessage, charsmax(tempMessage), ", ");
  351.     }
  352.  
  353.     formatex(message, charsmax(message), tempMessage);
  354.  
  355.     client_print_color(id, id, "^4%s", message);
  356.  
  357.     return PLUGIN_CONTINUE;
  358. }
  359.  
  360. public handle_status()
  361. {
  362.     new id = get_msg_arg_int(1);
  363.  
  364.     if (is_user_alive(id) && (get_bit(id, VIP) || get_bit(id, SVIP))) {
  365.         set_msg_arg_int(2, ARG_BYTE, get_msg_arg_int(2) | 4);
  366.     }
  367. }
  368.  
  369. public handle_say(id)
  370. {
  371.     if (get_bit(id, VIP)) {
  372.         new text[190], message[190];
  373.  
  374.         read_args(text, charsmax(text));
  375.         remove_quotes(text);
  376.  
  377.         if (text[0] == '*' && text[1]) {
  378.             new playerName[32];
  379.  
  380.             get_user_name(id, playerName, charsmax(playerName));
  381.  
  382.             formatex(message, charsmax(message), "^4(VIP CHAT) ^3%s: ^4%s", playerName, text[1]);
  383.  
  384.             for (new i = 1; i <= MAX_PLAYERS; i++) {
  385.                 if (is_user_connected(i) && get_bit(i, VIP)) client_print_color(i, i, "^4%s", message);
  386.             }
  387.  
  388.             return PLUGIN_HANDLED_MAIN;
  389.         }
  390.     }
  391.  
  392.     return PLUGIN_CONTINUE;
  393. }
  394.  
  395. public say_text(msgId,msgDest,msgEnt)
  396. {
  397.     new id = get_msg_arg_int(1);
  398.  
  399.     if (prefixEnabled && is_user_connected(id) && get_bit(id, VIP)) {
  400.         new tempMessage[192], message[192], chatPrefix[16], playerName[32];
  401.  
  402.         get_msg_arg_string(2, tempMessage, charsmax(tempMessage));
  403.        
  404.         formatex(chatPrefix, charsmax(chatPrefix), "%s", get_bit(id, SVIP) ? "^4[SVIP]" : "^4[VIP]");
  405.  
  406.         if (!equal(tempMessage, "#Cstrike_Chat_All")) {
  407.             add(message, charsmax(message), chatPrefix);
  408.             add(message, charsmax(message), " ");
  409.             add(message, charsmax(message), tempMessage);
  410.         } else {
  411.             get_user_name(id, playerName, charsmax(playerName));
  412.  
  413.             get_msg_arg_string(4, tempMessage, charsmax(tempMessage));
  414.             set_msg_arg_string(4, "");
  415.  
  416.             add(message, charsmax(message), chatPrefix);
  417.             add(message, charsmax(message), "^3 ");
  418.             add(message, charsmax(message), playerName);
  419.             add(message, charsmax(message), "^1 : ");
  420.             add(message, charsmax(message), tempMessage);
  421.         }
  422.  
  423.         set_msg_arg_string(2, message);
  424.     }
  425.  
  426.     return PLUGIN_CONTINUE;
  427. }
  428.  
  429. public handle_ammo(iMsgId, iMsgDest, id)
  430. {
  431.     new ammoID = get_msg_arg_int(1);
  432.  
  433.     if (is_user_alive(id) && ammoID && ammoID <= ammo_9mm && get_bit(id, SVIP)) {
  434.         new ammo = maxBPAmmo[ammoID];
  435.  
  436.         if (get_msg_arg_int(2) < ammo && pev_valid(id) == VALID_PDATA) {
  437.             set_msg_arg_int(2, ARG_BYTE, ammo);
  438.             set_pdata_int(id, OFFSET_AMMO + ammoID, ammo, OFFSET_PLAYER_LINUX);
  439.         }
  440.     }
  441. }
  442.  
  443. stock strip_weapons(id, type, bool:switchIfActive = true)
  444. {
  445.     new result;
  446.  
  447.     if (is_user_alive(id)) {
  448.         new entity, weapon;
  449.  
  450.         while ((weapon = get_weapon_from_slot(id, type, entity)) > 0) {
  451.             result = ham_strip_user_weapon(id, weapon, type, switchIfActive);
  452.         }
  453.     }
  454.  
  455.     return result;
  456. }
  457.  
  458. stock get_weapon_from_slot(id, slot, &entity)
  459. {
  460.     if (!( 1 <= slot <= 5 ) || pev_valid(id) != VALID_PDATA) return 0;
  461.  
  462.     entity = get_pdata_cbase(id, OFFSET_ITEM_SLOT + slot, OFFSET_PLAYER_LINUX);
  463.  
  464.     return (entity > 0) ? get_pdata_int(entity, OFFSET_ID, OFFSET_ITEM_LINUX) : 0;
  465. }
  466.  
  467. stock ham_strip_user_weapon(id, weaponId, slot = 0, bool:switchIfActive = true)
  468. {
  469.     new weapon;
  470.  
  471.     if (!slot) {
  472.         slot = weaponSlots[weaponId];
  473.     }
  474.  
  475.     if (pev_valid(id) != VALID_PDATA) return 0;
  476.  
  477.     weapon = get_pdata_cbase(id, OFFSET_ITEM_SLOT + slot, OFFSET_PLAYER_LINUX);
  478.  
  479.     while (weapon > 0) {
  480.         if (get_pdata_int(weapon, OFFSET_ID, OFFSET_ITEM_LINUX) == weaponId) {
  481.             break;
  482.         }
  483.  
  484.         weapon = get_pdata_cbase(weapon, OFFSET_NEXT, OFFSET_ITEM_LINUX);
  485.     }
  486.  
  487.     if (weapon > 0) {
  488.         if (switchIfActive && get_pdata_cbase(id, OFFSET_ACTIVE_ITEM, OFFSET_PLAYER_LINUX) == weapon) {
  489.             ExecuteHamB(Ham_Weapon_RetireWeapon, weapon);
  490.         }
  491.  
  492.         if (ExecuteHamB(Ham_RemovePlayerItem, id, weapon)) {
  493.             user_has_weapon(id, weaponId, 0);
  494.             ExecuteHamB(Ham_Item_Kill, weapon);
  495.  
  496.             return 1;
  497.         }
  498.     }
  499.  
  500.     return 0;
  501. }
  502.  
  503. stock bool:check_weapons(id)
  504. {
  505.     new weapons[32], weapon, weaponsNum;
  506.  
  507.     weapon = get_user_weapons(id, weapons, weaponsNum);
  508.  
  509.     for (new i = 0; i < sizeof(disallowedWeapons); i++) {
  510.         if (weapon & (1<<disallowedWeapons[i])) return true;
  511.     }
  512.  
  513.     return false;
  514. }
  515.  
  516. stock check_map()
  517. {
  518.     new mapPrefixes[][] = {
  519.         "aim_",
  520.         "awp_",
  521.         "awp4one",
  522.         "fy_" ,
  523.         "cs_deagle5" ,
  524.         "fun_allinone",
  525.         "1hp_he",
  526.         "css_india"
  527.     };
  528.  
  529.     new mapName[32];
  530.  
  531.     get_mapname(mapName, charsmax(mapName));
  532.  
  533.     for (new i = 0; i < sizeof(mapPrefixes); i++) {
  534.         if (containi(mapName, mapPrefixes[i]) != -1) disabled = true;
  535.     }
  536. }
  537.  
  538.  
  539.  
  540. public _csgo_get_user_vip(id)
  541.     return get_bit(id, VIP);
  542.  
  543. public _csgo_get_user_svip(id)
  544.     return get_bit(id, SVIP);
  545.  
  546. public _csgo_set_user_vip(id)
  547. {
  548.     if (get_user_flags(id) & ADMIN_LEVEL_H && !get_bit(id, VIP)) client_authorized_post(id);
  549.  
  550.     return PLUGIN_CONTINUE;
  551. }
  552.  
  553. public _csgo_set_user_svip(id)
  554. {
  555.     if (get_user_flags(id) & ADMIN_FLAG_X && !get_bit(id, SVIP)) client_authorized_post(id);
  556.  
  557.     return PLUGIN_CONTINUE;
  558. }
  559. /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
  560. *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1038\\ f0\\ fs16 \n\\ par }
  561. */

_________________
Kép


Hozzászólás jelentése
Vissza a tetejére
   
Hozzászólások megjelenítése:  Rendezés  
Új téma nyitása  Hozzászólás a témához  [ 1 hozzászólás ] 


Ki van itt

Jelenlévő fórumozók: nincs regisztrált felhasználó valamint 6 vendég


Nyithatsz új témákat ebben a fórumban.
Válaszolhatsz egy témára ebben a fórumban.
Nem szerkesztheted a hozzászólásaidat ebben a fórumban.
Nem törölheted a hozzászólásaidat ebben a fórumban.
Nem küldhetsz csatolmányokat ebben a fórumban.

Keresés:
Ugrás:  
Powered by phpBB® Forum Software © phpBB Limited
Magyar fordítás © Magyar phpBB Közösség
Portal: Kiss Portal Extension © Michael O'Toole