[Plugin] Welcome Message
Page 1 of 2 12 LastLast
Results 1 to 50 of 68

Thread: Welcome Message

  1. #1
    Senior Member Array
    Join Date
    Aug 2009
    Location
    Beograd
    Age
    25
    Karma
    23

    Default Welcome Message

    Da ne bude da nisam svoj postavio nijedan plugin u ovoj sekciji..
    evo jedan jednostavan plugin sto sam napravio u jednom topicu pre oko 5 meseci

    Radi se o pluginu koji kada vam igrac udje na server ispise poruku


    PHP Code:
    /*---------------------------------------------------------------------------\
     |                  Welcome Message (v1.2)  © 2011                           |
     |                                                                           |
     |              Plugin by Dusan (Uncut*) Stojadinovic                        |
     |                                                                           |
     |     Made 28. III 2011.             Contact - uncut.wz@gmail.com           |
     \--------------------------------------------------------------------------*/


    #include <amxmodx>
    #include <amxmisc>
    #include <colorchat>

    #define PLUGIN "Welcome msg"
    #define VERSION "1.2"
    #define AUTHOR "Uncut*"


    new gprefixautoserver


    public plugin_init() {
        
        
    register_plugin(PLUGINVERSIONAUTHOR)
        
    register_cvar("welcomemsg""1.2" , (FCVAR_SERVER|FCVAR_SPONLY))
        
    register_cvar("uncut""1.0" , (FCVAR_SERVER|FCVAR_SPONLY))

        
    gprefix register_cvar("amx_connect_prefix""Server")
        
    auto register_cvar("amx_connect_auto""1")
        
    server register_cvar("amx_connect_server""Ime servera")

     
    }
    public 
    client_putinserver(id){
        
    set_task(2.0"poruka"id__"a"1)
    }
    public 
    poruka(id){
        new 
    Ime[32]
        
    get_user_name(idIme[id], 31)
            
        static 
    prefix[10]
        
    get_pcvar_string(gprefixprefix9)
            
        new 
    hostname[55]
        
    get_pcvar_string((get_cvar_pointer("hostname")), hostname54)
            
        new 
    pserver[41]
        
    get_pcvar_string(serverpserver40)
            
            
        if(
    get_pcvar_num(auto) == 0)
            
    ColorChat(id ,RED"^x04[%s]^x01 Pozdrav ^x03 %s ^x01 , Dobrodosao na ^x03 %s ^x01 | ^x04Uzivaj u igri ;)^x01"prefixIme[id], pserver )
        else
            
    ColorChat(id ,RED"^x04[%s]^x01 Pozdrav ^x03 %s ^x01 , Dobrodosao na ^x03 %s ^x01 | ^x04Uzivaj u igri ;)^x01"prefixIme[id], hostname )
            
            
        return 
    PLUGIN_HANDLED


    amx_connect_prefix "Prefix" - Namestate prefix poruke
    amx_connect_auto "0" - Ako je 0 onda sami stavljate ime servera, ako je 1 onda sam stavi hostname
    amx_connect_server "Ime servera" - Ime servera ako je auto stavljen na 0

    Download:
    (sacekajte 5sec i stisnite "skip")
    plugins.kgb-hosting.com


    Changelog:

    v1.0 - Prvo izdanje
    v1.2 - Dodati cvarovi kako bi vlasnici mogli samo da stavi zeljeno ime servera u poruci
    Last edited by skakac.33; 17-01-2012 at 22:27. Reason: adf.ly

  2. #2
    Senior Member Array
    Join Date
    Aug 2010
    Location
    SD
    Age
    27
    Karma
    24

    Default

    Ovo moze da se namesti u amx_super.cfg
    Al aj svejedno, karma+
    Last edited by Hell_Boy^; 12-02-2011 at 22:17.
    GG

  3. #3
    Senior Member Array
    Join Date
    Aug 2010
    Location
    Nis, Cair, Jamajka
    Karma
    15

    Default

    delete this

  4. #4
    Senior Member Array
    Join Date
    Dec 2009
    Age
    24
    Karma
    13

    Default

    Ovaj plugin sam trazio prosle godine za Server, kad sam igrao KZ video sam to i onda sam trazio ali nisam nasao brv

  5. #5
    Senior Member Array
    Join Date
    Aug 2009
    Location
    Beograd
    Age
    25
    Karma
    23

    Default

    Quote Originally Posted by JocA1 View Post
    delete this
    imas neki problem?

  6. #6
    Senior Member Array
    Join Date
    Aug 2010
    Location
    Nis, Cair, Jamajka
    Karma
    15

    Default

    Quote Originally Posted by skakac.33 View Post
    imas neki problem?
    imao, ovo me bunilo: get_user_name(id, Ime[id], 31).

    ('delete this' se nije odnosoli na brisanje ove teme)

  7. #7
    Senior Member Array
    Join Date
    Aug 2010
    Location
    Bosna i Hercegovina
    Age
    24
    Karma
    26

    Default

    k+ , definitivno ide na moj srw

  8. #8
    Senior Member Array
    Join Date
    Jul 2010
    Location
    Srbija
    Karma
    15

    Default

    extra stvar stavicu na server
    ;)

  9. #9
    Senior Member Array
    Join Date
    May 2010
    Location
    Valjevo
    Karma
    27

    Default

    Quote Originally Posted by JocA1 View Post
    imao, ovo me bunilo: get_user_name(id, Ime[id], 31).

    ('delete this' se nije odnosoli na brisanje ove teme)
    da, nisi trebao da stavljas [id] ali nema veze, vazno je da radi
    Radim plugine za sitne pare. Kontakt e-mail ili skype.

  10. #10
    Senior Member Array
    Join Date
    Mar 2010
    Karma
    12

    Default

    moze neko da mi upload amxx nece da mi compile ?

  11. #11
    Senior Member Array
    Join Date
    Mar 2010
    Location
    Srbija, Niš (okolina)
    Age
    24
    Karma
    24

    Default

    Da, nece ni meni
    Edit : Hajde neko da da .amxx ili mi nek kaze u cemu je problem probam da kompilujem i izbaci ovo
    Your plugin failed to compile! Read the errors below:
    Welcome to the AMX Mod X 1.8.1-300 Compiler.
    Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

    /tmp/textf9LdsQ.sma(5) : fatal error 100: cannot read from file: "colorchat"

    Compilation aborted.
    1 Error.
    Last edited by sanimare; 13-02-2011 at 19:59.
    - oNLine Prodaja -

    - CS COMPLETE [CS 1.6+CSS+CS:GO] -
    [CS:GO sa prime nalogom]
    1200 RSD (500 dinara manje na kupljenih 5 kom.)
    + Company of Heroes 2
    Dostupno: 7 komada

    - CS 1.6 -
    300 RSD - stara cena 400
    Dostupno: 25 komada

    (SAFE) Kupovina je sigurna.

    Sređujem servere povoljno
    Public, Deathmatch, DeathRun, Snow, Fun,
    COD:MW 1/2/3, SoccerJam, AWP DM
    ReHLDS + antiWH, antiAim, antiSpeed



  12. #12
    Senior Member Array
    Join Date
    Aug 2009
    Location
    Beograd
    Age
    25
    Karma
    23

    Default

    Niste dodali colorchat.inc u vas lokalni include folder..
    sacu stavim amxx

  13. #13
    Senior Member Array
    Join Date
    Mar 2010
    Location
    Srbija, Niš (okolina)
    Age
    24
    Karma
    24

    Default

    U kakav folder, nece uopste da compiluje, a ja hocu sa mojim textom i objasni mi to sto nece
    U kakav folder, sad kad ti napravis amxx necu moci da stavim svoj text .....
    Last edited by sanimare; 13-02-2011 at 20:20.
    - oNLine Prodaja -

    - CS COMPLETE [CS 1.6+CSS+CS:GO] -
    [CS:GO sa prime nalogom]
    1200 RSD (500 dinara manje na kupljenih 5 kom.)
    + Company of Heroes 2
    Dostupno: 7 komada

    - CS 1.6 -
    300 RSD - stara cena 400
    Dostupno: 25 komada

    (SAFE) Kupovina je sigurna.

    Sređujem servere povoljno
    Public, Deathmatch, DeathRun, Snow, Fun,
    COD:MW 1/2/3, SoccerJam, AWP DM
    ReHLDS + antiWH, antiAim, antiSpeed



  14. #14
    Senior Member Array
    Join Date
    Jun 2010
    Location
    Тамо далеко
    Age
    25
    Karma
    0

    Default

    Aj daj amxx..
    па као ми за њу живи сваки дан

  15. #15
    Senior Member Array
    Join Date
    Jun 2010
    Location
    Тамо далеко
    Age
    25
    Karma
    0

    Default

    moze li neko da postavi amxx?
    па као ми за њу живи сваки дан

  16. #16
    Senior Member Array
    Join Date
    Sep 2009
    Location
    necu da ti kazem celavi
    Age
    25
    Karma
    21
    pobedio:

    Quote Originally Posted by turshija View Post
    Ljudima je postao vazniji veci rank nego penis.
    Wroy je car!!!

  17. #17
    Senior Member Array
    Join Date
    Jun 2010
    Location
    Тамо далеко
    Age
    25
    Karma
    0

    Default

    Hvala markomunja.
    па као ми за њу живи сваки дан

  18. #18
    Senior Member Array
    Join Date
    Aug 2009
    Location
    Beograd
    Age
    25
    Karma
    23

    Default

    evo stavio sam .amxx

  19. #19
    Senior Member Array
    Join Date
    Jun 2010
    Location
    Тамо далеко
    Age
    25
    Karma
    0

    Default

    Jeste vi proverili taj plugin? Stavio sam ovo sto mi je dao markomunja i posle jedne mape down server.
    па као ми за њу живи сваки дан

  20. #20
    Senior Member Array
    Join Date
    Sep 2009
    Location
    necu da ti kazem celavi
    Age
    25
    Karma
    21

    Default

    ja sam samo kompailirao plugin koji je skakac.33 stavio...
    pobedio:

    Quote Originally Posted by turshija View Post
    Ljudima je postao vazniji veci rank nego penis.
    Wroy je car!!!

  21. #21
    Senior Member Array
    Join Date
    Aug 2009
    Location
    Beograd
    Age
    25
    Karma
    23

    Default

    Quote Originally Posted by ShImI View Post
    Jeste vi proverili taj plugin? Stavio sam ovo sto mi je dao markomunja i posle jedne mape down server.
    ne verujem da bi on nesto uradio
    probaj ovaj amxx iz prvog posta

  22. #22
    Junior Member Array
    Join Date
    Aug 2010
    Location
    Novi Sad
    Karma
    0

    Default

    Extra stvar Bravo Uncut

  23. #23
    punisher1389
    Guest

    Default

    Quote Originally Posted by skakac.33 View Post
    ne verujem da bi on nesto uradio
    probaj ovaj amxx iz prvog posta
    Mozes da dodas cvarove koji ce se upisivati u server ili amxx.cfg da ne mora svako zasebno da kompajlira plugin vec samo dl + cvarovi

  24. #24
    Junior Member Array
    Join Date
    Feb 2011
    Karma
    0

    Default

    e jel bi mogao neko da mi objasni kako se ovo ubacuje na srw?? uradio sam isto kao i kod ostalih pluginova ali ovo nesto nece

  25. #25
    Senior Member Array
    Join Date
    Aug 2009
    Location
    Beograd
    Age
    25
    Karma
    23

    Default

    Quote Originally Posted by punisher1389 View Post
    Mozes da dodas cvarove koji ce se upisivati u server ili amxx.cfg da ne mora svako zasebno da kompajlira plugin vec samo dl + cvarovi
    ne znam sta bi oni jos menjali , sam plugin nadje ime servera ako si na to misleo

    Quote Originally Posted by Pepili View Post
    e jel bi mogao neko da mi objasni kako se ovo ubacuje na srw?? uradio sam isto kao i kod ostalih pluginova ali ovo nesto nece
    kao svaki obican plugin ako imas server od KGB

  26. #26
    Junior Member Array
    Join Date
    Aug 2010
    Karma
    0

    Default

    Samo nes ... kad udjem za download pise mi neke znakove i neka sra*** :/ U cemu je problem ??

  27. #27
    Senior Member Array
    Join Date
    Sep 2009
    Location
    necu da ti kazem celavi
    Age
    25
    Karma
    21

    Default

    pa ne mozes da otvoris amxx format, ubaci ga na server, i ress ga i radice ti..
    pobedio:

    Quote Originally Posted by turshija View Post
    Ljudima je postao vazniji veci rank nego penis.
    Wroy je car!!!

  28. #28
    Junior Member Array
    Join Date
    Mar 2011
    Karma
    0

    Default

    Kako da ubacim ovaj plugin? Kad kliknem na download ispanu mi slova neka..

  29. #29
    generalni i izvrsni producent xD Array OvidiuS's Avatar
    Join Date
    Dec 2009
    Location
    Novi Sad
    Age
    28
    Karma
    39

    Default

    desni klik na DOWNLOAD i stisni Save As

  30. #30
    Junior Member Array
    Join Date
    Mar 2011
    Karma
    0

    Default

    Jeli save link as?

    Kad to pritisnem izadje mi da biram dje da ga save ali naziv ovaj 1297714328_amx_wmsg

  31. #31
    generalni i izvrsni producent xD Array OvidiuS's Avatar
    Join Date
    Dec 2009
    Location
    Novi Sad
    Age
    28
    Karma
    39

    Default

    Quote Originally Posted by RaddeZ View Post
    Jeli save link as?

    Kad to pritisnem izadje mi da biram dje da ga save ali naziv ovaj 1297714328_amx_wmsg
    to ti je plugin...
    posle promeni naziv kako ti hoces

    btw: proveri da li imas Save target as....
    ne znam koji browser koristis

  32. #32
    Junior Member Array
    Join Date
    Mar 2011
    Karma
    0

    Default

    Hvala, namjestio sam. Ali ima jedan problem, tj. greska je u tekstu, pise "Dobradasao"

  33. #33
    Senior Member Array
    Join Date
    May 2010
    Karma
    16

    Default

    eo vam DL link pise pravilno dobrodosao
    http://www.mediafire.com/download.php?xv64g5snpj1mz0k



  34. #34
    Junior Member Array
    Join Date
    Mar 2011
    Karma
    0

    Default

    Quote Originally Posted by Ch3 View Post
    eo vam DL link pise pravilno dobrodosao
    http://www.mediafire.com/download.php?xv64g5snpj1mz0k
    hvala

  35. #35
    Senior Member Array
    Join Date
    Aug 2009
    Location
    Beograd
    Age
    25
    Karma
    23

    Default

    Dobro dosao se zajedno pise samo kada je pridev... tako da..
    Raddez ti javi kada si na msn za ono sredji

  36. #36
    Junior Member Array
    Join Date
    Mar 2011
    Karma
    0

    Default Pitanje za Skakaca

    Skakacu jel mozes da mi bolje objasnis kako da dodam "colorchat.inc u lokalni include folder"?
    Plugin sam dodao kako treba i ne radi mi. Imam cw server sa hostom kod KGB-a.
    Hvala

  37. #37
    Junior Member Array
    Join Date
    Mar 2011
    Karma
    0

    Default

    ja colorchat nisam dodavao, a radi mi..

  38. #38
    VIP Member Array Lucky's Avatar
    Join Date
    Jan 2009
    Karma
    30

    Default

    stavi u scripting/includes

  39. #39
    Junior Member Array
    Join Date
    Mar 2011
    Karma
    0

    Default

    Ne znam to da uradim, objasni mi ako ti nije tesko. Hvala

  40. #40
    Banovani spamer Array
    Join Date
    Feb 2011
    Location
    Montenegro
    Age
    26
    Karma
    0

    Default

    Quote Originally Posted by skakac.33 View Post
    Dobro dosao se zajedno pise samo kada je pridev... tako da..
    Raddez ti javi kada si na msn za ono sredji
    Skakac mozes da mi napravis pa da mi das link da skinem
    da pise:
    DOBRODOSAO NA LEADER PUBLIC , UZIVAJ U IGRI !

  41. #41
    Junior Member Array
    Join Date
    Mar 2011
    Karma
    0

    Default

    Moze neko samo da edituje ovo Dobro Dosao odvojeno da pise.. ne treba da pise moje ime servera, podesicu ga cvarom

  42. #42
    Senior Member Array
    Join Date
    Jan 2011
    Karma
    13

    Default

    daj nek neko edituje ovaj plugin i napise odvojeno dobro dosao..

  43. #43
    Banovani spamer Array
    Join Date
    Feb 2011
    Location
    Montenegro
    Age
    26
    Karma
    0

    Default

    Moze li ko da uradi plugin?

  44. #44
    Senior Member Array
    Join Date
    Sep 2009
    Location
    necu da ti kazem celavi
    Age
    25
    Karma
    21

    Default

    napisite tacno sta zelite da pise kad igrac udje na server...
    pobedio:

    Quote Originally Posted by turshija View Post
    Ljudima je postao vazniji veci rank nego penis.
    Wroy je car!!!

  45. #45
    Senior Member Array
    Join Date
    May 2010
    Karma
    16

    Default

    http://www.mediafire.com/?cfveki14vj1l211
    izvol'te.dobro dosao napisano odvojeno



  46. #46
    Senior Member Array
    Join Date
    Mar 2010
    Location
    Srbija, Niš (okolina)
    Age
    24
    Karma
    24

    Default

    Meni je ovaj plugin ubagovao dva servera i samo punio logove i zakuca ponekad server 5,6 puta dnevno...I kad se rebuild server idalje se to ponavlja resio ga je jedan supporter, ali sad to nije bitno ja ovo ne ubacujem vise iako je extra..-.^
    - oNLine Prodaja -

    - CS COMPLETE [CS 1.6+CSS+CS:GO] -
    [CS:GO sa prime nalogom]
    1200 RSD (500 dinara manje na kupljenih 5 kom.)
    + Company of Heroes 2
    Dostupno: 7 komada

    - CS 1.6 -
    300 RSD - stara cena 400
    Dostupno: 25 komada

    (SAFE) Kupovina je sigurna.

    Sređujem servere povoljno
    Public, Deathmatch, DeathRun, Snow, Fun,
    COD:MW 1/2/3, SoccerJam, AWP DM
    ReHLDS + antiWH, antiAim, antiSpeed



  47. #47
    Senior Member Array
    Join Date
    Aug 2009
    Location
    Beograd
    Age
    25
    Karma
    23

    Default

    Updatovan link

    @sanimare meni nijednom nije izbacio nijedan log vezan za ovaj plugin, moguce da je bio neko koflikt za drugim pluginovima koji si imao

  48. #48
    Senior Member Array
    Join Date
    Aug 2009
    Location
    Beograd
    Age
    25
    Karma
    23

    Default

    Postavljena nova verzija (v1.2)

    (sry za DP)

  49. #49
    Senior Member Array
    Join Date
    May 2009
    Location
    Beograd
    Age
    26
    Karma
    0

    Default

    imas jednu gresku,pise dobrodasao umesto dobrodosao :P
    WWW.BUXNA-HQ.INFO

  50. #50
    Senior Member Array
    Join Date
    Aug 2009
    Location
    Beograd
    Age
    25
    Karma
    23

    Default

    Quote Originally Posted by Lee View Post
    imas jednu gresku,pise dobrodasao umesto dobrodosao :P
    izmenjeno, bio sam menjao stariju verziju pa ostalo

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •