Reklam gösterimini engelleyici yazılım kullandığınızı görüyoruz.
Sitemizin ayakta kalıp sizlere hizmet edebilmek için en büyük gelir kaynağı sayfamızda gösterilen reklamlardır.
Reklam gösterimde bizim sayfamıza ayrıcalık tanıyarak ayakta kalmamıza destek olmak ister misiniz ?

Silinmiş Konu   | Neden Yapiyor

Konu

#1
Son Düzenleme: 21-04-2017, Saat: 16:33, Düzenleyen: ITenGriTR.
İstedigim Damageleri Vermiyor Ve Sole Bi sorunu Var
renkli_yazi En Altta ekli Fakat undefined symbol hatasi veriyor
PHP Kod:
//////////     //////////       ///////////   *   CSAilesi.com Forum Kullanicisi      *
//             //               //   //  //   *   Berk Tarafindan Codlanip Paylsldı   *
//             //////////       ///////////   *   Eklentiyi Satmak YASAKTIR           *
//                     //       //       //   *   www.csailesi.com Paylaşım Platfor   *
//                     //       //       //   *   Sattığınız Anda Cezai İşlem         *
//////////     //////////       //       //   *   Uygulanacaktır Emeğe Saygı Lütfen   *
//* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <hlsdk_const>
#include <fakemeta>
#include <fun>
#include <engine>

#define DEAGLE_HASAR 1.3
#define M4A1_HASAR 1.5
#define MP5_HASAR 1.4
#define XM1014_HASAR 0.9
#define AK47_HASAR 1.5

#define fm_cs_set_weapon_ammo(%1,%2) set_pdata_int(%1, 51, %2, 4)

new const g_MaxClipAmmo[] = {
 
   013010070303001520253035251220,
 
   10301008303020073030050
}

// CVARS

new VIEW_DEAGLEGOLD[]        "models/v_golden_deagle.mdl"// Golden Deagle Model
new PLAYER_DEAGLEGOLD[]        "models/p_deagle.mdl"// Golden Deagle Model
new VIEW_AK47GOLD[]        "models/v_golden_ak47.mdl";
new 
PLAYER_AK47GOLD[]        "models/p_ak47.mdl";
new 
VIEW_M4A1GOLD[]        "models/v_golden_m4a1.mdl"// Golden Deagle Model
new PLAYER_M4A1GOLD[]        "models/p_m4a1.mdl"// Golden M4a1 Model
new VIEW_MP5GOLD[]        "models/v_goldmp5.mdl"// Golden Deagle Model
new PLAYER_MP5GOLD[]        "models/p_goldmp5.mdl"// Golden M4a1 Model
new VIEW_XM1014GOLD[]        "models/v_golden_xm1014.mdl"// Golden Deagle Model
new PLAYER_XM1014GOLD[]        "models/p_xm1014.mdl"// Golden M4a1 Model;

new Gorunmezlik[33],
bool:engel2[33], engel3[33], engel4[33], engel5[33], engel6[33], engel7[33],
bool:deagle[33], bool:m4a1[33], bool:ak47[33], bool:mp5[33], bool:xm1014[33];
new 
unammocuk[33],


#define PLUGIN "Admin Silah"
#define VERSION "v1.0"
#define AUTHOR "Berk"


public plugin_init() {
 
   register_plugin(PLUGINVERSIONAUTHOR)
 
   
    register_clcmd
("say /adminsilah""ozelyonetici")
 
   
    register_event
("CurWeapon""HookCurWeapon""be""1=1")
 
   register_logevent("YeniTur"2"1=Round_Start")
 
   register_logevent("ElSonu"2"1=Round_End")
 
   
    register_event
("CurWeapon""HookCurWeapon""be""1=1")
 
   RegisterHam(Ham_Spawn"player""FwdHamPlayerSpawn"1)
 
   RegisterHam(Ham_TakeDamage"player""silahhasar"0);
 
   register_event("CurWeapon" "Event_CurWeapon" "be" "1=1" );
 
   
    
}
public 
Event_CurWeapon(id){
 
   if(unammocuk[id]){
 
       new iWeapon read_data(2)
 
       {
 
           fm_cs_set_weapon_ammoget_pdata_cbase(id373) , g_MaxClipAmmoiWeapon ] )
 
       }
 
   }
}
public 
plugin_precache()
{
 
   precache_model(VIEW_DEAGLEGOLD)
 
   precache_model(PLAYER_DEAGLEGOLD)
 
   precache_model(VIEW_M4A1GOLD)
 
   precache_model(PLAYER_M4A1GOLD)
 
   precache_model(VIEW_AK47GOLD)
 
   precache_model(PLAYER_AK47GOLD)
 
   precache_model(VIEW_MP5GOLD)
 
   precache_model(PLAYER_MP5GOLD)
 
   precache_model(VIEW_XM1014GOLD)
 
   precache_model(PLAYER_XM1014GOLD)
 
   
}
public 
ozelyonetici(id)
{
 
   if(get_user_flags(id) & ADMIN_RCON)
 
   {
 
       
            new menu 
menu_create("\yCsAilesi ~\y Pro \r// \yYonetici Menu""ozelyonetici1")
 
           
            if
(engel2[id])
 
           {
 
           menu_additem(menu"\yCsAilesi \r// \y250 Hp Satin Al \rKullandiniz""1"0);
 
           }
 
           else
            
{
 
           menu_additem(menu"\yCsAilesi \r// \y250 Hp Satin Al \rBeles""1"0);
 
           }
 
           if(engel3[id])
 
           {
 
           menu_additem(menu"\yCsAilesi \r// \yGolden M4A1 \rKullandiniz""5"0);
 
           }
 
           else
            
{
 
           menu_additem(menu"\yCsAilesi \r// \yGolden M4A1 \rBeles""5"0);
 
           }
 
           if(engel3[id])
 
           {
 
           menu_additem(menu"\yCsAilesi \r// \yGolden AK47 \rKullandiniz""6"0);
 
           }
 
           else
            
{
 
           menu_additem(menu"\yCsAilesi \r// \yGolden AK47 \rBeles""6"0);
 
           }
 
           if(engel3[id])
 
           {
 
           menu_additem(menu"\yCsAilesi \r// \yGolden MP5 \rKullandiniz""7"0);
 
           }
 
           else
            
{
 
           menu_additem(menu"\yCsAilesi \r// \yGolden MP5 \rBeles""7"0);
 
           }
 
           if(engel3[id])
 
           {
 
           menu_additem(menu"\yCsAilesi \r// \yGolden XM1014 \rKullandiniz""8"0);
 
           }
 
           else
            
{
 
           menu_additem(menu"\yCsAilesi \r// \yGolden XM1014 \rBeles""8"0);
 
           }
 
           if(engel4[id])
 
           {
 
           menu_additem(menu"\yCsAilesi \r// \yGolden Deagle \rKullandiniz""9"0);
 
           }
 
           else
            
{
 
           menu_additem(menu"\yCsAilesi \r// \yGolden Deagle \rBeles""9"0);
 
           }
 
           if(engel5[id])
 
           {
 
           menu_additem(menu"\yCsAilesi \r// \y20 Saniye Gorunmezlik \rKullandiniz""2"0);
 
           }
 
           else
            
{
 
           menu_additem(menu"\yCsAilesi \r// \y20 Saniye Gorunmezlik \rBeles""2"0)
 
           }
 
           if(engel6[id])
 
           {
 
           menu_additem(menu"\yCsAilesi \r// \y5000 Dolar Satin Al  \rKullandiniz""3"0);
 
           }
 
           else
            
{
 
           menu_additem(menu"\yCsAilesi \r// \y5000 Dolar Satin Al \rBeles""3"0);
 
           }
 
           if(engel7[id])
 
           {
 
           menu_additem(menu"\yCsAilesi \r// \y30 Saniye Unammo \rKullandiniz""4"0);
 
           }
 
           else
            
{
 
           menu_additem(menu"\yCsAilesi \r// \y30 Saniye Unammo \rBeles""4"0);
 
           }
 
           menu_setprop(menuMPROP_EXITNAME"\rCikis")
 
           menu_display(idmenu0)
 
   
    
}
}
public 
ozelyonetici1(idmenuitem)
{
 
   if(item == MENU_EXIT)
 
   {
 
       menu_destroy(menu);
 
       return PLUGIN_HANDLED;
 
   }
 
   new data[6], iName[64], AccessCallback
    menu_item_getinfo
(menuitemAccessdatasizeof(data) -1iNamesizeof(iName) -1Callback)
 
   new key str_to_num(data)
 
   switch(key)
 
   {
 
       case 1: {
 
           if(engel2[id])
 
           {
 
               renkli_yazi(id"!t[!gCsAilesi] !tHer El Bir Kere..")
 
               renkli_yazi(id"!t[!gCsAilesi!t] !t Diger El Tekrar Dene")
 
               ozelyonetici(id)
 
           }
 
           else
            
{
 
               set_user_health(id,get_user_health(id) + 250)
 
               engel2[id] = true
                renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !g250 HP Aldin.")
 
           }
 
       }
 
       case 2: {
 
           if(engel5[id])
 
           {
 
               renkli_yazi(id"!t[!gCsAilesi] !tHer El Bir Kere..")
 
               renkli_yazi(id"!t[!gCsAilesi!t] !t Diger El Tekrar Dene")
 
               ozelyonetici(id)
 
           }
 
           else
            
{
 
               set_entity_visibility(id0)
 
               set_task(20.0"GorunmezlikBitir"id)
 
               engel5[id] = true
                renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGorunmezlik Aldin.")
 
           }
 
       
 
       case 3: {
 
           if(engel6[id])
 
           {
 
               renkli_yazi(id"!t[!gCsAilesi] !tHer El Bir Kere..")
 
               renkli_yazi(id"!t[!gCsAilesi!t] !t Diger El Tekrar Dene")
 
               ozelyonetici(id)
 
           }
 
           else
            
{
 
               engel6[id] = true
                cs_set_user_money
(id,cs_get_user_money(id) + 5000)
 
               renkli_yazi(id"!n[ !gCsAilesi !n] !tBedava !g5000 Dolar Aldin.")
 
           }
 
       
 
       case 4: {
 
           if(engel7[id])
 
           {
 
               renkli_yazi(id"!t[!gCsAilesi] !tHer El Bir Kere..")
 
               renkli_yazi(id"!t[!gCsAilesi!t] !t Diger El Tekrar Dene")
 
               ozelyonetici(id)
 
           }
 
           else
            
{
 
               unammocuk[id] = true
                set_task
(30.0"UnammoBitir"id)
 
               engel7[id] = true
                renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !g30 Sn Unammo Aldin.")
 
           }
 
       
 
       case 5: {
 
           if(engel3[id])
 
           {
 
               renkli_yazi(id"!t[!gCsAilesi] !tHer El Bir Kere..")
 
               renkli_yazi(id"!t[!gCsAilesi!t] !t Diger El Tekrar Dene")
 
               ozelyonetici(id)
 
           }
 
           else
            
{
 
               give_item(id"weapon_m4a1")
 
               cs_set_user_bpammo(idCSW_M4A1200)
 
               m4a1[id] = true
                engel3
[id] = true
                renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden M4A1 Aldin.")
 
           }
 
       
 
       case 6: {
 
           if(engel3[id])
 
           {
 
               renkli_yazi(id"!t[!gCsAilesi] !tHer El Bir Kere..")
 
               renkli_yazi(id"!t[!gCsAilesi!t] !t Diger El Tekrar Dene")
 
               ozelyonetici(id)
 
           }
 
           else
            
{
 
               give_item(id"weapon_ak47")
 
               cs_set_user_bpammo(idCSW_AK47200)
 
               ak47[id] = true
                engel3
[id] = true
                renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden AK47 Aldin.")
 
           }
 
       
 
       case 7: {
 
           if(engel3[id])
 
           {
 
               renkli_yazi(id"!t[!gCsAilesi] !tHer El Bir Kere..")
 
               renkli_yazi(id"!t[!gCsAilesi!t] !t Diger El Tekrar Dene")
 
               ozelyonetici(id)
 
           }
 
           else
            
{
 
               give_item(id"weapon_mp5navy")
 
               cs_set_user_bpammo(idCSW_MP5NAVY200)
 
               mp5[id] = true
                engel3
[id] = true
                renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden MP5 Aldin.")
 
           }
 
       
 
       case 8: {
 
           if(engel3[id])
 
           {
 
               renkli_yazi(id"!t[!gCsAilesi] !tHer El Bir Kere..")
 
               renkli_yazi(id"!t[!gCsAilesi!t] !t Diger El Tekrar Dene")
 
               ozelyonetici(id)
 
           }
 
           else
            
{
 
               give_item(id"weapon_xm1014")
 
               cs_set_user_bpammo(idCSW_XM1014200)
 
               xm1014[id] = true
                engel3
[id] = true
                renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden XM1014 Aldin.")
 
           }
 
       
 
       case 9: {
 
           if(engel4[id])
 
           {
 
               renkli_yazi(id"!t[!gCsAilesi] !tHer El Bir Kere..")
 
               renkli_yazi(id"!t[!gCsAilesi!t] !t Diger El Tekrar Dene")
 
               ozelyonetici(id)
 
           }
 
           else
            
{
 
               give_item(id"weapon_deagle")
 
               cs_set_user_bpammo(idCSW_DEAGLE200)
 
               deagle[id] = true
                engel4
[id] = true
                renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden DEAGLE Aldin.")
 
           }
 
       
}

public 
GorunmezlikBitir(id)
{
 
   set_entity_visibility(id1)
 
   renkli_yazi(id"!n[ !gCsAilesi !n] !tBedava !gGorunmezligin Bitti.")
}
public 
UnammoBitir(id)
{
 
   unammocuk[id] = false
    renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gUnammo !tBitti.")
}
public 
YeniTur()
{
 
   new players[32], inum;
 
   static Uid;
 
   get_players(playersinum"a")
 
   for(new iinumi++) {
 
       Uid players[i];
 
       Gorunmezlik[Uid] = -1
        engel2
[Uid] = false
        engel3
[Uid] = false
        engel4
[Uid] = false
        engel5
[Uid] = false
        engel6
[Uid] = false
        engel7
[Uid] = false
        deagle
[Uid] = false
        m4a1
[Uid] = false
        ak47
[Uid] = false
        mp5
[Uid] = false
        xm1014
[Uid] = false
        set_entity_visibility
(Uid1)
 
   }
}
public 
ElSonu() {
 
   new players[32], inum;
 
   static Uid;
 
   get_players(playersinum"a")
 
   for(new iinumi++) {
 
       Uid players[i];
 
       Gorunmezlik[Uid] = -1
        engel2
[Uid] = false
        engel3
[Uid] = false
        engel4
[Uid] = false
        engel5
[Uid] = false
        engel6
[Uid] = false
        engel7
[Uid] = false
        deagle
[Uid] = false
        m4a1
[Uid] = false
        ak47
[Uid] = false
        mp5
[Uid] = false
        xm1014
[Uid] = false
        set_entity_visibility
(Uid1)
 
   }
}
public 
FwdHamPlayerSpawn(id)
{
 
   deagle[id] = false
    m4a1
[id] = false
    ak47
[id] = false
    mp5
[id] = false
    xm1014
[id] = false
    Gorunmezlik
[id] = -1
    set_entity_visibility
(id1)
}
public 
silahhasar(pevVictimpevInflictorpevAttackerFloat:flDamageiDmgBits
 
    if
(!(<= pevAttacker <= get_maxplayers())) {
 
       return HAM_HANDLED  
    
}
 
   if(!is_user_alive(pevAttacker)) {   
        return HAM_HANDLED
  
    
}
 
       if(deagle[pevAttacker]) {
 
           SetHamParamFloat(4flDamage DEAGLE_HASAR);
 
       }
 
       if(m4a1[pevAttacker]) {
 
           SetHamParamFloat(4flDamage M4A1_HASAR);
 
       }
 
       if(ak47[pevAttacker]) {
 
           SetHamParamFloat(4flDamage AK47_HASAR);
 
       }
 
       if(mp5[pevAttacker]) {
 
           SetHamParamFloat(4flDamage MP5_HASAR);
 
       }
 
       if(xm1014[pevAttacker]) {
 
           SetHamParamFloat(4flDamage XM1014_HASAR);
 
       }
 
   }
public 
HookCurWeapon(id
{
 
   new silahID read_data(2);

 
   switch(get_user_team(id))
 
   {
 
       case 2: {
 
           if(deagle[id] && silahID == CSW_DEAGLE)
 
           {
 
               set_pev(idpev_viewmodel2VIEW_DEAGLEGOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_DEAGLEGOLD);
 
           }
 
           if(ak47[id] && silahID == CSW_AK47)
 
           {
 
               set_pev(idpev_viewmodel2VIEW_AK47GOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_AK47GOLD);
 
           }
 
           if(m4a1[id] && silahID == CSW_M4A1)
 
           {
 
               set_pev(idpev_viewmodel2VIEW_M4A1GOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_M4A1GOLD);
 
           }
 
           if(mp5[id] && silahID == CSW_MP5NAVY)
 
           {
 
               set_pev(idpev_viewmodel2VIEW_MP5GOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_MP5GOLD);
 
           }
 
           if(xm1014[id] && silahID == CSW_XM1014)
 
           {
 
               set_pev(idpev_viewmodel2VIEW_XM1014GOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_XM1014GOLD);
 
           }
 
       }
 
   }
 
   return PLUGIN_HANDLED
}
stock renkli_yazi(const id, const input[], any:...)
{
new 
count 1players[32];
static 
msg[191];
vformat(msg190input3);

replace_all(msg190"!n""^x01"); // Default Renk(Sarı)
replace_all(msg190"!g""^x04"); // Yeşil Renk
replace_all(msg190"!t""^x03"); // Takım Renk( CT mavi , T kırmızı )

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[i]);
 
       write_byte(players[i]);
 
       write_string(msg);
 
       message_end();
 
   }
 
   
}

Vipmenu.sma(55) : error 020: invalid symbol name ""
Vipmenu.sma(192) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(193) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(200) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(206) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(207) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(215) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(221) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(222) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(229) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(235) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(236) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(244) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(250) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(251) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(260) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(266) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(267) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(276) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(282) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(283) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(292) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(298) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(299) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(308) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(314) : error 017: undefined symbol "renkli_yazi"
Yav Neden Ya



#2
Son Düzenleme: 19-04-2017, Saat: 20:32, Düzenleyen: Anıl Can.
Sadece deagle hasarı çalışıyor galiba kontrol eder misin


Sadece CS:GO ekletisi yapıyorum 1.6 plugin isteklerine bakmıyorum.

Serverinize özel go eklentisi için steam üzerinden iletişime geçin

Steam :   https://steamcommunity.com/id/cananil44

#4
Son Düzenleme: 20-04-2017, Saat: 17:19, Düzenleyen: ITenGriTR.
@Anil Can Olmuyor



#5
PHP Kod:
//////////     //////////       ///////////   *   CSAilesi.com Forum Kullanicisi      *
//                //                //       //   *   Berk Tarafindan Codlanip Paylsldı   *
//             //////////       ///////////   *   Eklentiyi Satmak YASAKTIR           *
//                     //       //       //   *   www.csailesi.com Paylaşım Platfor   *
//                     //       //       //   *   Sattığınız Anda Cezai İşlem         *
//////////     //////////       //       //   *   Uygulanacaktır Emeğe Saygı Lütfen   *
//* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <hlsdk_const>
#include <fakemeta>
#include <fun>
#include <engine>

#define DEAGLE_HASAR 1.2
#define M4A1_HASAR 1.1
#define MP5_HASAR 1.0
#define XM1014_HASAR 0.8
#define AK47_HASAR 1.1

#define fm_cs_set_weapon_ammo(%1,%2) set_pdata_int(%1, 51, %2, 4)

new const g_MaxClipAmmo[] = {
 
   013010070303001520253035251220,
 
   10301008303020073030050
}

// CVARS

new VIEW_DEAGLEGOLD[]        "models/v_golden_deagle.mdl"// Golden Deagle Model
new PLAYER_DEAGLEGOLD[]        "models/p_deagle.mdl"// Golden Deagle Model
new VIEW_AK47GOLD[]        "models/v_golden_ak47.mdl";
new 
PLAYER_AK47GOLD[]        "models/p_ak47.mdl";
new 
VIEW_M4A1GOLD[]        "models/v_golden_m4a1.mdl"// Golden Deagle Model
new PLAYER_M4A1GOLD[]        "models/p_m4a1.mdl"// Golden M4a1 Model
new VIEW_MP5GOLD[]        "models/v_goldmp5.mdl"// Golden Deagle Model
new PLAYER_MP5GOLD[]        "models/p_mp5.mdl"// Golden M4a1 Model
new VIEW_XM1014GOLD[]        "models/v_golden_xm1014.mdl"// Golden Deagle Model
new PLAYER_XM1014GOLD[]        "models/p_xm1014.mdl"// Golden M4a1 Model;

new Gorunmezlik[33],
bool:engel2[33], engel3[33], engel4[33], engel5[33], engel6[33], engel7[33],
bool:deagle[33], bool:m4a1[33], bool:ak47[33], bool:mp5[33], bool:xm1014[33];
new 
unammocuk[33]

#define PLUGIN "Admin Silah"
#define VERSION "v1.0"
#define AUTHOR "Berk"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /adminsilah""ozelyonetici")
    
    
register_event("CurWeapon""HookCurWeapon""be""1=1")
    
register_logevent("YeniTur"2"1=Round_Start")
    
register_logevent("ElSonu"2"1=Round_End")
    
    
register_event("CurWeapon""HookCurWeapon""be""1=1")
    
RegisterHam(Ham_Spawn"player""FwdHamPlayerSpawn"1)
    
RegisterHam(Ham_TakeDamage"player""silahhasar"0);
    
register_event("CurWeapon" "Event_CurWeapon" "be" "1=1" );
    
    
}
public 
Event_CurWeapon(id)
{
    if(
unammocuk[id])
    {
        new 
iWeapon read_data(2)
        
fm_cs_set_weapon_ammoget_pdata_cbase(id373) , g_MaxClipAmmoiWeapon ] )
    }
}
public 
plugin_precache()
{
    
precache_model(VIEW_DEAGLEGOLD)
    
precache_model(PLAYER_DEAGLEGOLD)
    
precache_model(VIEW_M4A1GOLD)
    
precache_model(PLAYER_M4A1GOLD)
    
precache_model(VIEW_AK47GOLD)
    
precache_model(PLAYER_AK47GOLD)
    
precache_model(VIEW_MP5GOLD)
    
precache_model(PLAYER_MP5GOLD)
    
precache_model(VIEW_XM1014GOLD)
    
precache_model(PLAYER_XM1014GOLD)
    
}
public 
ozelyonetici(id)
{
    if(
get_user_flags(id) & ADMIN_RCON)
    {
        
        new 
menu menu_create("\yCsAilesi ~\y Pro \r// \yYonetici Menu""ozelyonetici1")
        
        if(
engel2[id])
        {
            
menu_additem(menu"\yCsAilesi \r// \y250 Hp Satin Al \rKullandiniz""1"0);
        }
        else
        {
            
menu_additem(menu"\yCsAilesi \r// \y250 Hp Satin Al \rBeles""1"0);
        }
        if(
engel3[id])
        {
            
menu_additem(menu"\yCsAilesi \r// \yGolden M4A1 \rKullandiniz""5"0);
        }
        else
        {
            
menu_additem(menu"\yCsAilesi \r// \yGolden M4A1 \rBeles""5"0);
        }
        if(
engel3[id])
        {
            
menu_additem(menu"\yCsAilesi \r// \yGolden AK47 \rKullandiniz""6"0);
        }
        else
        {
            
menu_additem(menu"\yCsAilesi \r// \yGolden AK47 \rBeles""6"0);
        }
        if(
engel3[id])
        {
            
menu_additem(menu"\yCsAilesi \r// \yGolden MP5 \rKullandiniz""7"0);
        }
        else
        {
            
menu_additem(menu"\yCsAilesi \r// \yGolden MP5 \rBeles""7"0);
        }
        if(
engel3[id])
        {
            
menu_additem(menu"\yCsAilesi \r// \yGolden XM1014 \rKullandiniz""8"0);
        }
        else
        {
            
menu_additem(menu"\yCsAilesi \r// \yGolden XM1014 \rBeles""8"0);
        }
        if(
engel4[id])
        {
            
menu_additem(menu"\yCsAilesi \r// \yGolden Deagle \rKullandiniz""9"0);
        }
        else
        {
            
menu_additem(menu"\yCsAilesi \r// \yGolden Deagle \rBeles""9"0);
        }
        if(
engel5[id])
        {
            
menu_additem(menu"\yCsAilesi \r// \y20 Saniye Gorunmezlik \rKullandiniz""2"0);
        }
        else
        {
            
menu_additem(menu"\yCsAilesi \r// \y20 Saniye Gorunmezlik \rBeles""2"0)
        }
        if(
engel6[id])
        {
            
menu_additem(menu"\yCsAilesi \r// \y5000 Dolar Satin Al  \rKullandiniz""3"0);
        }
        else
        {
            
menu_additem(menu"\yCsAilesi \r// \y5000 Dolar Satin Al \rBeles""3"0);
        }
        if(
engel7[id])
        {
            
menu_additem(menu"\yCsAilesi \r// \y30 Saniye Unammo \rKullandiniz""4"0);
        }
        else
        {
            
menu_additem(menu"\yCsAilesi \r// \y30 Saniye Unammo \rBeles""4"0);
        }
        
menu_setprop(menuMPROP_EXITNAME"\rCikis")
        
menu_display(idmenu0)
        
    }
}
public 
ozelyonetici1(idmenuitem)
{
    if(
item == MENU_EXIT)
    {
        
menu_destroy(menu);
        return 
PLUGIN_HANDLED;
    }
    new 
data[6], iName[64], AccessCallback
    menu_item_getinfo
(menuitemAccessdatasizeof(data) -1iNamesizeof(iName) -1Callback)
    new 
key str_to_num(data)
    switch(
key)
    {
        case 
1: {
            
set_user_health(id,get_user_health(id) + 250)
            
engel2[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !g250 HP Aldin.")
        }
        
        case 
2: {
            
set_entity_visibility(id0)
            
set_task(20.0"GorunmezlikBitir"id)
            
engel2[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGorunmezlik Aldin.")
        }
        case 
3: {
            
engel2[id] = true
            cs_set_user_money
(id,cs_get_user_money(id) + 5000)
            
renkli_yazi(id"!n[ !gCsAilesi !n] !tBedava !g5000 Dolar Aldim.")
        }
        case 
4: {
            
unammocuk[id] = true
            set_task
(30.0"UnammoBitir"id)
            
engel2[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !g30 Sn Unammo Aldin.")
        }
        case 
5: {
            
give_item(id"weapon_m4a1")
            
cs_set_user_bpammo(idCSW_M4A1200)
            
m4a1[id] = true
            engel2
[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden M4A1 Aldin.")
        }
        case 
6: {
            
give_item(id"weapon_ak47")
            
cs_set_user_bpammo(idCSW_AK47200)
            
ak47[id] = true
            engel2
[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden AK47 Aldin.")
        }
        case 
7: {
            
give_item(id"weapon_mp5navy")
            
cs_set_user_bpammo(idCSW_MP5NAVY200)
            
mp5[id] = true
            engel2
[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden MP5 Aldin.")
        }
        case 
8: {
            
give_item(id"weapon_xm1014")
            
cs_set_user_bpammo(idCSW_XM1014200)
            
xm1014[id] = true
            engel2
[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden XM1014 Aldin.")
        }
        case 
9: {
            
give_item(id"weapon_deagle")
            
cs_set_user_bpammo(idCSW_DEAGLE200)
            
deagle[id] = true
            engel3
[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden DEAGLE Aldin.")
        }
    }
    return 
PLUGIN_HANDLED
}

public 
GorunmezlikBitir(id)
{
    
set_entity_visibility(id1)
    
renkli_yazi(id"!n[ !gCsAilesi !n] !tBedava !gGorunmezligin Bitti.")
}
public 
UnammoBitir(id)
{
    
unammocuk[id] = false
    renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gUnammo !tBitti.")
}
public 
YeniTur()
{
    new 
players[32], inum;
    static 
Uid;
    
get_players(playersinum"a")
    for(new 
iinumi++) {
        
Uid players[i];
        
Gorunmezlik[Uid] = -1
        engel2
[Uid] = false
        engel3
[Uid] = false
        engel4
[Uid] = false
        engel5
[Uid] = false
        engel6
[Uid] = false
        engel7
[Uid] = false
        deagle
[Uid] = false
        m4a1
[Uid] = false
        ak47
[Uid] = false
        mp5
[Uid] = false
        xm1014
[Uid] = false
        set_entity_visibility
(Uid1)
    }
}
public 
ElSonu() {
    new 
players[32], inum;
    static 
Uid;
    
get_players(playersinum"a")
    for(new 
iinumi++) {
        
Uid players[i];
        
Gorunmezlik[Uid] = -1
        engel2
[Uid] = false
        engel3
[Uid] = false
        engel4
[Uid] = false
        engel5
[Uid] = false
        engel6
[Uid] = false
        engel7
[Uid] = false
        deagle
[Uid] = false
        m4a1
[Uid] = false
        ak47
[Uid] = false
        mp5
[Uid] = false
        xm1014
[Uid] = false
        set_entity_visibility
(Uid1)
    }
}
public 
FwdHamPlayerSpawn(id)
{
    
deagle[id] = false
    m4a1
[id] = false
    ak47
[id] = false
    xm1014
[id] = false
    Gorunmezlik
[id] = -1
    set_entity_visibility
(id1)
}
public 
silahhasar(pevVictimpevInflictorpevAttackerFloat:flDamageiDmgBits
 
    
if(!(<= pevAttacker <= get_maxplayers())) {
        return 
HAM_HANDLED  
    
}
    if(!
is_user_alive(pevAttacker)) {   
        
return HAM_HANDLED  
    
}
    if(
deagle[pevAttacker]) {
        
SetHamParamFloat(4flDamage DEAGLE_HASAR);
    }
    if(
m4a1[pevAttacker]) {
        
SetHamParamFloat(4flDamage M4A1_HASAR);
    }
    if(
ak47[pevAttacker]) {
        
SetHamParamFloat(4flDamage AK47_HASAR);
    }
    if(
mp5[pevAttacker]) {
        
SetHamParamFloat(4flDamage MP5_HASAR);
    }
    if(
xm1014[pevAttacker]) {
        
SetHamParamFloat(4flDamage XM1014_HASAR);
    }
    return 
PLUGIN_HANDLED
}
public 
HookCurWeapon(id
{
    new 
silahID read_data(2);
    
    switch(
get_user_team(id))
    {
        case 
2: {
            if(
deagle[id] && silahID == CSW_DEAGLE)
            {
                
set_pev(idpev_viewmodel2VIEW_DEAGLEGOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_DEAGLEGOLD);
            }
            if(
ak47[id] && silahID == CSW_AK47)
            {
                
set_pev(idpev_viewmodel2VIEW_AK47GOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_AK47GOLD);
            }
            if(
m4a1[id] && silahID == CSW_M4A1)
            {
                
set_pev(idpev_viewmodel2VIEW_M4A1GOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_M4A1GOLD);
            }
            if(
mp5[id] && silahID == CSW_MP5NAVY)
            {
                
set_pev(idpev_viewmodel2VIEW_MP5GOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_MP5GOLD);
            }
            if(
xm1014[id] && silahID == CSW_XM1014)
            {
                
set_pev(idpev_viewmodel2VIEW_XM1014GOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_XM1014GOLD);
            }
        }
    }
    return 
PLUGIN_HANDLED
}
//          renkli_yazi(id,"!n Yazini Yaz ")

stock renkli_yazi(const id, const input[], any:...)
{
    new 
count 1players[32];
    static 
msg[191];
    
vformat(msg190input3);
    
    
replace_all(msg190"!n""^x01"); // Default Renk(Sarı)
    
replace_all(msg190"!g""^x04"); // Yeşil Renk
    
replace_all(msg190"!t""^x03"); // Takım Renk( CT mavi , T kırmızı )
    
    
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[i]);
                
write_byte(players[i]);
                
write_string(msg);
                
message_end();
            }

        }
    }




Sadece CS:GO ekletisi yapıyorum 1.6 plugin isteklerine bakmıyorum.

Serverinize özel go eklentisi için steam üzerinden iletişime geçin

Steam :   https://steamcommunity.com/id/cananil44

#6
@Anil Can
Vipmenu.sma(55) : error 020: invalid symbol name ""
Vipmenu.sma(192) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(193) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(200) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(206) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(207) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(215) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(221) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(222) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(229) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(235) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(236) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(244) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(250) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(251) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(260) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(266) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(267) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(276) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(282) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(283) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(292) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(298) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(299) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(308) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(314) : error 017: undefined symbol "renkli_yazi"
Yav Neden Ya



#7
Ben hata almıyorum ?


Sadece CS:GO ekletisi yapıyorum 1.6 plugin isteklerine bakmıyorum.

Serverinize özel go eklentisi için steam üzerinden iletişime geçin

Steam :   https://steamcommunity.com/id/cananil44

#8
PHP Kod:
//////////     //////////       ///////////   *   CSAilesi.com Forum Kullanicisi      *
//                //                //       //   *   Berk Tarafindan Codlanip Paylsldı   *
//             //////////       ///////////   *   Eklentiyi Satmak YASAKTIR           *
//                     //       //       //   *   www.csailesi.com Paylaşım Platfor   *
//                     //       //       //   *   Sattığınız Anda Cezai İşlem         *
//////////     //////////       //       //   *   Uygulanacaktır Emeğe Saygı Lütfen   *
//* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <hlsdk_const>
#include <fakemeta>
#include <fun>
#include <engine>

#define DEAGLE_HASAR 1.2
#define M4A1_HASAR 1.1
#define MP5_HASAR 1.0
#define XM1014_HASAR 0.8
#define AK47_HASAR 1.1

#define fm_cs_set_weapon_ammo(%1,%2) set_pdata_int(%1, 51, %2, 4)

new const g_MaxClipAmmo[] = {
 
   013010070303001520253035251220,
 
   10301008303020073030050
}

// CVARS

new VIEW_DEAGLEGOLD[]        "models/v_golden_deagle.mdl"// Golden Deagle Model
new PLAYER_DEAGLEGOLD[]        "models/p_deagle.mdl"// Golden Deagle Model
new VIEW_AK47GOLD[]        "models/v_golden_ak47.mdl";
new 
PLAYER_AK47GOLD[]        "models/p_ak47.mdl";
new 
VIEW_M4A1GOLD[]        "models/v_golden_m4a1.mdl"// Golden Deagle Model
new PLAYER_M4A1GOLD[]        "models/p_m4a1.mdl"// Golden M4a1 Model
new VIEW_MP5GOLD[]        "models/v_goldmp5.mdl"// Golden Deagle Model
new PLAYER_MP5GOLD[]        "models/p_mp5.mdl"// Golden M4a1 Model
new VIEW_XM1014GOLD[]        "models/v_golden_xm1014.mdl"// Golden Deagle Model
new PLAYER_XM1014GOLD[]        "models/p_xm1014.mdl"// Golden M4a1 Model;

new Gorunmezlik[33],
bool:engel2[33], engel3[33], engel4[33], engel5[33], engel6[33], engel7[33],
bool:deagle[33], bool:m4a1[33], bool:ak47[33], bool:mp5[33], bool:xm1014[33];
new 
unammocuk[33]

#define PLUGIN "Admin Silah"
#define VERSION "v1.0"
#define AUTHOR "Berk"


public plugin_init() {
 
   register_plugin(PLUGINVERSIONAUTHOR)
 
   
    register_clcmd
("say /adminsilah""ozelyonetici")
 
   
    register_event
("CurWeapon""HookCurWeapon""be""1=1")
 
   register_logevent("YeniTur"2"1=Round_Start")
 
   register_logevent("ElSonu"2"1=Round_End")
 
   
    register_event
("CurWeapon""HookCurWeapon""be""1=1")
 
   RegisterHam(Ham_Spawn"player""FwdHamPlayerSpawn"1)
 
   RegisterHam(Ham_TakeDamage"player""silahhasar"0);
 
   register_event("CurWeapon" "Event_CurWeapon" "be" "1=1" );
 
   
    
}
public 
Event_CurWeapon(id)
{
 
   if(unammocuk[id])
 
   {
 
       new iWeapon read_data(2)
 
       fm_cs_set_weapon_ammoget_pdata_cbase(id373) , g_MaxClipAmmoiWeapon ] )
 
   }
}
public 
plugin_precache()
{
 
   precache_model(VIEW_DEAGLEGOLD)
 
   precache_model(PLAYER_DEAGLEGOLD)
 
   precache_model(VIEW_M4A1GOLD)
 
   precache_model(PLAYER_M4A1GOLD)
 
   precache_model(VIEW_AK47GOLD)
 
   precache_model(PLAYER_AK47GOLD)
 
   precache_model(VIEW_MP5GOLD)
 
   precache_model(PLAYER_MP5GOLD)
 
   precache_model(VIEW_XM1014GOLD)
 
   precache_model(PLAYER_XM1014GOLD)
 
   
}
public 
ozelyonetici(id)
{
 
   if(get_user_flags(id) & ADMIN_RCON)
 
   {
 
       
        new menu 
menu_create("\yCsAilesi ~\y Pro \r// \yYonetici Menu""ozelyonetici1")
 
       
        if
(engel2[id])
 
       {
 
           menu_additem(menu"\yCsAilesi \r// \y250 Hp Satin Al \rKullandiniz""1"0);
 
       }
 
       else
        
{
 
           menu_additem(menu"\yCsAilesi \r// \y250 Hp Satin Al \rBeles""1"0);
 
       }
 
       if(engel3[id])
 
       {
 
           menu_additem(menu"\yCsAilesi \r// \yGolden M4A1 \rKullandiniz""5"0);
 
       }
 
       else
        
{
 
           menu_additem(menu"\yCsAilesi \r// \yGolden M4A1 \rBeles""5"0);
 
       }
 
       if(engel3[id])
 
       {
 
           menu_additem(menu"\yCsAilesi \r// \yGolden AK47 \rKullandiniz""6"0);
 
       }
 
       else
        
{
 
           menu_additem(menu"\yCsAilesi \r// \yGolden AK47 \rBeles""6"0);
 
       }
 
       if(engel3[id])
 
       {
 
           menu_additem(menu"\yCsAilesi \r// \yGolden MP5 \rKullandiniz""7"0);
 
       }
 
       else
        
{
 
           menu_additem(menu"\yCsAilesi \r// \yGolden MP5 \rBeles""7"0);
 
       }
 
       if(engel3[id])
 
       {
 
           menu_additem(menu"\yCsAilesi \r// \yGolden XM1014 \rKullandiniz""8"0);
 
       }
 
       else
        
{
 
           menu_additem(menu"\yCsAilesi \r// \yGolden XM1014 \rBeles""8"0);
 
       }
 
       if(engel4[id])
 
       {
 
           menu_additem(menu"\yCsAilesi \r// \yGolden Deagle \rKullandiniz""9"0);
 
       }
 
       else
        
{
 
           menu_additem(menu"\yCsAilesi \r// \yGolden Deagle \rBeles""9"0);
 
       }
 
       if(engel5[id])
 
       {
 
           menu_additem(menu"\yCsAilesi \r// \y20 Saniye Gorunmezlik \rKullandiniz""2"0);
 
       }
 
       else
        
{
 
           menu_additem(menu"\yCsAilesi \r// \y20 Saniye Gorunmezlik \rBeles""2"0)
 
       }
 
       if(engel6[id])
 
       {
 
           menu_additem(menu"\yCsAilesi \r// \y5000 Dolar Satin Al  \rKullandiniz""3"0);
 
       }
 
       else
        
{
 
           menu_additem(menu"\yCsAilesi \r// \y5000 Dolar Satin Al \rBeles""3"0);
 
       }
 
       if(engel7[id])
 
       {
 
           menu_additem(menu"\yCsAilesi \r// \y30 Saniye Unammo \rKullandiniz""4"0);
 
       }
 
       else
        
{
 
           menu_additem(menu"\yCsAilesi \r// \y30 Saniye Unammo \rBeles""4"0);
 
       }
 
       menu_setprop(menuMPROP_EXITNAME"\rCikis")
 
       menu_display(idmenu0)
 
       
    
}
}
public 
ozelyonetici1(idmenuitem)
{
 
   if(item == MENU_EXIT)
 
   {
 
       menu_destroy(menu);
 
       return PLUGIN_HANDLED;
 
   }
 
   new data[6], iName[64], AccessCallback
    menu_item_getinfo
(menuitemAccessdatasizeof(data) -1iNamesizeof(iName) -1Callback)
 
   new key str_to_num(data)
 
   switch(key)
 
   {
 
       case 1: {
 
           set_user_health(id,get_user_health(id) + 250)
 
           engel2[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !g250 HP Aldin.")
 
       }
 
       
        case 2
: {
 
           set_entity_visibility(id0)
 
           set_task(20.0"GorunmezlikBitir"id)
 
           engel2[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGorunmezlik Aldin.")
 
       }
 
       case 3: {
 
           engel2[id] = true
            cs_set_user_money
(id,cs_get_user_money(id) + 5000)
 
           renkli_yazi(id"!n[ !gCsAilesi !n] !tBedava !g5000 Dolar Aldim.")
 
       }
 
       case 4: {
 
           unammocuk[id] = true
            set_task
(30.0"UnammoBitir"id)
 
           engel2[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !g30 Sn Unammo Aldin.")
 
       }
 
       case 5: {
 
           give_item(id"weapon_m4a1")
 
           cs_set_user_bpammo(idCSW_M4A1200)
 
           m4a1[id] = true
            engel2
[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden M4A1 Aldin.")
 
       }
 
       case 6: {
 
           give_item(id"weapon_ak47")
 
           cs_set_user_bpammo(idCSW_AK47200)
 
           ak47[id] = true
            engel2
[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden AK47 Aldin.")
 
       }
 
       case 7: {
 
           give_item(id"weapon_mp5navy")
 
           cs_set_user_bpammo(idCSW_MP5NAVY200)
 
           mp5[id] = true
            engel2
[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden MP5 Aldin.")
 
       }
 
       case 8: {
 
           give_item(id"weapon_xm1014")
 
           cs_set_user_bpammo(idCSW_XM1014200)
 
           xm1014[id] = true
            engel2
[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden XM1014 Aldin.")
 
       }
 
       case 9: {
 
           give_item(id"weapon_deagle")
 
           cs_set_user_bpammo(idCSW_DEAGLE200)
 
           deagle[id] = true
            engel3
[id] = true
            renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gGolden DEAGLE Aldin.")
 
       }
 
   }
 
   return PLUGIN_HANDLED
}

public 
GorunmezlikBitir(id)
{
 
   set_entity_visibility(id1)
 
   renkli_yazi(id"!n[ !gCsAilesi !n] !tBedava !gGorunmezligin Bitti.")
}
public 
UnammoBitir(id)
{
 
   unammocuk[id] = false
    renkli_yazi
(id"!n[ !gCsAilesi !n] !tBedava !gUnammo !tBitti.")
}
public 
YeniTur()
{
 
   new players[32], inum;
 
   static Uid;
 
   get_players(playersinum"a")
 
   for(new iinumi++) {
 
       Uid players[i];
 
       Gorunmezlik[Uid] = -1
        engel2
[Uid] = false
        engel3
[Uid] = false
        engel4
[Uid] = false
        engel5
[Uid] = false
        engel6
[Uid] = false
        engel7
[Uid] = false
        deagle
[Uid] = false
        m4a1
[Uid] = false
        ak47
[Uid] = false
        mp5
[Uid] = false
        xm1014
[Uid] = false
        set_entity_visibility
(Uid1)
 
   }
}
public 
ElSonu() {
 
   new players[32], inum;
 
   static Uid;
 
   get_players(playersinum"a")
 
   for(new iinumi++) {
 
       Uid players[i];
 
       Gorunmezlik[Uid] = -1
        engel2
[Uid] = false
        engel3
[Uid] = false
        engel4
[Uid] = false
        engel5
[Uid] = false
        engel6
[Uid] = false
        engel7
[Uid] = false
        deagle
[Uid] = false
        m4a1
[Uid] = false
        ak47
[Uid] = false
        mp5
[Uid] = false
        xm1014
[Uid] = false
        set_entity_visibility
(Uid1)
 
   }
}
public 
FwdHamPlayerSpawn(id)
{
 
   deagle[id] = false
    m4a1
[id] = false
    ak47
[id] = false
    xm1014
[id] = false
    Gorunmezlik
[id] = -1
    set_entity_visibility
(id1)
}
public 
silahhasar(pevVictimpevInflictorpevAttackerFloat:flDamageiDmgBits
 
    if
(!(<= pevAttacker <= get_maxplayers())) {
 
       return HAM_HANDLED  
    
}
 
   if(!is_user_alive(pevAttacker)) {   
        return HAM_HANDLED
  
    
}
 
   if(deagle[pevAttacker]) {
 
       SetHamParamFloat(4flDamage DEAGLE_HASAR);
 
   }
 
   if(m4a1[pevAttacker]) {
 
       SetHamParamFloat(4flDamage M4A1_HASAR);
 
   }
 
   if(ak47[pevAttacker]) {
 
       SetHamParamFloat(4flDamage AK47_HASAR);
 
   }
 
   if(mp5[pevAttacker]) {
 
       SetHamParamFloat(4flDamage MP5_HASAR);
 
   }
 
   if(xm1014[pevAttacker]) {
 
       SetHamParamFloat(4flDamage XM1014_HASAR);
 
   }
 
   return PLUGIN_HANDLED
}
public 
HookCurWeapon(id
{
 
   new silahID read_data(2);
 
   
    switch
(get_user_team(id))
 
   {
 
       case 2: {
 
           if(deagle[id] && silahID == CSW_DEAGLE)
 
           {
 
               set_pev(idpev_viewmodel2VIEW_DEAGLEGOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_DEAGLEGOLD);
 
           }
 
           if(ak47[id] && silahID == CSW_AK47)
 
           {
 
               set_pev(idpev_viewmodel2VIEW_AK47GOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_AK47GOLD);
 
           }
 
           if(m4a1[id] && silahID == CSW_M4A1)
 
           {
 
               set_pev(idpev_viewmodel2VIEW_M4A1GOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_M4A1GOLD);
 
           }
 
           if(mp5[id] && silahID == CSW_MP5NAVY)
 
           {
 
               set_pev(idpev_viewmodel2VIEW_MP5GOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_MP5GOLD);
 
           }
 
           if(xm1014[id] && silahID == CSW_XM1014)
 
           {
 
               set_pev(idpev_viewmodel2VIEW_XM1014GOLD);  
                set_pev
(idpev_weaponmodel2PLAYER_XM1014GOLD);
 
           }
 
       }
 
   }
 
   return PLUGIN_HANDLED
}
//          renkli_yazi(id,"!n Yazini Yaz ")

/*============================================================
Stocks!
============================================================*/
stock renkli_yazi(const id, const input[], any:...)
{
    new 
count 1players[32];
    static 
msg[191];
    
vformat(msg190input3);
    
    
replace_all(msg190"!n""^x01"); // Default Renk(Sarı)
    
replace_all(msg190"!g""^x04"); // Yeşil Renk
    
replace_all(msg190"!t""^x03"); // Takım Renk( CT mavi , T kırmızı )
    
    
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[i]);
                
write_byte(players[i]);
                
write_string(msg);
                
message_end();
            }
            
        }
    }




CapitaLL | Zombie WarS |'TR
#9
Son Düzenleme: 21-04-2017, Saat: 16:17, Düzenleyen: ITenGriTR.
@Anil Abi Kodu Değiştirdim En Üsteki Senin Yaptigna Ayarladim Fakat
Vipmenu.sma(55) : error 020: invalid symbol name ""
Vipmenu.sma(192) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(193) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(200) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(206) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(207) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(215) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(221) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(222) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(229) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(235) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(236) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(244) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(250) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(251) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(260) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(266) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(267) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(276) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(282) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(283) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(292) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(298) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(299) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(308) : error 017: undefined symbol "renkli_yazi"
Vipmenu.sma(314) : error 017: undefined symbol "renkli_yazi"
Renkli Yaziyi Belirtmeme Ragmen Bu Hatayi Veriyor



#10
Kardeşim Sen Amxstudio dan yapıyosan sende sorun var çünkü pluginde hiçbir Hata Yok!




Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
Silinmiş Konu   | Sma Yüklenmiyor neden? ByBatuhanV55 1 311 29-11-2018, Saat: 09:34
Son Yorum: Kalipso22
Silinmiş Konu   | Lag Yapıyor Ateistİmam 11 1,037 13-08-2018, Saat: 14:02
Son Yorum: ITenGriTR
SEO Neden Gereklidir ? YasiNexuS 1 433 28-06-2018, Saat: 23:32
Son Yorum: D'n'S
Bu plugın neden calısmıyor ? Casus Joday 13 1,947 07-07-2017, Saat: 23:47
Son Yorum: Mariachi
BÖLÜM NEDEN PASİF KALDI ! Grinin 34 Tonu 1 614 07-07-2017, Saat: 23:47
Son Yorum: Mariachi

Task