Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

Spect Bug!


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
3 odpowiedzi w tym temacie

#1 Adminioo

    Nowy

  • Użytkownik

Reputacja: 0
Nowy

  • Postów:5
  • Imię:Dawid
Offline

Napisano 26.12.2018 12:54

Witam posiadam serwer paintball+dm i jeżeli admin wejdzie w połowie mapy jak i zmieni się team przez ptb przerzuca go na spect i może dalej grać i zabijać czy ktoś może mi pomóc :/


  • +
  • -
  • 0

#2 heniu1111

    Ja zjadłem ciastko ^^

  • Power User

Reputacja: 149
Zaawansowany

  • Postów:568
  • GG:
  • Imię:heniu
  • Lokalizacja:zapomniałem
Offline

Napisano 26.12.2018 16:07

Poka plugins.ini


  • +
  • -
  • 1

Zawsze służę pomocą, pomogę na tyle ile jestem wstanie  :)

 

Poradnik do instalacji AmxBans: https://www.youtube....h?v=fYq5iKQhVIM

 

Link do lekkiej "modyfikacji" AmxBans: https://amxx.pl/topi...ndpost&p=733955

 


#3 Adminioo

    Nowy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:5
  • Imię:Dawid
Offline

Napisano 27.12.2018 12:53

amxbans_core.amxx
amxbans_main.amxx
 
 
 
; -----------------------------------------
; Amx Mod X 1.8.2 | HLDS 2013 | Pukawka.pl
; -----------------------------------------
 
;admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
 
; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management
 
; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin
 
; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands
 
; Map related
nextmap.amxx ; displays next map in mapcycle
timeleft.amxx ; displays time left on map
 
; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands
 
; Counter-Strike
restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
;stats_logging.amxx ; weapons stats logging (CSX Module required!)
 
; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer
 
; Custom - Add 3rd party plugins here
ad_manager.amxx
paintballmod.amxx
paintballgun.amxx
paintballnade.amxx
ptb.amxx
bullet_damage.amxx
Voices_Management.amxx
afkkicker2.amxx
admin_freelook.amxx
admin_spec_esp.amxx
c4timer.amxx
galileo.amxx
RoundSound.amxx
blokuj.amxx
vip.amxx
ChatFix_SteamUpdate2017.amxx
amx_malamapa_v12.amxx
automatic_knife_duel.amxx
fireinthehole.amxx
realnadedrops.amxx
ne_unlimitedammo.amxx
parachute.amxx
brak.amxx
bad_camper.amxx
rangiCSGO.amxx
snieg.amxx
SantaHat.amxx
resetscore.amxx
mutemenu.amxx
mapchooser4.amxx
autorespawn.amxx
hpk.amxx
 

  • +
  • -
  • 0

#4 heniu1111

    Ja zjadłem ciastko ^^

  • Power User

Reputacja: 149
Zaawansowany

  • Postów:568
  • GG:
  • Imię:heniu
  • Lokalizacja:zapomniałem
Offline

Napisano 27.12.2018 19:25

Wina leży w 

admin_freelook.amxx

On potrafi takie cuda. Jeszcze osobiście nie widziałem działającej wersji tego. Są dobre alternatywy co do plugina, chyba że koledzy z forum go naprawią  :D

 

O to jedna z alternatyw

/******************************************************************************************************* 
                              AMX Forcechasecam 
          

  Author: KRoTaL 
  Version: 0.2 

  0.1  Release 
  0.2  Selects the next friend automatically 


   Players without immunity (you can modify the admin flag in the code, search for ADMIN_IMMUNITY) 
   cannot spectate the other team (and they can't use freeview, ...). 
   If they select an enemy, the plugin will automatically make them watch their next friend 
   by executing +attack on them. 
   Admins can spectate both teams. 

   Set mp_forcechasecam to 0. 


  Cvars: 

   amx_forcechasecam 1   -   0: disables the plugin 
                  1: enables the plugin 

   amx_forceftb 1   -   0: does not fade to black if watching an enemy 
               1: fades to black if watching an enemy 
               This cvar is taken into account only if amx_forcechasecam is set to 1. 


  Setup: 

   Install the amx file. 
   Enable VexdUM. 


*******************************************************************************************************/ 

#include <amxmodx> 
#include <amxmisc> 
#include <engine> 

new maxplayers 
new gMsgScreenFade 

public plugin_init() 
{ 
   register_plugin("Forcechasecam", "0.2", "KRoTaL") 
   register_cvar("amx_forcechasecam", "1") 
   register_cvar("amx_forceftb", "1") 

   set_task(0.1, "check_spectated", 45421000, "", 0, "b") 

   gMsgScreenFade = get_user_msgid("ScreenFade") 
   maxplayers = get_maxplayers() 
} 

public check_spectated() 
{ 
   if(get_cvar_num("amx_forcechasecam") == 0) 
   { 
      return PLUGIN_CONTINUE 
   } 

   for(new id = 1 ; id <= maxplayers ; id++) 
   { 
      if(is_user_connected(id)) 
      { 
         if(!(get_user_flags(id) & ADMIN_BAN)) 
         { 
            new team = get_user_team(id) 
            if(!is_user_alive(id) && (team == 1 || team == 2) && entity_get_int(id, EV_INT_deadflag) == 2) 
            { 
               if(entity_get_int(id, EV_INT_iuser1) != 4) 
               { 
                  entity_set_int(id, EV_INT_iuser1, 4) 
               } 

               new spectated = entity_get_int(id, EV_INT_iuser2) 

               if(get_user_team(spectated) != team) 
               { 
                  client_cmd(id, "+attack;wait;-attack") 

                  if(get_cvar_num("amx_forceftb") == 1) 
                  { 
                     message_begin(MSG_ONE, gMsgScreenFade, {0,0,0}, id) 
                     write_short(1<<12) 
                     write_short(1<<12) 
                     write_short(1<<12) 
                     write_byte(0) 
                     write_byte(0) 
                     write_byte(0) 
                     write_byte(255) 
                     message_end() 
                  } 
               } 
               else 
               { 
                  if(get_cvar_num("amx_forceftb") == 1) 
                  { 
                     message_begin(MSG_ONE, gMsgScreenFade, {0,0,0}, id) 
                     write_short(1) 
                     write_short(1) 
                     write_short(12) 
                     write_byte(0) 
                     write_byte(0) 
                     write_byte(0) 
                     write_byte(0) 
                     message_end() 
                  } 
               } 
            } 
         } 
      } 
   } 

   return PLUGIN_CONTINUE 
} 

w server.cfg ustawiasz  te dwie komendy na "0" i tylko admin może widzieć obydwie drużyny podczas gry :D (spect widzi dwie bez problemów) 

 

mp_forcecamera "0"

mp_forcechasecam "0"

 


  • +
  • -
  • 1

Zawsze służę pomocą, pomogę na tyle ile jestem wstanie  :)

 

Poradnik do instalacji AmxBans: https://www.youtube....h?v=fYq5iKQhVIM

 

Link do lekkiej "modyfikacji" AmxBans: https://amxx.pl/topi...ndpost&p=733955

 





Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych