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.
|
mute cale terro
#1
Napisano 11.08.2009 21:09
NIE CHCĘ ŻADNYCH GAGÓW, /MUTE itp
#2
Napisano 11.08.2009 21:21
#3
Napisano 11.08.2009 21:31
#4
Napisano 11.08.2009 21:32
Bardzo przydatny taki plugin na JBNie spotkałem takiego czegoś, ale można pisać
Napisał by ktoś?
@edit
A dało by się coś takiego, że CT ma alltalka, a terro tylko do swoich może mówić?
#5
Napisano 11.08.2009 22:41
#6
Napisano 11.08.2009 23:42
#7
Napisano 13.08.2009 02:47
#include <amxmodx>
#include <cstrike>
#include <engine>
#include <hamsandwich>
#define PLUGIN "Jail Voices"
#define AUTHOR "ConnorMcLeod"
#define VERSION "0.0.4"
new const g_iSpeakSettings[] = {
SPEAK_LISTENALL,
SPEAK_MUTED|SPEAK_LISTENALL,
SPEAK_ALL|SPEAK_LISTENALL,
SPEAK_LISTENALL
}
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn, "player", "Player_Spawn_Post", 1)
}
public Player_Spawn_Post( id )
{
is_user_alive(id)
{
set_speak(id, g_iSpeakSettings[ _:cs_get_user_team(id) ] )
}
}Plugin taki jak chcesz czyli CT gada do wszystkich a TT milczy
Dziękuje, dobranoc.
#8
Napisano 13.08.2009 09:57
JA bym tez chetnie z tego skorzystal...
#9
Napisano 13.08.2009 10:03
w załączniki skompilowane
Załączone pliki
#10
Napisano 13.08.2009 10:06
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <cstrike>
#define ADMIN_VOICE ADMIN_MENU
new bool:g_connected[33];
new g_max_clients;
public plugin_init()
{
register_plugin("No Terrorist Voice", "0.1", "Exolent");
register_forward(FM_Voice_SetClientListening, "FwdSetVoice");
g_max_clients = get_maxplayers();
}
public client_putinserver(client)
{
g_connected[client] = true;
}
public client_disconnect(client)
{
g_connected[client] = false;
}
public FwdSetVoice(receiver, sender, bool:listen)
{
if( !(1 <= receiver <= g_max_clients)
|| !g_connected[receiver]
|| !(1 <= sender <= g_max_clients)
|| !g_connected[sender] ) return FMRES_IGNORED;
new CsTeams:team = cs_get_user_team(sender);
if( (team == CS_TEAM_T || team == CS_TEAM_CT && !is_user_alive(sender)) && !access(sender, ADMIN_VOICE) )
{
engfunc(EngFunc_SetClientListening, receiver, sender, 0);
return FMRES_SUPERCEDE;
}
return FMRES_IGNORED;
}
#11
Napisano 13.08.2009 13:34
#include <amxmodx>
#include <cstrike>
#include <engine>
#include <hamsandwich>
#define PLUGIN "Jail Voices"
#define AUTHOR "ConnorMcLeod"
#define VERSION "0.0.4"
new const g_iSpeakSettings[] = {
SPEAK_LISTENALL,
SPEAK_MUTED|SPEAK_LISTENALL,
SPEAK_ALL|SPEAK_LISTENALL,
SPEAK_LISTENALL
}
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn, "player", "Player_Spawn_Post", 1)
}
public Player_Spawn_Post( id )
{
is_user_alive(id)
{
set_speak(id, g_iSpeakSettings[ _:cs_get_user_team(id) ] )
}
}
Tak zeby nie mutowalo admina z flaga C?
I od razu skompilowac bo mi jakos ten plugin sie nie kompiluje
Za pomoc Pomogl
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych


Dodatki SourceMod



Temat jest zamknięty










