⭐🚀 TkyNET | Blacklist ve Profesyonel DDoS Korumalı TeamSpeak 3 Sunucuları 🚀⭐
Sponsor Görsel
🌐 www.furiazm.com ⏰ 7/24 aktif Yönetim 💬 Discord.gg/furiaclancs 💰Ücretsiz Adminlik/Vip alımı 🌟 Türkiye’nin yeni en gelişmiş Zombie Plague sunucusu
Sponsor Görsel 2
SponsorSponsor

Cs 1.6 Unammo Eklentisi

RE: cs 1.6 unammo eklentisi
(04-09-2022, 21:18)Server_Tayo12 Adlı Kullanıcıdan Alıntı:
(04-09-2022, 19:24)canss Adlı Kullanıcıdan Alıntı: tamam pardon
ana eklentiyi atın
.smaanaeklent.sma(Dosya Boyutu: 341,43 KB | İndirme Sayısı: 3)
RE: cs 1.6 unammo eklentisi
(04-09-2022, 21:20)canss Adlı Kullanıcıdan Alıntı:
(04-09-2022, 21:18)Server_Tayo12 Adlı Kullanıcıdan Alıntı: ana eklentiyi atın
Umarım olmuştur

deneyin;
.smaanaeklent.sma(Dosya Boyutu: 341,52 KB | İndirme Sayısı: 2)
.smaReAPI_Unammo.sma(Dosya Boyutu: 1,07 KB | İndirme Sayısı: 2)
RE: cs 1.6 unammo eklentisi
(04-09-2022, 21:36)Server_Tayo12 Adlı Kullanıcıdan Alıntı: Umarım olmuştur

deneyin;
ReAPI_Unammo.sma(34) : error 001: expected token: "(", but found "!"
ReAPI_Unammo.sma(35) : error 001: expected token: ")", but found "return"
ReAPI_Unammo.sma(37) : warning 209: function "event_curweapon" should return a value
ReAPI_Unammo.sma(39) : error 078: function uses both "return" and "return "
ReAPI_Unammo.sma(50) : error 078: function uses both "return" and "return "
ReAPI_Unammo.sma(55) : error 078: function uses both "return" and "return "
RE: cs 1.6 unammo eklentisi
(04-09-2022, 21:42)canss Adlı Kullanıcıdan Alıntı:
(04-09-2022, 21:36)Server_Tayo12 Adlı Kullanıcıdan Alıntı: Umarım olmuştur

deneyin;
ReAPI_Unammo.sma(34) : error 001: expected token: "(", but found "!"
ReAPI_Unammo.sma(35) : error 001: expected token: ")", but found "return"
ReAPI_Unammo.sma(37) : warning 209: function "event_curweapon" should return a value
ReAPI_Unammo.sma(39) : error 078: function uses both "return" and "return "
ReAPI_Unammo.sma(50) : error 078: function uses both "return" and "return "
ReAPI_Unammo.sma(55) : error 078: function uses both "return" and "return "
PHP Kod:
#include <amxmodx>
#include <reapi>

new antiextraunammo

public plugin_init() {
    
register_plugin("Unammo", "1.0", "PurposeLess");

    
register_event("CurWeapon", "event_curweapon", "be", "1=1", "3=1");
}

public 
plugin_natives()
{
        register_native("antiunammoextra","unammo",1)
}

public 
unammo(id, num)
{
    switch(num)
    {
       case 0:
       {
            antiextraunammo = false
       
}
       case 1:
       {
            antiextraunammo = true
       
}
    }
}

public 
event_curweapon(id)
{ 
    if!(antiextraunammo == true)
    return PLUGIN_HANDLED;

    if(~get_user_flags(id) & ADMIN_BAN)
    {
        return PLUGIN_HANDLED;
    }

    static const g_maxclipammo[] = {
        0,13,0,10,0,7,0,30,30,0,15,20,25,30,35,25,
        12,20,10,30,100,8,30,30,20,0,7,30,30,0,50
    
};

    new weapon = read_data(2);
    if(g_maxclipammo[weapon] < 0)
    {
        return PLUGIN_CONTINUE;
    }

    new activeitem = get_member(id, m_pActiveItem)
    set_member(activeitem, m_Weapon_iClip, g_maxclipammo[weapon]);
    return PLUGIN_CONTINUE;
} 
RE: cs 1.6 unammo eklentisi
(04-09-2022, 21:42)Server_Tayo12 Adlı Kullanıcıdan Alıntı:
(04-09-2022, 21:42)canss Adlı Kullanıcıdan Alıntı: ReAPI_Unammo.sma(34) : error 001: expected token: "(", but found "!"
ReAPI_Unammo.sma(35) : error 001: expected token: ")", but found "return"
ReAPI_Unammo.sma(37) : warning 209: function "event_curweapon" should return a value
ReAPI_Unammo.sma(39) : error 078: function uses both "return" and "return "
ReAPI_Unammo.sma(50) : error 078: function uses both "return" and "return "
ReAPI_Unammo.sma(55) : error 078: function uses both "return" and "return "
PHP Kod:
#include <amxmodx>
#include <reapi>

new antiextraunammo

public plugin_init() {
    
register_plugin("Unammo", "1.0", "PurposeLess");

    
register_event("CurWeapon", "event_curweapon", "be", "1=1", "3=1");
}

public 
plugin_natives()
{
        register_native("antiunammoextra","unammo",1)
}

public 
unammo(id, num)
{
    switch(num)
    {
       case 0:
       {
            antiextraunammo = false
       
}
       case 1:
       {
            antiextraunammo = true
       
}
    }
}

public 
event_curweapon(id)
{ 
    if!(antiextraunammo == true)
    return PLUGIN_HANDLED;

    if(~get_user_flags(id) & ADMIN_BAN)
    {
        return PLUGIN_HANDLED;
    }

    static const g_maxclipammo[] = {
        0,13,0,10,0,7,0,30,30,0,15,20,25,30,35,25,
        12,20,10,30,100,8,30,30,20,0,7,30,30,0,50
    
};

    new weapon = read_data(2);
    if(g_maxclipammo[weapon] < 0)
    {
        return PLUGIN_CONTINUE;
    }

    new activeitem = get_member(id, m_pActiveItem)
    set_member(activeitem, m_Weapon_iClip, g_maxclipammo[weapon]);
    return PLUGIN_CONTINUE;
} 
bide bunun adminban özel olması lazım

ReAPI_Unammo.sma(34) : error 001: expected token: "(", but found "!"
ReAPI_Unammo.sma(35) : error 001: expected token: ")", but found "return"


bu 2 hata verdi
Son Düzenleme: 04-09-2022, 21:44, Düzenleyen: canss
RE: cs 1.6 unammo eklentisi
(04-09-2022, 21:43)canss Adlı Kullanıcıdan Alıntı:
(04-09-2022, 21:42)Server_Tayo12 Adlı Kullanıcıdan Alıntı:
PHP Kod:
#include <amxmodx>
#include <reapi>

new antiextraunammo

public plugin_init() {
    
register_plugin("Unammo", "1.0", "PurposeLess");

    
register_event("CurWeapon", "event_curweapon", "be", "1=1", "3=1");
}

public 
plugin_natives()
{
        register_native("antiunammoextra","unammo",1)
}

public 
unammo(id, num)
{
    switch(num)
    {
       case 0:
       {
            antiextraunammo = false
       
}
       case 1:
       {
            antiextraunammo = true
       
}
    }
}

public 
event_curweapon(id)
{ 
    if!(antiextraunammo == true)
    return PLUGIN_HANDLED;

    if(~get_user_flags(id) & ADMIN_BAN)
    {
        return PLUGIN_HANDLED;
    }

    static const g_maxclipammo[] = {
        0,13,0,10,0,7,0,30,30,0,15,20,25,30,35,25,
        12,20,10,30,100,8,30,30,20,0,7,30,30,0,50
    
};

    new weapon = read_data(2);
    if(g_maxclipammo[weapon] < 0)
    {
        return PLUGIN_CONTINUE;
    }

    new activeitem = get_member(id, m_pActiveItem)
    set_member(activeitem, m_Weapon_iClip, g_maxclipammo[weapon]);
    return PLUGIN_CONTINUE;
} 
bide bunun adminban özel olması lazım

ReAPI_Unammo.sma(34) : error 001: expected token: "(", but found "!"
ReAPI_Unammo.sma(35) : error 001: expected token: ")", but found "return"


bu 2 hata verdi
PHP Kod:
#include <amxmodx>
#include <reapi>

new antiextraunammo

public plugin_init() {
    register_plugin("Unammo", "1.0", "PurposeLess");

    register_event("CurWeapon", "event_curweapon", "be", "1=1", "3=1");
}

public 
plugin_natives()
{
        register_native("antiunammoextra","unammo",1)
}

public 
unammo(id, num)
{
    switch(num)
    {
       case 0:
       {
            antiextraunammo = false
       
}
       case 1:
       {
            antiextraunammo = true
       
}
    }
}

public 
event_curweapon(id)
{ 
    if(!antiextraunammo == true)
    return PLUGIN_HANDLED;

    if(~get_user_flags(id) & ADMIN_BAN)
    {
        return PLUGIN_HANDLED;
    }

    static const g_maxclipammo[] = {
        0,13,0,10,0,7,0,30,30,0,15,20,25,30,35,25,
        12,20,10,30,100,8,30,30,20,0,7,30,30,0,50
    
};

    new weapon = read_data(2);
    if(g_maxclipammo[weapon] < 0)
    {
        return PLUGIN_CONTINUE;
    }

    new activeitem = get_member(id, m_pActiveItem)
    set_member(activeitem, m_Weapon_iClip, g_maxclipammo[weapon]);
    return PLUGIN_CONTINUE;
} 
RE: cs 1.6 unammo eklentisi
(04-09-2022, 21:48)Server_Tayo12 Adlı Kullanıcıdan Alıntı:
(04-09-2022, 21:43)canss Adlı Kullanıcıdan Alıntı: bide bunun adminban özel olması lazım

ReAPI_Unammo.sma(34) : error 001: expected token: "(", but found "!"
ReAPI_Unammo.sma(35) : error 001: expected token: ")", but found "return"


bu 2 hata verdi
PHP Kod:
#include <amxmodx>
#include <reapi>

new antiextraunammo

public plugin_init() {
    register_plugin("Unammo", "1.0", "PurposeLess");

    register_event("CurWeapon", "event_curweapon", "be", "1=1", "3=1");
}

public 
plugin_natives()
{
        register_native("antiunammoextra","unammo",1)
}

public 
unammo(id, num)
{
    switch(num)
    {
       case 0:
       {
            antiextraunammo = false
       
}
       case 1:
       {
            antiextraunammo = true
       
}
    }
}

public 
event_curweapon(id)
{ 
    if(!antiextraunammo == true)
    return PLUGIN_HANDLED;

    if(~get_user_flags(id) & ADMIN_BAN)
    {
        return PLUGIN_HANDLED;
    }

    static const g_maxclipammo[] = {
        0,13,0,10,0,7,0,30,30,0,15,20,25,30,35,25,
        12,20,10,30,100,8,30,30,20,0,7,30,30,0,50
    
};

    new weapon = read_data(2);
    if(g_maxclipammo[weapon] < 0)
    {
        return PLUGIN_CONTINUE;
    }

    new activeitem = get_member(id, m_pActiveItem)
    set_member(activeitem, m_Weapon_iClip, g_maxclipammo[weapon]);
    return PLUGIN_CONTINUE;
} 
sekmeme çalışmamış
RE: cs 1.6 unammo eklentisi
(04-09-2022, 21:51)canss Adlı Kullanıcıdan Alıntı:
(04-09-2022, 21:48)Server_Tayo12 Adlı Kullanıcıdan Alıntı:
PHP Kod:
#include <amxmodx>
#include <reapi>

new antiextraunammo

public plugin_init() {
    register_plugin("Unammo", "1.0", "PurposeLess");

    register_event("CurWeapon", "event_curweapon", "be", "1=1", "3=1");
}

public 
plugin_natives()
{
        register_native("antiunammoextra","unammo",1)
}

public 
unammo(id, num)
{
    switch(num)
    {
       case 0:
       {
            antiextraunammo = false
       
}
       case 1:
       {
            antiextraunammo = true
       
}
    }
}

public 
event_curweapon(id)
{ 
    if(!antiextraunammo == true)
    return PLUGIN_HANDLED;

    if(~get_user_flags(id) & ADMIN_BAN)
    {
        return PLUGIN_HANDLED;
    }

    static const g_maxclipammo[] = {
        0,13,0,10,0,7,0,30,30,0,15,20,25,30,35,25,
        12,20,10,30,100,8,30,30,20,0,7,30,30,0,50
    
};

    new weapon = read_data(2);
    if(g_maxclipammo[weapon] < 0)
    {
        return PLUGIN_CONTINUE;
    }

    new activeitem = get_member(id, m_pActiveItem)
    set_member(activeitem, m_Weapon_iClip, g_maxclipammo[weapon]);
    return PLUGIN_CONTINUE;
} 
sekmeme çalışmamış
Deneyin
.smaanaeklent (1).sma(Dosya Boyutu: 341,43 KB | İndirme Sayısı: 1)
.smaReAPI_Unammo.sma(Dosya Boyutu: 1,35 KB | İndirme Sayısı: 1)
RE: cs 1.6 unammo eklentisi
İstek konusu, @"Server_Tayo12" adlı kullanıcı tarafından 10 saat içinde çözülmüştür.
İsteği çözdüğü için Server_Tayo12 Adlı kullanıcıya 1 rep puanı ve 1 yardım etme puanı otomatik olarak verilmiştir.
Server_Tayo12 Adlı kullanıcı sizin dışınızda toplam 48 kişiye yardım etmiştir.

Herhangi bir konuda hata olduğunu düşünüyorsanız destek sistemi üzerinden iletişim kurabilirsiniz.

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

Yorum yapmak için üye olmanız gerekiyor

ya da
Konuyu Okuyanlar: 1 Ziyaretçi