UWAGA
W związku z upgrade'em Forum Wiaderko do vB 4.x ewentualne błędy i nieprawidłowości proszę zgłaszać w tym temacie
Serwery Counter Strike 1.6 wiaderko.com

HashJama [TP] 193.33.176.148:27015 status serwera HashJama [TP] połącz

HashJama [FFA] 193.33.176.188:27015status serwera HashJama [FFA] połącz

HashJama [DM] 193.33.176.53:27015status serwera HashJama [DM] połącz

HashJama [Aim Hs] 193.33.176.15:27015status serwera HashJama [Aim Hs] połącz

HashJama [Flags] 193.33.176.111:27015status serwera HashJama  [Flags] połącz

HashJama [AWP/HG DM] 193.33.176.50:27015status serwera HashJama [AWP/HG DM] 193.33.176.50:27015 połącz

HashJama [TP #2] 193.33.176.54:27015status serwera HashJama [TP #2] 193.33.176.54:27015 połącz

wiaderko.com [Ventrilo] v1.svoice.pl:6416status serwera wiaderko.com [Ventrilo]

SPONSOR:
pukawka.pl

Wątek: join/leave +ip +pochodzenia

Pokaż wyniki od 1 do 3 z 3
  1. #1 join/leave +ip +pochodzenia 
    Lamka
    Dołączył
    Jul 2009
    Wiek
    19
    Posty
    3
    Witam. Szukam już kolejny dzień i dalej nie znalazłem pluginu, którego chciałem. Chodzi o taki plugin, który działałby tam samo jak join/leave tylko posiadał jeszcze IP i pochodzenia gracza. Może to być przerobiony plugin join/leave bądź jakiś inny o tych opcjach. Informacje oczywiście mają się wyświetlać w HUD, tak jak w join/leave. Bardzo bym prosił o pomoc...:>
     

  2. #2 Odp: join/leave +ip +pochodzenia 
    Adminus pospolitus
    Dołączył
    Jan 2008
    Wiek
    20
    Posty
    9,227
    Daj kod joinleave zwykłego
    Najlepszy hosting www tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na www.naven.com.pl
    Jebać steama.
     

  3. #3 Odp: join/leave +ip +pochodzenia 
    Lamka
    Dołączył
    Jul 2009
    Wiek
    19
    Posty
    3
    Kod:
    /*
    Join/Leave Message 1.2 by BigBaller
    
    Just shows a basic Tsay like message to all players when user
    is connecting, has established connection and disconnected from your server.
    
    Just upload into your amxx/plugins folder
    Add join_leave.amx in your amxx/plugins.ini
    
    Restart server or change map.
    
    ENJOY!
    
    *New, You are able to turn messages off and on using the cvar
    amx_join_leave
    
    1 = On
    0 = Off
    
    Plugin by default is 1
    
    Change Log
    v 1.0 - Started with basic messages.
    v 1.1 - Created a cvar to disable messages (cvar is amx_join_leave 1|0)
    v 1.2 - Moved the messages up, they conflicted with plugins such as StatsX and PTB
    */
    
    #include <amxmodx>
    
    public plugin_init() {
      register_plugin("Join/Leave Message","1.2","BigBaller")
      register_cvar("amx_join_message", "Beware %name% is connecting.")
      register_cvar("amx_joined_message", "O NO! %name% is ready to play!")
      register_cvar("amx_leave_message", "Goodbye %name%, Please come back soon.")
      register_cvar("amx_join_leave","1")
    }
    
    public client_connect(id){
    	new user[32], len
    	user[0] = id
    	len = get_user_name(id,user[1],31)
    	set_task(2.0, "join_msg", 0, user,len + 2)
    	return PLUGIN_CONTINUE
    }
    
    public client_putinserver(id){
    	new user[32], len
    	user[0] = id
    	len = get_user_name(id,user[1],31)
    	set_task(2.0, "joined_msg", 0, user,len + 2)
    	return PLUGIN_CONTINUE
    }
    
    public client_disconnect(id){
    	new user[32], len
    	user[0] = id
    	len = get_user_name(id, user[1], 31)
    	set_task(2.0, "leave_msg", 0, user, len + 2)
    	return PLUGIN_CONTINUE
    }
    
    public join_msg(user[]) {
            if (get_cvar_num("amx_join_leave")==0){
            return PLUGIN_HANDLED
            }
    	if (get_cvar_num("amx_join_leave")==1){
    	new message[192]
    	get_cvar_string("amx_join_message", message, 191)
    	replace(message, 191, "%name%", user[1])
    	set_hudmessage(0, 225, 0, 0.05, 0.45, 0, 6.0, 6.0, 0.5, 0.15, 3)
    	show_hudmessage(0, message)
    	return PLUGIN_CONTINUE
    	}
    	return PLUGIN_CONTINUE
    }
    
    public joined_msg(user[]) {
            if (get_cvar_num("amx_join_leave")==0){
            return PLUGIN_HANDLED
            }
    	if (get_cvar_num("amx_join_leave")==1){
    	new message[192]
    	get_cvar_string("amx_joined_message", message, 191)
    	replace(message, 191, "%name%", user[1])
    	set_hudmessage(0, 225, 0, 0.05, 0.45, 0, 6.0, 6.0, 0.5, 0.15, 3)
    	show_hudmessage(0, message)
    	return PLUGIN_CONTINUE
    	}
    	return PLUGIN_CONTINUE
    }
    
    public leave_msg(user[]) {
            if (get_cvar_num("amx_join_leave")==0){
            return PLUGIN_HANDLED
            }
    	if (get_cvar_num("amx_join_leave")==1){
    	new message[192]
    	get_cvar_string("amx_leave_message", message, 191)
    	replace(message, 191, "%name%", user[1])
    	set_hudmessage(0, 225, 0, 0.05, 0.45, 0, 6.0, 6.0, 0.5, 0.15, 3)
    	show_hudmessage(0, message)
    	return PLUGIN_CONTINUE
    	}
    	return PLUGIN_CONTINUE
    }
     

Podobne wątki

  1. Szukam Join/leave po Polsku
    By pawelmarchel in forum Szukam pluginu AMX/AMXX
    Odpowiedzi: 2
    Ostatni post / autor: 30-01-2010, 17:02
  2. Join leave
    By Executor in forum Problemy i konfiguracja AMXX
    Odpowiedzi: 12
    Ostatni post / autor: 13-12-2009, 13:27
  3. Join/Leave Message 1.2 by BigBaller + rank
    By gryf11 in forum Szukam pluginu AMX/AMXX
    Odpowiedzi: 2
    Ostatni post / autor: 10-12-2009, 00:08
  4. Admin join
    By blabla8 in forum Problemy i konfiguracja AMXX
    Odpowiedzi: 12
    Ostatni post / autor: 29-09-2009, 21:02
  5. problem z join sound
    By phanter91 in forum Problem z pluginem AMX/AMXX
    Odpowiedzi: 1
    Ostatni post / autor: 31-07-2009, 09:25
  6. Split Join Convert Video 1.0
    By ProgzMasta in forum Darmowe i legalne programy do pobrania
    Odpowiedzi: 0
    Ostatni post / autor: 26-06-2009, 09:02
  7. HIM - Join Me
    By beRRo in forum Teledyski - youtube, wrzuta, avi
    Odpowiedzi: 0
    Ostatni post / autor: 28-04-2009, 23:03
  8. If you want, I join to the clan.
    By Raphaeel in forum Archwium #Szukam Klanu CS 1.6
    Odpowiedzi: 2
    Ostatni post / autor: 21-09-2008, 06:26

Odwiedzający znaleźli tę stronę szukając:

join leave

plugin join message amxx

Uprawnienia umieszczania postów
  • Nie możesz zakładać nowych tematów
  • Nie możesz pisać wiadomości
  • Nie możesz dodawać załączników
  • Nie możesz edytować swoich postów
  •