⭐🚀 TkyNET | Blacklist ve Profesyonel DDoS Korumalı TeamSpeak 3 Sunucuları 🚀⭐
Sponsor Görsel
🇹🇷 TR Lokasyon | 🛡️ Gelişmiş DDoS Koruması | ⚡ Düşük Ping | 🎧 Kesintisiz TS3 | Hostlar
Sponsor Görsel 2
SponsorSponsor

Konu

#1
matematik sorunu sadece T cevap verebilsin,CT o soruya cevap verdiğinde ona özel say'de bu yazı yazsın:Sen CT'sin Napacan Mgyi!
yardımcı olurmusunuz?
.smamatquizwa.sma(Dosya Boyutu: 2,51 KB | İndirme Sayısı: 4)
Discord : mejaxx Steam : mejaxbey
#2
(22-03-2025, 01:15)mejaxamaa Adlı Kullanıcıdan Alıntı: matematik sorunu sadece T cevap verebilsin,CT o soruya cevap verdiğinde ona özel say'de bu yazı yazsın:Sen CT'sin Napacan Mgyi!
yardımcı olurmusunuz?
Kod:
#include <amxmodx>
#include <amxmisc>
#include <jail>
#include <cstrike>

#define PLUGIN "Matematik Quiz"
#define VERSION "1.0"
#define AUTHOR "aLeX"

new gAnswer, odul, aralik;
new bool:cevaplar;

public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_clcmd("say", "hooksay");
    odul = register_cvar("tngclan_mat_odul", "3");
    aralik = register_cvar("tngclan_aralik", "80.0");
   
    set_task(30.0, "sorusor");
}

public hooksay(id) {
    if(cs_get_user_team(id) == CS_TEAM_CT) {
        client_printc(id, "!gQuiz: !nSen CT'sin Napacan Mgyi!");
        return PLUGIN_CONTINUE;
    }
   
    new say[50], stringim[8];
    static szname[33];
    read_args(say, charsmax(say));
    remove_quotes(say);
    num_to_str(gAnswer, stringim, 7);
   
    if(equali(say, stringim) && !cevaplar) {
        get_user_name(id, szname, charsmax(szname));
        client_printc(0, "!gQuiz: !t%s !nsoruyu dogru bildi ve !t%i TL !nkazandi.", szname, get_pcvar_num(odul));
        client_cmd(id, "spk ^"events/enemy_died^"")
        client_printc(0, "!nYeni soru %i saniye icerisinde hazirlanacak.", get_pcvar_num(aralik));
        jb_set_user_packs(id, jb_get_user_packs(id) + get_pcvar_num(odul));
        remove_task(1051);
        set_task(get_pcvar_float(aralik), "sorusor", 1050);
        cevaplar = true;
    }
   
    return PLUGIN_CONTINUE;
}

public surebitti() {
    set_task(get_pcvar_float(aralik), "sorusor", 1050);
    cevaplar = true;
}

public sorusor() {
    cevaplar = false;
    new a = random_num(1, 4);
   
    switch(a) {
        case 1: {
            new i = random_num(1, 50);
            new l = random_num(1, 50);
            client_printc(0, "!gSORU: !t%i + %i = ?", i, l);
            gAnswer = i + l;
        }
        case 2: {
            new i = random_num(1, 10);
            new l = random_num(1, 10);
            client_printc(0, "!gSORU: !t%i x %i = ?", i, l);
            gAnswer = i * l;
        }
        case 3: {
            gAnswer = random_num(1, 10);
            new l = random_num(1, 20);
            client_printc(0, "!gSORU: !t%i : %i = ?", gAnswer*l, l);
        }
        case 4: {
            new i = random_num(50, 100);
            new l = random_num(1, 50);
            client_printc(0, "!gSORU: !t%i - %i = ?", i, l);
            gAnswer = i - l;
        }
    }
   
    set_task(get_pcvar_float(aralik), "surebitti", 1051);
}

stock client_printc(const id, const input[], any:...) {
    new count = 1, players[32];
    static msg[191];
    vformat(msg, 190, input, 3);
   
    replace_all(msg, 190, "!n", "^x01");
    replace_all(msg, 190, "!g", "^x04");     
    replace_all(msg, 190, "!t", "^x03");
   
    if (id) players[0] = id; else get_players(players, count, "ch"); {
        for (new i = 0; i < count; i++) {
            if (is_user_connected(players[i])) {
                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
                write_byte(players[i]);
                write_string(msg);
                message_end();
            }
        }
    }
}

95.173.173.29    |   ts3 ngpro   |  Nationals Gaming | Since 2014
#3
(22-03-2025, 01:15)mejaxamaa Adlı Kullanıcıdan Alıntı: matematik sorunu sadece T cevap verebilsin,CT o soruya cevap verdiğinde ona özel say'de bu yazı yazsın:Sen CT'sin Napacan Mgyi!
yardımcı olurmusunuz?
Konunuz Çözüldüyse bildirmeyi unutmayınız.
| Return All Starz | Valorant Mod | 95.173.173.31 |
#4
(22-03-2025, 13:51)MehmetReis- Adlı Kullanıcıdan Alıntı:
(22-03-2025, 01:15)mejaxamaa Adlı Kullanıcıdan Alıntı: matematik sorunu sadece T cevap verebilsin,CT o soruya cevap verdiğinde ona özel say'de bu yazı yazsın:Sen CT'sin Napacan Mgyi!
yardımcı olurmusunuz?
Kod:
#include <amxmodx>
#include <amxmisc>
#include <jail>
#include <cstrike>

#define PLUGIN "Matematik Quiz"
#define VERSION "1.0"
#define AUTHOR "aLeX"

new gAnswer, odul, aralik;
new bool:cevaplar;

public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_clcmd("say", "hooksay");
    odul = register_cvar("tngclan_mat_odul", "3");
    aralik = register_cvar("tngclan_aralik", "80.0");
   
    set_task(30.0, "sorusor");
}

public hooksay(id) {
    if(cs_get_user_team(id) == CS_TEAM_CT) {
        client_printc(id, "!gQuiz: !nSen CT'sin Napacan Mgyi!");
        return PLUGIN_CONTINUE;
    }
   
    new say[50], stringim[8];
    static szname[33];
    read_args(say, charsmax(say));
    remove_quotes(say);
    num_to_str(gAnswer, stringim, 7);
   
    if(equali(say, stringim) && !cevaplar) {
        get_user_name(id, szname, charsmax(szname));
        client_printc(0, "!gQuiz: !t%s !nsoruyu dogru bildi ve !t%i TL !nkazandi.", szname, get_pcvar_num(odul));
        client_cmd(id, "spk ^"events/enemy_died^"")
        client_printc(0, "!nYeni soru %i saniye icerisinde hazirlanacak.", get_pcvar_num(aralik));
        jb_set_user_packs(id, jb_get_user_packs(id) + get_pcvar_num(odul));
        remove_task(1051);
        set_task(get_pcvar_float(aralik), "sorusor", 1050);
        cevaplar = true;
    }
   
    return PLUGIN_CONTINUE;
}

public surebitti() {
    set_task(get_pcvar_float(aralik), "sorusor", 1050);
    cevaplar = true;
}

public sorusor() {
    cevaplar = false;
    new a = random_num(1, 4);
   
    switch(a) {
        case 1: {
            new i = random_num(1, 50);
            new l = random_num(1, 50);
            client_printc(0, "!gSORU: !t%i + %i = ?", i, l);
            gAnswer = i + l;
        }
        case 2: {
            new i = random_num(1, 10);
            new l = random_num(1, 10);
            client_printc(0, "!gSORU: !t%i x %i = ?", i, l);
            gAnswer = i * l;
        }
        case 3: {
            gAnswer = random_num(1, 10);
            new l = random_num(1, 20);
            client_printc(0, "!gSORU: !t%i : %i = ?", gAnswer*l, l);
        }
        case 4: {
            new i = random_num(50, 100);
            new l = random_num(1, 50);
            client_printc(0, "!gSORU: !t%i - %i = ?", i, l);
            gAnswer = i - l;
        }
    }
   
    set_task(get_pcvar_float(aralik), "surebitti", 1051);
}

stock client_printc(const id, const input[], any:...) {
    new count = 1, players[32];
    static msg[191];
    vformat(msg, 190, input, 3);
   
    replace_all(msg, 190, "!n", "^x01");
    replace_all(msg, 190, "!g", "^x04");    
    replace_all(msg, 190, "!t", "^x03");
   
    if (id) players[0] = id; else get_players(players, count, "ch"); {
        for (new i = 0; i < count; i++) {
            if (is_user_connected(players[i])) {
                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
                write_byte(players[i]);
                write_string(msg);
                message_end();
            }
        }
    }
}

Error: Compound statement not closed at the end of file on line 104
Discord : mejaxx Steam : mejaxbey
#5
(23-03-2025, 03:00)mejaxamaa Adlı Kullanıcıdan Alıntı:
(22-03-2025, 13:51)MehmetReis- Adlı Kullanıcıdan Alıntı:
Kod:
#include <amxmodx>
#include <amxmisc>
#include <jail>
#include <cstrike>

#define PLUGIN "Matematik Quiz"
#define VERSION "1.0"
#define AUTHOR "aLeX"

new gAnswer, odul, aralik;
new bool:cevaplar;

public plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_clcmd("say", "hooksay");
    odul = register_cvar("tngclan_mat_odul", "3");
    aralik = register_cvar("tngclan_aralik", "80.0");
   
    set_task(30.0, "sorusor");
}

public hooksay(id) {
    if(cs_get_user_team(id) == CS_TEAM_CT) {
        client_printc(id, "!gQuiz: !nSen CT'sin Napacan Mgyi!");
        return PLUGIN_CONTINUE;
    }
   
    new say[50], stringim[8];
    static szname[33];
    read_args(say, charsmax(say));
    remove_quotes(say);
    num_to_str(gAnswer, stringim, 7);
   
    if(equali(say, stringim) && !cevaplar) {
        get_user_name(id, szname, charsmax(szname));
        client_printc(0, "!gQuiz: !t%s !nsoruyu dogru bildi ve !t%i TL !nkazandi.", szname, get_pcvar_num(odul));
        client_cmd(id, "spk ^"events/enemy_died^"")
        client_printc(0, "!nYeni soru %i saniye icerisinde hazirlanacak.", get_pcvar_num(aralik));
        jb_set_user_packs(id, jb_get_user_packs(id) + get_pcvar_num(odul));
        remove_task(1051);
        set_task(get_pcvar_float(aralik), "sorusor", 1050);
        cevaplar = true;
    }
   
    return PLUGIN_CONTINUE;
}

public surebitti() {
    set_task(get_pcvar_float(aralik), "sorusor", 1050);
    cevaplar = true;
}

public sorusor() {
    cevaplar = false;
    new a = random_num(1, 4);
   
    switch(a) {
        case 1: {
            new i = random_num(1, 50);
            new l = random_num(1, 50);
            client_printc(0, "!gSORU: !t%i + %i = ?", i, l);
            gAnswer = i + l;
        }
        case 2: {
            new i = random_num(1, 10);
            new l = random_num(1, 10);
            client_printc(0, "!gSORU: !t%i x %i = ?", i, l);
            gAnswer = i * l;
        }
        case 3: {
            gAnswer = random_num(1, 10);
            new l = random_num(1, 20);
            client_printc(0, "!gSORU: !t%i : %i = ?", gAnswer*l, l);
        }
        case 4: {
            new i = random_num(50, 100);
            new l = random_num(1, 50);
            client_printc(0, "!gSORU: !t%i - %i = ?", i, l);
            gAnswer = i - l;
        }
    }
   
    set_task(get_pcvar_float(aralik), "surebitti", 1051);
}

stock client_printc(const id, const input[], any:...) {
    new count = 1, players[32];
    static msg[191];
    vformat(msg, 190, input, 3);
   
    replace_all(msg, 190, "!n", "^x01");
    replace_all(msg, 190, "!g", "^x04");    
    replace_all(msg, 190, "!t", "^x03");
   
    if (id) players[0] = id; else get_players(players, count, "ch"); {
        for (new i = 0; i < count; i++) {
            if (is_user_connected(players[i])) {
                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
                write_byte(players[i]);
                write_string(msg);
                message_end();
            }
        }
    }
}

Error: Compound statement not closed at the end of file on line 104

kopyalarken hatalı kopyalamışsınız.
https://www.webailesi.com/ds-matquizz-14920.sma
buyrun burdan indirebilirsiniz.
Kod:
AMX Mod X Compiler 1.10.0.5392
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

Header size:            836 bytes
Code size:             4176 bytes
Data size:             2756 bytes
Stack/heap size:      16384 bytes
Total requirements:   24152 bytes
Done.

95.173.173.29    |   ts3 ngpro   |  Nationals Gaming | Since 2014
#6
(23-03-2025, 03:30)MehmetReis- Adlı Kullanıcıdan Alıntı:
(23-03-2025, 03:00)mejaxamaa Adlı Kullanıcıdan Alıntı: Error: Compound statement not closed at the end of file on line 104

kopyalarken hatalı kopyalamışsınız.
https://www.webailesi.com/ds-matquizz-14920.sma
buyrun burdan indirebilirsiniz.
Kod:
AMX Mod X Compiler 1.10.0.5392
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

Header size:            836 bytes
Code size:             4176 bytes
Data size:             2756 bytes
Stack/heap size:      16384 bytes
Total requirements:   24152 bytes
Done.

teşekkürler
Discord : mejaxx Steam : mejaxbey
#7
İstek konusu, @MehmetReis- adlı kullanıcı tarafından 1 gün içinde çözülmüştür.
İsteği çözdüğü için MehmetReis- Adlı kullanıcıya 1 rep puanı ve 1 yardım etme puanı otomatik olarak verilmiştir.
MehmetReis- Adlı kullanıcı sizin dışınızda toplam 15 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