Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Professional Plugincilere Bir Soum ACiL!!
#1
Merhaba Arkadaşlar Benim Plugin Hakkında İki Sorum Olcak

1.Alttaki Menü FF oyunudur.Ben Bu Oyunda T'Deki Herkeze 10 Adet Bomba Versin İstiyorum Bunu Nasıl Ayarlayabilirim?

Code:
server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_heal @T 400")
            server_cmd(id,"amx_cvar mp_friendlyfire 1")
       server_cmd(id,"amx_unammo @T 1")
       server_cmd(id,"amx_weapon @T 83")

2.Alttaki Menuye Hangi Kodu Yazarsam Harita Gece Olur Geri Hangi Kodu Yazarsam Gündüz Olur?

Code:
server_cmd(id,"amx_heal @CT 10000")
            server_cmd(id,"amx_unammo @CT 1")
            server_cmd(id,"amx_weapon @CT 46")
            server_cmd(id,"amx_weapon @CT 48")
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_cvar sv_gravity 250")
            server_cmd(id,"amx_glow @t red")
            server_cmd(id,"amx_glow @CT Aqua")

Yardımlarınızı Bekliyorum...
Reply
#2
T lere 10 Bomba verme
PHP Code:
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(id,"amx_godmode @CT 1")
    
server_cmd(id,"amx_heal @T 400")
    
server_cmd(id,"amx_cvar mp_friendlyfire 1")
    
server_cmd(id,"amx_unammo @T 1")


---------------------------------------------------
-----------------
Gece Gunduz

Önce

#include <engine>

Ekle Sonra

Plugin init bölümüne

PHP Code:
register_clcmd("say /gunduz","Normal"
ekle

Bu Gece Yapip Istediklerini Veriyor
PHP Code:
server_cmd(id,"amx_heal @CT 10000")
server_cmd(id,"amx_unammo @CT 1")
server_cmd(id,"amx_weapon @CT 46")
server_cmd(id,"amx_weapon @CT 48")
server_cmd(id,"amx_godmode @CT 1")
server_cmd(id,"amx_cvar sv_gravity 250")
server_cmd(id,"amx_glow @t red")
server_cmd(id,"amx_glow @CT Aqua")
set_lights("d"
En Son


Normala Çeviriyor Isıkları
PHP Code:
public Normal(id)
{
    
set_lights("#OFF")


Boş bir yere koy





Yapamassan Sma Paylaş
Reply
#3
Öncelikle Tşk ederim ama ben Yapamadım Sana Verim Sen Yaparsan Sevinirim Senden İstediğim
1.
case 3
case 10 ' da Havayı Gece Yapman TAM KARANLIK DEĞİL jbadmındeki gece varya o

2.case 15 ' e T nin Hepsine 10'ar Tane Bomba Vermesini Ben Yaptım Ama Galiba Yapamadım Big Grin

3.case 22 ' de Ayarlari Sifirla Var Ondada Harita Gunduz Olması İçin Kodu Girersen
Sevinirim...

4.Bide Bakarmısın Bi Hata Varmı Pluginde Big Grin Bide Bunları Nasıl Denicem Addonsa Koyuyorum Ama Sİlah Filan Vermiyo Amx Kodları Dosyan Varsa Link Atarsan Sevinirim...


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

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



#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\ySaklanbac Oyunu", "1", ADMIN_BAN);
    menu_additem(menu, "\r\yC4 Oyunu", "2", ADMIN_BAN);
    menu_additem(menu, "\r\yKopekbaligi Oyunu", "3", 0);
    menu_additem(menu, "\r\ySimit Oyunu", "4", 0);
    menu_additem(menu, "\r\yYakartop Oyunu", "5", 0);
    menu_additem(menu, "\r\yCatisma Oyunu[-1K HP-]", "6", 0);
    menu_additem(menu, "\r\yCatisma Oyunu[-2K HP-]", "7", 0);
    menu_additem(menu, "\r\yKule Oyunu", "8", 0);
    menu_additem(menu, "\r\ySustum Deagle Oyunu", "9", 0);
    menu_additem(menu, "\r\yKus Avi Oyunu "10", 0);
    menu_additem(menu, "\r\y300 SpartalI", "11", 0);
    menu_additem(menu, "\r\yZM [-10K HP-]", "12", 0);
    menu_additem(menu, "\r\yZM [-20K HP-]", "13", 0);
    menu_additem(menu, "\r\yZM [-30K HP-]", "14", 0);
    menu_additem(menu, "\r\yFF [-Bomba-]", "15", 0);
    menu_additem(menu, "\r\yFF [-Max Payne-]", "16", 0);
    menu_additem(menu, "\r\yFF [-Deagle-]", "17", 0);
    menu_additem(menu, "\r\yFF [-Awp + Scout-]", "18", 0);
    menu_additem(menu, "\r\yFF [-AK47 + M4A1-]", "19", 0);
    menu_additem(menu, "\r\yFF [-M3-]", "20", 0);
    menu_additem(menu, "\r\yFF [-Tabancalar-]", "21", 0);
    menu_additem(menu, "\r\yAyarlari Sifirla", "22", 0);
    
    menu_setprop(menu, MPROP_NEXTNAME, "Diger Oyunlar");  
    menu_setprop(menu, MPROP_BACKNAME, "Onceki Oyunlar");
    menu_setprop(menu, MPROP_EXITNAME, "Menuyu Kapat");
    menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);    
    menu_display(id, menu, 0);    
    
    return PLUGIN_CONTINUE
}

public menu_handler(id, menu, item)
{
    
    if( item == MENU_EXIT )
    {
        menu_destroy(menu);
        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);
    new adminismi[32]
    get_user_name(id,adminismi,31)
    
    switch(key)
    {
        case 1: {
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_weapon @CT g3sg1")
            server_cmd(id,"amx_weapon @CT 14")
            server_cmd(id,"amx_heal @CT 9500")
            server_cmd(id,"amx_disarm @T")
            server_cmd(id,"amx_unammo @CT 1")
            chat_color(id,"!t !gSaklanbac Oyunu Aktif!")
       chat_color(id,"!t !gSaklanbac Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }
        case 2: {  
            server_cmd(id,"amx_bury @T")
            server_cmd(id,"amx_weapon @T c4")
            chat_color(id,"!t !gC4 Oyunu Aktif !")
       chat_color(id,"!t !gC4 Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")        
        }
        
        case 3: {  
            server_cmd(id,"amx_glow @T Red")
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_heal @CT 1500")
            server_cmd(id,"amx_glow @CT Blue")
            server_cmd(id,"amx_disarm @T")
            server_cmd(id,"amx_unammo @CT 1")
            chat_color(id,"!t !gKopekBaligi Oyunu Aktif!")
       chat_color(id,"!t !gKopekBaligi Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }
        
        case 4: {
            server_cmd(id,"amx_glow @t White")
            server_cmd(id,"amx_glow @CT Blue")
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_heal @CT 900")
            chat_color(id,"!t !gSimit Oyunu AktiF!")
       chat_color(id,"!t !gSimit Oyunu AktiF!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")        
        }
        case 5: {  
            server_cmd(id,"amx_heal @CT 999999999999")
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_fire @CT")
            chat_color(id,"!t !gYakartop Oyunu Aktif!")
       chat_color(id,"!t !gYakartop Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")      
        }
        case 6: {  
            server_cmd(id,"amx_heal @CT 900")
            server_cmd(id,"amx_weapon @all 43")
            server_cmd(id,"amx_weapon @all 42")
            server_cmd(id,"amx_weapon @all 48")
         server_cmd(id,"amx_glow @t Red")
       server_cmd(id,"amx_glow @CT Blue")
            chat_color(id,"!t !gCatisma Oyunu Aktif!")
       chat_color(id,"!t !gCatisma Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")      
        }
        case 7: {
            server_cmd(id,"amx_heal @CT 1900")
            server_cmd(id,"amx_weapon @all 43")
            server_cmd(id,"amx_weapon @all 42")
            server_cmd(id,"amx_weapon @all 48")
         server_cmd(id,"amx_glow @t Red")
       server_cmd(id,"amx_glow @CT Blue")
            chat_color(id,"!t !gCatisma Oyunu Aktif!")
       chat_color(id,"!t !gCatisma Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")            
        }
        case 8: {
            server_cmd(id,"amx_cvar sv_parachute 0")
            server_cmd(id,"amx_drug @t")
            server_cmd(id,"amx_glow @t Gold")
            server_cmd(id,"amx_weapon @CT 49")
            chat_color(id,"!t !gKule Oyunu Aktif!")
       chat_color(id,"!t !gKule Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")      
        }
        case 9: {
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_heal @t 100")
            server_cmd(id,"amx_weapon @CT 14")
            server_cmd(id,"amx_weapon @ALL 82")
            server_cmd(id,"amx_cvar mp_friendlyfire 1")
            server_cmd(id,"amx_heal @cT 9600")
            server_cmd(id,"amx_bury @T")
            chat_color(id,"!t !gSustum Deagle Oyunu Aktif!")
       chat_color(id,"!t !gSustum Deagle OyunuAktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")      
        }
        case 10: {
            server_cmd(id,"amx_heal @CT 10000")
            server_cmd(id,"amx_unammo @CT 1")
            server_cmd(id,"amx_weapon @CT 46")
            server_cmd(id,"amx_weapon @CT 48")
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_cvar sv_gravity 250")
            server_cmd(id,"amx_glow @t red")
            server_cmd(id,"amx_glow @CT Aqua")
            chat_color(id,"!t !gKus Avi Oyunu Aktif!")
       chat_color(id,"!t !gKus Avi Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")      
        }
        case 11: {
            server_cmd(id,"amx_heal @T 400")
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_unammo @CT 1")
            server_cmd(id,"amx_weapon @t 87")
            server_cmd(id,"amx_weapon @CT 51")
            server_cmd(id,"amx_weapon @CT 43")
            server_cmd(id,"amx_glow @T red")
            chat_color(id,"!t !g300 Spartali Oyunu Aktif!")
       chat_color(id,"!t !g300 Spartali Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")    
        }
        case 12: {
            server_cmd(id,"amx_heal @CT 10000")
            server_cmd(id,"amx_unammo @all 1")
            server_cmd(id,"amx_weapon @ALL 43")
            server_cmd(id,"amx_weapon @ALL 42")
            server_cmd(id,"amx_weapon @ALL 48")
            server_cmd(id,"amx_weapon @ALL 49")
            server_cmd(id,"amx_glow @CT Blue")
            chat_color(id,"!t !gZM Oyunu(10K HP) Aktif!")
       chat_color(id,"!t !gZM Oyunu(10K HP) Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }
        case 13: {
            server_cmd(id,"amx_heal @CT 20000")
            server_cmd(id,"amx_unammo @all 1")
            server_cmd(id,"amx_weapon @ALL 43")
            server_cmd(id,"amx_weapon @ALL 42")
            server_cmd(id,"amx_weapon @ALL 48")
            server_cmd(id,"amx_weapon @ALL 49")
            server_cmd(id,"amx_glow @CT Purple")
            chat_color(id,"!t !gZM Oyunu(10K HP) Aktif!")
       chat_color(id,"!t !gZM Oyunu(20K HP) Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }
        case 14: {
            server_cmd(id,"amx_heal @CT 30000")
            server_cmd(id,"amx_unammo @all 1")
            server_cmd(id,"amx_weapon @ALL 43")
            server_cmd(id,"amx_weapon @ALL 42")
            server_cmd(id,"amx_weapon @ALL 48")
            server_cmd(id,"amx_weapon @ALL 49")
            server_cmd(id,"amx_glow @CT red")
            chat_color(id,"!t !gZM Oyunu(30K HP) Aktif!")
       chat_color(id,"!t !gZM Oyunu(30K HP) Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }          
    case 15: {
        for(new id= 1; id < 33; id++)
        {
        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(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_heal @T 400")
            server_cmd(id,"amx_cvar mp_friendlyfire 1")
            server_cmd(id,"amx_unammo @T 1")
            chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !rSilah: !w10 Adet Bomba")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }
        case 16: {
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_heal @T 400")
            server_cmd(id,"amx_cvar mp_friendlyfire 1")
            server_cmd(id,"amx_unammo @T 1")
       server_cmd(id,"amx_weapon @T 16")
            chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }
        case 17: {
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_heal @T 400")
            server_cmd(id,"amx_cvar mp_friendlyfire 1")
            server_cmd(id,"amx_unammo @T 1")
       server_cmd(id,"amx_weapon @T 14")
            chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }
        case 18: {
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_heal @T 400")
            server_cmd(id,"amx_cvar mp_friendlyfire 1")
            server_cmd(id,"amx_unammo @T 1")
       server_cmd(id,"amx_weapon @T 46")
       server_cmd(id,"amx_weapon @T 48")
            chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }
        case 19: {
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_heal @T 400")
            server_cmd(id,"amx_cvar mp_friendlyfire 1")
            server_cmd(id,"amx_unammo @T 1")
       server_cmd(id,"amx_weapon @T 43")
       server_cmd(id,"amx_weapon @T 42")
            chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }
        case 20: {
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_heal @T 400")
            server_cmd(id,"amx_cvar mp_friendlyfire 1")
            server_cmd(id,"amx_unammo @T 1")
       server_cmd(id,"amx_weapon @T 21")
            chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }
        case 21: {
            server_cmd(id,"amx_godmode @CT 1")
            server_cmd(id,"amx_heal @T 400")
            server_cmd(id,"amx_cvar mp_friendlyfire 1")
            server_cmd(id,"amx_unammo @T 1")
       server_cmd(id,"amx_weapon @T 11")
       server_cmd(id,"amx_weapon @T 12")
       server_cmd(id,"amx_weapon @T 13")
       server_cmd(id,"amx_weapon @T 14")
       server_cmd(id,"amx_weapon @T 15")
       server_cmd(id,"amx_weapon @T 16")
            chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !gFF Oyunu Aktif!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }
        case 22: {
            server_cmd(id,"amx_godmode @CT 0")
            server_cmd(id,"amx_unammo @all 0")
            server_cmd(id,"amx_disarm @t")
            server_cmd(id,"amx_glow @all OFF")
            server_cmd(id,"amx_cvar mp_friendlyfire 0")
            server_cmd(id,"amx_cvar sv_parachute 1")
            server_cmd(id,"amx_glow @CT Blue")
       server_cmd(id,"amx_unbury @T")
       server_cmd(id,"amx_cvar sv_gravity 800")
            chat_color(id,"!t !gAyarlar Duzeltildi!")
       chat_color(id,"!t !gAyarlar Duzeltildi!")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
       chat_color(id,"!t !rPlugin Yapim : !wByShadow")
        }
    }
    
    menu_destroy(menu);
    return PLUGIN_HANDLED;
}  

stock chat_color(const id, const input[], any:...)
{
    new count = 1, players[32]
    static msg[191]
    vformat(msg, 190, input, 3)
    
    replace_all(msg, 190, "!g", "^4") //yesil
    replace_all(msg, 190, "!y", "^1") //sari
    replace_all(msg, 190, "!t", "^3") //takim-rengi
    replace_all(msg, 190, "!team2", "^0") //bilmiom
    
    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();
                 }
        }
    }
}
Reply
#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
#5
Çok Teşekkür Ederim Büyüksün Big Grin Bu Arada 0 OLAN YERLERE ADMIN_BAN YAZDIM SADECE BAN YETKISI OLAN ADMINLER KULLANIYO DIMI VE BASKA BIR YERE BISEY EKLEMEM GEREKMIYO DIMI?
Reply
#6
Oraya eklemen yeterli
Reply
#7
Dene Haber et



PHP Code:
#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_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: {
            
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")
            for(new 
i133i++)
            {
                if(
is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1) {
                    
give_item(i,"weapon_hegrenade")
                    
cs_set_user_bpammo(i,CSW_HEGRENADE,10)
                }
            }
            }
            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
#8
benim serverimde surf buy koruması kurulu ama buya dısardan vurma ve icerdende dısarı vurma pluginin bulamadım yardımlarınızı beklıyorm
Reply


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

Foruma Atla:


Users browsing this thread: 1 Guest(s)