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 ?
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.
|

Spect Bug!
#1
Napisano 26.12.2018 12:54
#2
Napisano 26.12.2018 16:07
Poka plugins.ini
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
Napisano 27.12.2018 12:53
#4
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ą
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 (spect widzi dwie bez problemów)
mp_forcecamera "0"
mp_forcechasecam "0"
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