Descarcare: Girlshare Mega.co.nz
- meniu | Afiseaza codul
/* Plugin generated by AMXX-Studio */ #include < amxmodx > #include < amxmisc > #include < hamsandwich > #include < ColorChat > #include < fcs > new const szTag [] = "[Furien Weapons]" //====================================| ARME |================================// //SpearGun #define Spear_Price 20 #define Spear_Name "\ySpeareGun" //Janus7 #define Janus7_Price 25 #define Janus7_Name "\yJanus \wVII" //Janus5 #define Janus5_Price 30 #define Janus5_Name "\yJanus \wV" //OICW #define OICW_Price 10 #define OICW_Name "\yOICW \w(\rOwner\w)" //Balrog XI #define Balrog_Price 15 #define Balrog_Name "\yBalrog \wXI \w(\rV\y.\rI\y.\rP\w)" //====================================| ARME |================================// //====================================| Natives |================================// native give_weapon_spear(id); native remove_weapon_spear(id); native give_weapon_janus7(id); native remove_weapon_janus7(id); native give_weapon_janus5(id); native remove_weapon_janus5(id); native give_weapon_oicw(id); native remove_weapon_oicw(id); native give_weapon_balrog11(id); native remove_weapon_balrog11(id); //====================================| Natives |================================// #define PLUGIN "CSO Weapons Menu" #define VERSION "1.1" #define AUTHOR "Ionutz." new bool: AlreadyChoose[ 33 ]; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) RegisterHam( Ham_Spawn, "player", "fwPlayerSpawn", 1 ); register_clcmd( "say /weapons", "ClcmdWeaponsMenus" ); register_clcmd( "say /weapon", "ClcmdWeaponsMenus" ); register_clcmd( "say /guns", "ClcmdWeaponsMenus" ); register_clcmd( "say /arme", "ClcmdWeaponsMenus" ); register_clcmd( "say_team /weapons", "ClcmdWeaponsMenus" ); } public fwPlayerSpawn( id ) { if( get_user_team ( id ) == 2 ) { AlreadyChoose[ id ] = false; ShowWeaponsMenu( id ); remove_weapon_janus5(id); remove_weapon_janus7(id); remove_weapon_spear(id); remove_weapon_balrog11(id); remove_weapon_oicw(id); } return 0; } public ShowWeaponsMenu( id ) { if(is_user_alive(id) && get_user_team(id) == 2) { new credits = fcs_get_user_credits(id); new szFormatex[256]; formatex(szFormatex, charsmax(szFormatex), "\wFurien Menu - \yCredite: \w%d", credits); new menu = menu_create(szFormatex, "AntiFurienHandler"); //====================================| OICW |================================// new OICW[128] if (fcs_get_user_credits(id) >= OICW_Price ) { formatex(OICW, sizeof (OICW)-1, "%s\w- \r%d \wCredits", OICW_Name, OICW_Price ) } else { formatex(OICW, sizeof (OICW) -1,"%s \dNoCredits", OICW_Name) } menu_additem(menu, OICW, "1", ADMIN_IMMUNITY ) //====================================| OICW |================================// //====================================| Balrog XI |================================// new Balrog[128] if ( fcs_get_user_credits(id) >= Balrog_Price ) { formatex(Balrog, sizeof (Balrog)-1, "%s\w\- \r%d \wCredits", Balrog_Name, Balrog_Price ) } else { formatex(Balrog, sizeof (Balrog)-1, "%s \dNo Credits" , Balrog_Name ) } menu_additem (menu, Balrog, "2", ADMIN_LEVEL_H ) //====================================| Balrog XI |================================// //====================================| SpearGun |================================// new Spear[128] if ( fcs_get_user_credits(id) >= Spear_Price ) { formatex(Spear, sizeof (Spear)-1, "%s\w- \r%d \wCredits", Spear_Name, Spear_Price ) } else { formatex(Spear, sizeof (Spear)-1, "%s \dNo Credits", Spear_Name) } menu_additem(menu, Spear, "3", 0 ) //====================================| SpearGun |================================// //====================================| Janus VII |===============================// new Janus7[128] if (fcs_get_user_credits(id) >= Janus7_Price ) { formatex(Janus7, sizeof (Janus7)-1, "%s \w- \r%d \wCredits", Janus7_Name, Janus7_Price ) } else { formatex(Janus7, sizeof (Janus7)-1, "%s \dNo Credits", Janus7_Name ) } menu_additem(menu, Janus7, "4", 0 ) //====================================| Janus VII |===============================// //====================================| Janus V |===============================// new Janus5[128] if (fcs_get_user_credits(id) >= Janus5_Price ) { formatex(Janus5, sizeof (Janus5)-1, "%s \w- \r%d \wCredits", Janus5_Name, Janus5_Price ) } else { formatex(Janus5, sizeof (Janus5)-1, "%s \dNo Credits", Janus5_Name ) } menu_additem(menu, Janus5, "5", 0 ) //====================================| Janus V |===============================// menu_setprop ( menu, MPROP_EXIT, MEXIT_ALL ); menu_display ( id, menu, 0 ); } return 1; } public AntiFurienHandler( id, menu, item ) { if ( get_user_team ( id ) != 2 ) return 1; if( item == MENU_EXIT ) { menu_destroy ( menu ) return PLUGIN_HANDLED } switch( item ) { case 0: { new iCredits = fcs_get_user_credits (id) - OICW_Price if (iCredits < 0 ) { ColorChat(id , GREEN , "%s^x-1 Nu ai destule^x04 Credite !", szTag ) ShowWeaponsMenu( id ); } else { remove_weapon_janus5(id); remove_weapon_janus7(id); remove_weapon_spear(id); remove_weapon_balrog11(id); give_weapon_oicw(id); AlreadyChoose[id] = true; fcs_set_user_credits(id, iCredits ) ColorChat (id ,GREEN, "%s^x01 Ai cumparat ^x04 OICW !", szTag ) } } case 1: { new iCredits = fcs_get_user_credits (id) - Balrog_Price if (iCredits < 0 ) { ColorChat(id , GREEN , "%s^x-1 Nu ai destule^x04 Credite !", szTag ) ShowWeaponsMenu( id ); } else { remove_weapon_janus5(id); remove_weapon_janus7(id); remove_weapon_spear(id); remove_weapon_oicw(id); give_weapon_balrog11(id); AlreadyChoose[id] = true; fcs_set_user_credits(id, iCredits ) ColorChat (id ,GREEN, "%s^x01 Ai cumparat ^x04 Balrog XI !", szTag ) } } case 2: { new iCredits = fcs_get_user_credits (id) - Spear_Price if ( iCredits < 0 ) { ColorChat( id, GREEN , "%s^x01 Nu ai destule^x04 Credite !", szTag ) ShowWeaponsMenu( id ); } else { remove_weapon_janus5(id); remove_weapon_janus7(id); remove_weapon_oicw(id); remove_weapon_balrog11(id); give_weapon_spear(id); AlreadyChoose[id] = true; fcs_set_user_credits(id, iCredits ) ColorChat (id ,GREEN, "%s^x01 Ai cumparat ^x04 SpearGun !", szTag ) } } case 3: { new iCredits = fcs_get_user_credits (id) - Janus7_Price if ( iCredits < 0 ) { ColorChat (id, GREEN , "%s^x01 Nu ai destule^x04 Credite !", szTag ) ShowWeaponsMenu( id ); } else { remove_weapon_janus5(id); remove_weapon_spear(id); remove_weapon_oicw(id); remove_weapon_balrog11(id); give_weapon_janus7(id); AlreadyChoose[id] = true; fcs_set_user_credits (id, iCredits ) ColorChat (id, GREEN, "%s^x01 Ai Cumparat^x04 Janus VII !" , szTag ) } } case 4: { new iCredits = fcs_get_user_credits (id) - Janus5_Price if ( iCredits < 0 ) { ColorChat ( id, GREEN , "%s^x01 Nu ai suficiente^x04 Credite !", szTag ) ShowWeaponsMenu( id ); } else { remove_weapon_janus7(id); remove_weapon_spear(id); remove_weapon_oicw(id); remove_weapon_balrog11(id); give_weapon_janus5(id); AlreadyChoose[id] = true; fcs_set_user_credits ( id , iCredits ) ColorChat ( id, GREEN , "%s^x01 Ai cumparat^x04 Janus V !" , szTag ); } } } menu_destroy( menu ) return 1; } public ClcmdWeaponsMenus( id ) { if( !is_user_alive( id ) ) { ColorChat( id, GREEN, "%s^x01 Nu poti alege arme cand esti mort!",szTag ); return 1; } if( AlreadyChoose[ id ] ) { ColorChat( id, GREEN, "%s^x01 Ti-ai ales armele runda acesta", szTag ); return 1; } if( get_user_team( id ) == 2 ) { ShowWeaponsMenu( id ); } return 1; } /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par } */
- credite | Afiseaza codul
Orion/ Truth m-a ajutat la formatex DaNNe. / Emrys am vazut faza cu #define price/ name Dias el a creat armele blackgate00 ms pentru ca ai postat armele
Versiune: 1.1
Link oficial: Link !
Instalare:
1. Fisierul weapons_menu.sma il puneti in addons/amxmodx/scripting
2. Fisierul weapons_menu.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Code: Select all
weapons_menu.amxx
balrog11.amxx
janus5.amxx
janus7.amxx
oicw.amxx
spare.amxx
- /weapons - afiseaza meniul
/guns - afiseaza meniul
/arme - afiseaza meniul
#include < amxmodx >
#include < amxmisc >
#include < hamsandwich >
#include < ColorChat >
#include < fcs >
Imagini:
- sa nu se incarce greu pagina | Afiseaza codul
- vechi | Afiseaza codul
Descriere: Este un meniu de arme pentru modul furien Descarcare: Link! Nume: Furien Weapons Versiune: 1.0 Link oficial: http://www.extreamcs.com Credite pentru Hyperion. el a fost singurl care m-a ajutat si mi-a aratat Dias. pluginurile de arme Instalare: 1. Fisierul arme.sma il puneti in addons/amxmodx/scripting 2. Fisierul arme.amxx il puneti in addons/amxmodx/plugins 3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma: [code]arme.amxx wpn_ethereal.amxx plasma.amxx oicw.amxx dragon.amxx balrog3.amxx[/code] Cvar-uri (se adauga in fisierul amxmodx\configs\amxx.cfg): [list]nu are Comenzi administrative (se tasteaza in consola si trebuie sa fiti administrator): nu are Comenzi publice (se tasteaza in joc prin apasarea tastei Y): [list]/weapons - afiseaza meniu[/list][/list] Module necesare (se sterge ; din fata modulului de mai jos; acestea le gasiti in fisierul amxmodx\configs\modules.ini): [code]#include < amxmodx > #include < amxmisc > #include < hamsandwich > #include < ColorChat >[/code] Imagini:[sursa=] OICW Balrog III Cannon Plasma Gun Ethereal 2 moduri se schimba pe E Laser Mode Electric