Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Professional Plugincilere Bir Soum ACiL!!
#4
26 Error Düzeltildi. Istenenler Eklendi.


PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <engine> 
#include <cstrike>


#define PLUGIN "Oyun Menu New"
#define VERSION "1.1"
#define AUTHOR "ByShadow"


public plugin_init() { 
    
register_plugin("\wOyunMenu\rNew","1.1","\yByShadow"
    
register_clcmd("say /oyunnew","top"
    
register_clcmd("say /gunduz","Normal")
    
//register_logevent("ayar_sifirla", 2,"1=Round_Start")

public 
top(id) { 
    if( !
is_user_alive(id) ) return PLUGIN_HANDLED 
    
new menu menu_create("\yOyunMenuNew\r[-ByShadow-]""menu_handler"
    
    
menu_additem(menu"\r[NeW]\ySaklanbac Oyunu""1"ADMIN_BAN); 
    
menu_additem(menu"\r[NeW]\yC4 Oyunu""2"ADMIN_BAN); 
    
menu_additem(menu"\r[NeW]\yKopekbaligi Oyunu""3"0); 
    
menu_additem(menu"\r[NeW]\ySimit Oyunu""4"0); 
    
menu_additem(menu"\r[NeW]\yYakartop Oyunu""5"0); 
    
menu_additem(menu"\r[NeW]\yCatisma Oyunu[-1K HP-]""6"0); 
    
menu_additem(menu"\r[NeW]\yCatisma Oyunu[-2K HP-]""7"0); 
    
menu_additem(menu"\r[NeW]\yKule Oyunu""8"0);
    
menu_additem(menu"\r[NeW]\ySustum Deagle Oyunu""9"0);
    
menu_additem(menu"\r[NeW]\yKus Avi Oyunu""10"0);
    
menu_additem(menu"\r[NeW]\y300 SpartalI""11"0);
    
menu_additem(menu"\r[NeW]\yZM [-10K HP-]""12"0);
    
menu_additem(menu"\r[NeW]\yZM [-20K HP-]""13"0);
    
menu_additem(menu"\r[NeW]\yZM [-30K HP-]""14"0);
    
menu_additem(menu"\r[NeW]\yFF [-Bomba-]""15"0);
    
menu_additem(menu"\r[NeW]\yFF [-Max Payne-]""16"0);
    
menu_additem(menu"\r[NeW]\yFF [-Deagle-]""17"0);
    
menu_additem(menu"\r[NeW]\yFF [-Awp + Scout-]""18"0);
    
menu_additem(menu"\r[NeW]\yFF [-AK47 + M4A1-]""19"0);
    
menu_additem(menu"\r[NeW]\yFF [-M3-]""20"0);
    
menu_additem(menu"\r[NeW]\yFF [-Tabancalar-]""21"0);
    
menu_additem(menu"\r[NeW]\yAyarlari Sifirla""22"0);
    
    
menu_setprop(menuMPROP_NEXTNAME"Diger Oyunlar");  
    
menu_setprop(menuMPROP_BACKNAME"Onceki Oyunlar");
    
menu_setprop(menuMPROP_EXITNAME"Menuyu Kapat");
    
menu_setprop(menuMPROP_EXITMEXIT_ALL);    
    
menu_display(idmenu0);    
    
    return 
PLUGIN_CONTINUE


public 
menu_handler(idmenuitem

    
    if( 
item == MENU_EXIT 
    { 
        
menu_destroy(menu); 
        return 
PLUGIN_HANDLED
    } 
    
    new 
data[6], iName[64]; 
    new 
accesscallback
    
menu_item_getinfo(menuitemaccessdata,5iName63callback); 
    new 
key str_to_num(data); 
    new 
adminismi[32
    
get_user_name(id,adminismi,31
    
    switch(
key
    { 
        case 
1: { 
            
server_cmd("amx_godmode @CT 1")
            
server_cmd("amx_weapon @CT g3sg1")
            
server_cmd("amx_weapon @CT 14")
            
server_cmd("amx_heal @CT 9500")
            
server_cmd("amx_disarm @T")
            
server_cmd("amx_unammo @CT 1")
            
chat_color(id,"!t[NeW] !gSaklanbac Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !gSaklanbac Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
        } 
        case 
2: {  
            
server_cmd("amx_bury @T")
            
server_cmd("amx_weapon @T c4")
            
chat_color(id,"!t[NeW] !gC4 Oyunu Aktif !")
            
chat_color(id,"!t[NeW] !gC4 Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")        
        } 
        
        case 
3: {  
            
server_cmd("amx_glow @T Red")
            
server_cmd("amx_godmode @CT 1")
            
server_cmd("amx_heal @CT 1500")
            
server_cmd("amx_glow @CT Blue")
            
server_cmd("amx_disarm @T")
            
server_cmd("amx_unammo @CT 1")
            
chat_color(id,"!t[NeW] !gKopekBaligi Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !gKopekBaligi Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
        } 
        
        case 
4: { 
            
server_cmd("amx_glow @t White")
            
server_cmd("amx_glow @CT Blue")
            
server_cmd("amx_godmode @CT 1")
            
server_cmd("amx_heal @CT 900")
            
chat_color(id,"!t[NeW] !gSimit Oyunu AktiF!")
            
chat_color(id,"!t[NeW] !gSimit Oyunu AktiF!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")        
        } 
        case 
5: {  
            
server_cmd("amx_heal @CT 999999999999")
            
server_cmd("amx_godmode @CT 1")
            
server_cmd("amx_fire @CT")
            
chat_color(id,"!t[NeW] !gYakartop Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !gYakartop Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")       
        } 
        case 
6: {  
            
server_cmd("amx_heal @CT 900")
            
server_cmd("amx_weapon @all 43")
            
server_cmd("amx_weapon @all 42")
            
server_cmd("amx_weapon @all 48")
            
server_cmd("amx_glow @t Red")
            
server_cmd("amx_glow @CT Blue")
            
chat_color(id,"!t[NeW] !gCatisma Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !gCatisma Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")      
        } 
        case 
7: { 
            
server_cmd("amx_heal @CT 1900")
            
server_cmd("amx_weapon @all 43")
            
server_cmd("amx_weapon @all 42")
            
server_cmd("amx_weapon @all 48")
            
server_cmd("amx_glow @t Red")
            
server_cmd("amx_glow @CT Blue")
            
chat_color(id,"!t[NeW] !gCatisma Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !gCatisma Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")            
        } 
        case 
8: { 
            
server_cmd("amx_cvar sv_parachute 0")
            
server_cmd("amx_drug @t")
            
server_cmd("amx_glow @t Gold")
            
server_cmd("amx_weapon @CT 49")
            
chat_color(id,"!t[NeW] !gKule Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !gKule Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")       
        } 
        case 
9: { 
            
server_cmd("amx_godmode @CT 1")
            
server_cmd("amx_heal @t 100")
            
server_cmd("amx_weapon @CT 14")
            
server_cmd("amx_weapon @ALL 82")
            
server_cmd("amx_cvar mp_friendlyfire 1")
            
server_cmd("amx_heal @cT 9600")
            
server_cmd("amx_bury @T")
            
chat_color(id,"!t[NeW] !gSustum Deagle Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !gSustum Deagle OyunuAktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")       
        } 
        case 
10: { 
            
server_cmd("amx_heal @CT 10000")
            
server_cmd("amx_unammo @CT 1")
            
server_cmd("amx_weapon @CT 46")
            
server_cmd("amx_weapon @CT 48")
            
server_cmd("amx_godmode @CT 1")
            
server_cmd("amx_cvar sv_gravity 250")
            
server_cmd("amx_glow @t red")
            
server_cmd("amx_glow @CT Aqua")
            
set_lights("f")
            
chat_color(id,"!t[NeW] !gKus Avi Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !gKus Avi Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")      
        } 
        case 
11: { 
            
server_cmd("amx_heal @T 400")
            
server_cmd("amx_godmode @CT 1")
            
server_cmd("amx_unammo @CT 1")
            
server_cmd("amx_weapon @t 87")
            
server_cmd("amx_weapon @CT 51")
            
server_cmd("amx_weapon @CT 43")
            
server_cmd("amx_glow @T red")
            
chat_color(id,"!t[NeW] !g300 Spartali Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !g300 Spartali Oyunu Aktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")     
        } 
        case 
12: { 
            
server_cmd("amx_heal @CT 10000")
            
server_cmd("amx_unammo @all 1")
            
server_cmd("amx_weapon @ALL 43")
            
server_cmd("amx_weapon @ALL 42")
            
server_cmd("amx_weapon @ALL 48")
            
server_cmd("amx_weapon @ALL 49")
            
server_cmd("amx_glow @CT Blue")
            
chat_color(id,"!t[NeW] !gZM Oyunu(10K HP) Aktif!")
            
chat_color(id,"!t[NeW] !gZM Oyunu(10K HP) Aktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
        } 
        case 
13: { 
            
server_cmd("amx_heal @CT 20000")
            
server_cmd("amx_unammo @all 1")
            
server_cmd("amx_weapon @ALL 43")
            
server_cmd("amx_weapon @ALL 42")
            
server_cmd("amx_weapon @ALL 48")
            
server_cmd("amx_weapon @ALL 49")
            
server_cmd("amx_glow @CT Purple")
            
chat_color(id,"!t[NeW] !gZM Oyunu(10K HP) Aktif!")
            
chat_color(id,"!t[NeW] !gZM Oyunu(20K HP) Aktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
        } 
        case 
14: {
            
server_cmd("amx_heal @CT 30000")
            
server_cmd("amx_unammo @all 1")
            
server_cmd("amx_weapon @ALL 43")
            
server_cmd("amx_weapon @ALL 42")
            
server_cmd("amx_weapon @ALL 48")
            
server_cmd("amx_weapon @ALL 49")
            
server_cmd("amx_glow @CT red")
            
chat_color(id,"!t[NeW] !gZM Oyunu(30K HP) Aktif!")
            
chat_color(id,"!t[NeW] !gZM Oyunu(30K HP) Aktif!")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
        }          
        case 
15: { 
            for(new 
id1id 33id++)
            {
                if(
is_user_connected(id) && is_user_alive(id) && get_user_team(id) == 1) {
                    
give_item(id,"weapon_hegrenade")
                    
cs_set_user_bpammo(id,CSW_HEGRENADE,10)
                }
                
server_cmd("amx_godmode @CT 1")
                
server_cmd("amx_heal @T 400")
                
server_cmd("amx_cvar mp_friendlyfire 1")
                
server_cmd("amx_unammo @T 1")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !rSilah: !w10 Adet Bomba")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            } 
        }
            case 
16: {
                
server_cmd("amx_godmode @CT 1")
                
server_cmd("amx_heal @T 400")
                
server_cmd("amx_cvar mp_friendlyfire 1")
                
server_cmd("amx_unammo @T 1")
                
server_cmd("amx_weapon @T 16")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            } 
            case 
17: {
                
server_cmd("amx_godmode @CT 1")
                
server_cmd("amx_heal @T 400")
                
server_cmd("amx_cvar mp_friendlyfire 1")
                
server_cmd("amx_unammo @T 1")
                
server_cmd("amx_weapon @T 14")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            }
            case 
18: { 
                
server_cmd("amx_godmode @CT 1")
                
server_cmd("amx_heal @T 400")
                
server_cmd("amx_cvar mp_friendlyfire 1")
                
server_cmd("amx_unammo @T 1")
                
server_cmd("amx_weapon @T 46")
                
server_cmd("amx_weapon @T 48")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            } 
            case 
19: { 
                
server_cmd("amx_godmode @CT 1")
                
server_cmd("amx_heal @T 400")
                
server_cmd("amx_cvar mp_friendlyfire 1")
                
server_cmd("amx_unammo @T 1")
                
server_cmd("amx_weapon @T 43")
                
server_cmd("amx_weapon @T 42")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            } 
            case 
20: { 
                
server_cmd("amx_godmode @CT 1")
                
server_cmd("amx_heal @T 400")
                
server_cmd("amx_cvar mp_friendlyfire 1")
                
server_cmd("amx_unammo @T 1")
                
server_cmd("amx_weapon @T 21")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            } 
            case 
21: { 
                
server_cmd("amx_godmode @CT 1")
                
server_cmd("amx_heal @T 400")
                
server_cmd("amx_cvar mp_friendlyfire 1")
                
server_cmd("amx_unammo @T 1")
                
server_cmd("amx_weapon @T 11")
                
server_cmd("amx_weapon @T 12")
                
server_cmd("amx_weapon @T 13")
                
server_cmd("amx_weapon @T 14")
                
server_cmd("amx_weapon @T 15")
                
server_cmd("amx_weapon @T 16")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !gFF Oyunu Aktif!")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            } 
            case 
22: { 
                
server_cmd("amx_godmode @CT 0")
                
server_cmd("amx_unammo @all 0")
                
server_cmd("amx_disarm @t")
                
server_cmd("amx_glow @all OFF")
                
server_cmd("amx_cvar mp_friendlyfire 0")
                
server_cmd("amx_cvar sv_parachute 1")
                
server_cmd("amx_glow @CT Blue")
                
server_cmd("amx_unbury @T")
                
server_cmd("amx_cvar sv_gravity 800")
                
set_lights("#OFF")
                
chat_color(id,"!t[NeW] !gAyarlar Duzeltildi!")
                
chat_color(id,"!t[NeW] !gAyarlar Duzeltildi!")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
                
chat_color(id,"!t[NeW] !rPlugin Yapim : !wByShadow")
            } 
        } 
        
    
menu_destroy(menu); 
    return 
PLUGIN_HANDLED
    }  
    
    
stock chat_color(const id, const input[], any:...)
    {
        new 
count 1players[32]
        static 
msg[191]
        
vformat(msg190input3)
        
        
replace_all(msg190"!g""^4"//yesil
        
replace_all(msg190"!y""^1"//sari
        
replace_all(msg190"!t""^3"//takim-rengi
        
replace_all(msg190"!team2""^0"//bilmiom
        
        
if (idplayers[0] = id; else get_players(playerscount"ch")
        {
        for (new 
0counti++)
        {
            if (
is_user_connected(players[i]))
            {
                
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players)
                
write_byte(players);
                
write_string(msg);
                
message_end();
            }
        }
    }

[/i][/i][/i]
Reply


Messages In This Thread
Cevap: Professional Plugincilere Bir Soum ACiL!! - by к4dανяα - 13-09-12, 17:16

Possibly Related Threads…
Thread Author Replies Views Last Post
  Acil Sorun istek hasanx9 6 3,990 03-08-16, 20:44
Last Post: murat1366
  Acil 2 İsteğim Var Girin Lütfen GurkanCounter 7 6,172 03-08-16, 20:43
Last Post: murat1366
  Reklamcılara karsi Acil İstek[Plugin] hasan0650 22 5,569 17-07-16, 18:03
Last Post: BYHAZARD7
  /adminlik plugini lazm acil !!!! bLoodyGAMING 12 5,008 17-07-16, 18:01
Last Post: BYHAZARD7
  Pelerinde Glow (ACIL) cancandikmen 12 6,915 08-02-15, 02:05
Last Post: muhosemo
  Bugda kalıyor acıl [başka konu] SavagesClaN 13 5,210 14-01-15, 21:17
Last Post: Neith
  Clan tag // acil SavagesClaN 12 7,063 14-01-15, 21:16
Last Post: Neith
  Acil afk kick lütfen priestci01 4 5,429 14-01-15, 21:08
Last Post: Neith
  acil bir düzenleme satknun1997 6 3,711 21-08-14, 00:42
Last Post: recep2
  Öok Acil Server çöküp duruyor satknun1997 9 4,138 25-07-14, 03:58
Last Post: bloody123

Foruma Atla:


Users browsing this thread: