Cerere Plugin TAG

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
BB # Funnky
Membru, skill 0
Membru, skill 0
Posts: 35
Joined: 25 Apr 2018, 20:46
Detinator Steam: Da
CS Status: Ma mai gandesc :))
Detinator server CS: CS.HelpCS.RO
Fond eXtream: 0
Location: Piatra-Neamt
Contact:

26 May 2018, 12:49

Salut ... Am intrat pe un server , si am vazut ca are un plugin gen' cine are steam pe server ii apare in paranteaza [STEAM] poza: https://imgur.com/a/doktD8q
+ Primeste benefici : Deagle + Armura + He la fiecare runda.
Stie cineva pluginu' ?
:thinking:
| Afiseaza codul
 CS.HelpCS.RO - STEAM ONLY CAUTAM ADMINI CE POT AJUTA LA DEZVOLTAREA SERVER-ULUI! 
 WWW.HelpCS.RO/forum - OFERIM SUPORT TEHNIC 
RoyalServer 2
User avatar
WHOAMI?
eXtream Mod
eXtream Mod
Posts: 999
Joined: 17 Dec 2013, 19:51
Detinator Steam: Da
Reputatie: eXtream Mod
Fost Membru Club eXtreamCS (o luna)
Location: US
Has thanked: 30 times
Been thanked: 20 times

29 May 2018, 13:08

O:-)
| Afiseaza codul
#include amxmodx
#include amxmisc
#include cstrike
#include fun
#include hamsandwich
#include ColorChat

#pragma tabsize 0

public plugin_init() {
   
   RegisterHam(Ham_Spawn, "player", "PlayerPostSpawn", 1);
}

public PlayerPostSpawn(id)
{
   if (!is_user_connected(id) || !is_user_steam(id))
      return HAM_HANDLED;
   
   new MENU = menu_create ( "\ySTEAM BONUS \wMENU", "BONUS" );
   
   menu_additem ( MENU, "ARME", "1", 0 );
   
   menu_setprop ( MENU, MPROP_EXIT, MEXIT_ALL );
   
   menu_display ( id, MENU, 0 );
   return HAM_IGNORED;
}

public BONUS(id,MENU,item)
{
   if (!is_user_alive(id) || !is_user_steam(id)) 
      return PLUGIN_HANDLED;
   
   if (item == MENU_EXIT)
      return PLUGIN_HANDLED;
   
   new data [6], iName [64];
   new access, callback;
   
   menu_item_getinfo ( MENU, item, access, data,5, iName, 63, callback);
   
   new key = str_to_num(data);
   
   switch(key)
   {
      case 1:
      {
         ARME(id);
         ColorChat (id, GREEN, "^1[^4Steam Bonus^1] Ai ales ^4ARME^1!");
      }
   }
   menu_destroy ( MENU );
   return PLUGIN_HANDLED;
}

public ARME(id)
{
   
   new menu = menu_create ("\rMENIU ARME", "ALEGE");
   menu_additem(menu, "\yM4A1", "1");
   menu_additem(menu, "\yAK-47", "2");
   menu_additem(menu, "\wAWP", "3");
   
   menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
   menu_display(id, menu, 0 );
   
   return 1;
}

public ALEGE(id, menu, item)
{
   if(item == MENU_EXIT)
   {
      menu_destroy(menu);
      return PLUGIN_HANDLED;
   }
   
   new data [6], szName [64];
   new access, callback;
   menu_item_getinfo (menu, item, access, data,charsmax (data), szName,charsmax (szName), callback);
   new key = str_to_num (data);
   
   new name[32]
   get_user_name(id, name, 31);
   
   switch (key)
   {
      case 1:
      {
         if( is_user_alive( id ) )   
         {
            strip_user_weapons(id);
            give_item(id, "weapon_knife");
            give_item(id, "weapon_deagle");
            give_item(id, "weapon_m4a1");
            cs_set_user_bpammo(id, CSW_M4A1, 90);
            cs_set_user_bpammo(id, CSW_DEAGLE, 70);

            ColorChat(id, GREEN, "^x03 Ai ales ^x04 M4A1 + DEAGLE")
         }
      }
      
      case 2:
      {
         if( is_user_alive( id ) )   
         {
            strip_user_weapons(id);
            give_item(id, "weapon_knife");
            give_item(id, "weapon_deagle");
            give_item(id, "weapon_ak47");
            cs_set_user_bpammo(id, CSW_AK47, 90);
            cs_set_user_bpammo(id, CSW_DEAGLE, 70);

            ColorChat(id, GREEN, "^x03 Ai ales ^x04 AK47 + DEAGLE")
         }
      }
      case 3:
      {
         if( is_user_alive( id ) )   
         {
            strip_user_weapons(id);
            give_item(id, "weapon_knife");
            give_item(id, "weapon_deagle");
            give_item(id, "weapon_awp");
            cs_set_user_bpammo(id, CSW_AWP, 90);
            cs_set_user_bpammo(id, CSW_DEAGLE, 70);

            ColorChat(id, GREEN, "^x03 Ai ales ^x04 AWP + DEAGLE")
         }
      }
   }
   
       menu_destroy(menu);
       return PLUGIN_HANDLED;
}

stock bool:is_user_steam(id)
{
   static dp_pointer
   if(dp_pointer || (dp_pointer = get_cvar_pointer("dp_r_id_provider")))
   {
      server_cmd("dp_clientinfo %d", id)
      server_exec()
      return (get_pcvar_num(dp_pointer) == 2) ? true : false
   }
   return false
}
User avatar
kobra3
Membru, skill +1
Membru, skill +1
Posts: 406
Joined: 23 Jul 2015, 22:58
Detinator Steam: Da
CS Status: Disponibil
Detinator server CS: cs.xpro.ro
SteamID: ikobra3
Fond eXtream: 0
Location: Bucuresti
Has thanked: 10 times
Been thanked: 11 times

30 May 2018, 16:42

Pai si tu vrei pluginul de tag,pluginul de beneficii sau ambele? Pentru ca pana nu am vazut plugin sa le faca pe amandoua public pe net. Plugin de beneficii ti-a dat cs_all,iar unul din pluginurile cu care poti afisa tag la steam useri in chat se numeste MapManager by Mistrick.
User avatar
iNdio
Membru, skill +4
Membru, skill +4
Posts: 1512
Joined: 28 Jan 2015, 17:42
Detinator Steam: Da
SteamID: iNdioPGL
Reputatie: Fost Membru Club eXtreamCS (6 luni)
Castigator Membru Club eXtream @ Ganduri de sub dus (25 OCT - 25 FEB)
Fond eXtream: 0
Been thanked: 3 times

30 May 2018, 22:08

Where Cs had no value, amxx, sometimes, had its price...
steam | Afiseaza codul
Image
Image
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: Yandex [Bot] and 41 guests