k1NEZU. # WWW.RANGFORT.RO Posted September 12, 2015 Share Posted September 12, 2015 Server : CLASSIC.RANGFORT.RO Nick : k1NEZU Grad server : Owner La ce doriţi ajutor? : Doresc , daca se poate , un plugin vip , amx & sma , care sa dea aceste beneficii : meniu arme ak + deagle , m4 + deagle , awp + deagle grenazile + def la ct la oricare din toate 3 alegerile , si sa facem in asa fel sa nu aiba freeze time , flagul sa fie t , doar atat Link to comment Share on other sites More sharing options...
LuK.ZEW # Posted September 12, 2015 Share Posted September 12, 2015 /* Plugin generated by AMXX-Studio */ #include < amxmodx > #include < amxmisc > #include < cstrike > #include < fun > #include < hamsandwich > #define PLUGIN "CS VIP" #define VERSION "1.0" #define AUTHOR "creas ,edit by luchy" new Menu, HSHealth, KillHealth, Round; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_logevent ( "RoundStart", 2, "1=Round_Start" ); RegisterHam ( Ham_Spawn, "player", "VIP_Spawn", 1 ); register_event ( "DeathMsg", "ev_DeathMsg", "a" ); HSHealth = register_cvar ( "vm_hs_health", "40" ); KillHealth = register_cvar ( "vm_kill_health", "15" ); } public RoundStart (id) Round += 1 public VIP_Spawn ( id ) { if ( !is_user_connected ( id ) || !is_user_vip ( id ) ) return HAM_HANDLED; give_item ( id, "weapon_hegrenade" ); give_item ( id, "weapon_smokegrenade" ); give_item ( id, "weapon_flashbang" ); cs_set_user_bpammo ( id, CSW_FLASHBANG, 2 ); if ( Round >= 2 ) { Menu = menu_create ( "\rArme VIP", "GiveWeapons" ); menu_additem ( Menu, "M4A1 + DEAGLE", "1", 0 ); menu_additem ( Menu, "AK47 + DEAGLE", "2", 0 ); menu_additem ( Menu, "AWP + DEAGLE", "3", 0 ); menu_setprop ( Menu, MPROP_EXIT, MEXIT_ALL ); menu_display ( id, Menu, 0 ); } return HAM_IGNORED; } public GiveWeapons ( id, Menu, item ) { if ( !is_user_alive ( id ) || !is_user_vip ( 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: { give_item ( id, "weapon_m4a1" ); cs_set_user_bpammo ( id, CSW_M4A1, 90 ); give_item ( id, "weapon_deagle" ); cs_set_user_bpammo ( id, CSW_DEAGLE, 35 ); ColorChat ( id, "!n[!gVIP-MENU!n] Ai primit !tM4A1 + DEAGLE !n!" ); } case 2: { give_item ( id, "weapon_ak47" ); cs_set_user_bpammo ( id, CSW_AK47, 90 ); give_item ( id, "weapon_deagle" ); cs_set_user_bpammo ( id, CSW_DEAGLE, 35 ); ColorChat ( id, "!n[!gVIP-MENU!n] Ai primit !tAK47 + DEAGLE !n!" ); } case 3: { give_item ( id, "weapon_awp" ); cs_set_user_bpammo ( id, CSW_AWP, 30 ); give_item ( id, "weapon_deagle" ); cs_set_user_bpammo ( id, CSW_DEAGLE, 35 ); ColorChat ( id, "!n[!gVIP-MENU!n] Ai primit !tAWP + DEAGLE !n!" ); } } menu_destroy ( Menu ); return PLUGIN_HANDLED; } public ev_DeathMsg ( ) { new Killer = read_data ( 1 ); new Victim = read_data ( 2 ); new HS = read_data ( 3 ); if ( Killer == Victim || !is_user_connected ( Victim ) || !is_user_alive ( Killer ) || !is_user_vip ( Killer ) ) return PLUGIN_HANDLED; if ( HS ) { new HSHP = get_pcvar_num ( HSHealth ); new CurrentHealth = get_user_health ( Killer ); set_user_health ( Killer, CurrentHealth + HSHP ); } else { new KillHP = get_pcvar_num ( KillHealth ); new CurrentHealth = get_user_health ( Killer ); set_user_health ( Killer, CurrentHealth + KillHP ); } return PLUGIN_HANDLED; } stock bool: is_user_vip ( id ) { if ( get_user_flags ( id ) & ADMIN_LEVEL_H ) return true; return false; } stock ColorChat(const id, const input[], any:...) { new count = 1, players[32] static msg[320] vformat(msg, 190, input, 3) replace_all(msg, 190, "!g", "^4") replace_all(msg, 190, "!n", "^1") replace_all(msg, 190, "!t", "^3") replace_all(msg, 190, "!t2", "^0") if (id) players[0] = id; else get_players(players, count, "ch") { for (new i = 0; i < count; i++) { if (is_user_connected(players) ) { message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players) write_byte(players) write_string(msg) message_end() } } } } Poftim 2 Link to comment Share on other sites More sharing options...
k1NEZU. # WWW.RANGFORT.RO Posted September 12, 2015 Author Share Posted September 12, 2015 E doar ca sma nu ? Si ii pun nunele din sma in plugins.ini ? Link to comment Share on other sites More sharing options...
LuK.ZEW # Posted September 12, 2015 Share Posted September 12, 2015 Doua secunde , si-ti pun si amxxVoi da edit ! EDİT : Poftim , ai sma sı amxx : http://www.fileshare.ro/e31904214 Defapt sma este inutil in addons , sma se pune doar pentru editarea pluginului . Fisierul amxx face toata treaba , el se obtine foarte usor . İntri pe : https://www.amxmodx.org/webcompiler.cgi Copiezi sma si dai Compile Apoi vei primi fisierul .amxx Ok Edit : are toate cerintele cerute ? Normal 1 Link to comment Share on other sites More sharing options...
k1NEZU. # WWW.RANGFORT.RO Posted September 12, 2015 Author Share Posted September 12, 2015 Ok Edit : are toate cerintele cerute ? Link to comment Share on other sites More sharing options...
TeG!^ KenT.. Posted September 12, 2015 Share Posted September 12, 2015 uite un pluing de la mn e si sma si amx ,iti da ak47+deagle m4a1+deagle awp+deagle si greneazi il am si eu pe sv uite link:http://www.girlshare.ro/35094823.5 adauga in pluing.ini:VIP.amxx Link to comment Share on other sites More sharing options...
k1NEZU. # WWW.RANGFORT.RO Posted September 12, 2015 Author Share Posted September 12, 2015 Ok ms Link to comment Share on other sites More sharing options...
TeG!^ KenT.. Posted September 12, 2015 Share Posted September 12, 2015 sa imi spui daca iti place Link to comment Share on other sites More sharing options...
k1NEZU. # WWW.RANGFORT.RO Posted September 12, 2015 Author Share Posted September 12, 2015 O sa le probez pe ambele , anunt pe care l.am pastrat Link to comment Share on other sites More sharing options...
k1NEZU. # WWW.RANGFORT.RO Posted September 12, 2015 Author Share Posted September 12, 2015 (edited) Luchian , nu e tocmai ce speram , dar e bun , kent nu l-am incercat , am ajuns la concluzia sa scot vip , puteti da tc Edited September 17, 2015 by WiNdOwS^_^ Ai grija la x2 pots..avertisment.! Link to comment Share on other sites More sharing options...
Recommended Posts