Fire in the hole yazısını kapatma
Moderatör: Moderatörler
-
Konu Sahibi - Mesajlar: 727
- Kayıt: Prş Nis 07, 2016 8:00 pm
- Konum: Istanbul
Fire in the hole yazısını kapatma
Merhabalar, ben fire in the hole yazısını kapatmak ama sesinin açık kalmasını istiyorum buna göre bir plugin var mıdır acaba?
Link: | |
Linklerini gizle |
-
- Mesajlar: 1625
- Kayıt: Cmt Eyl 30, 2017 12:44 pm
- Konum: Samsun
Fire in the hole yazısını kapatma
İşine yararsa kullanabilirsin, teldeyim inceleyemedim.
viewtopic.php?p=254648#p254648
viewtopic.php?p=254648#p254648
Link: | |
Linklerini gizle |
-
Konu Sahibi - Mesajlar: 727
- Kayıt: Prş Nis 07, 2016 8:00 pm
- Konum: Istanbul
Fire in the hole yazısını kapatma
Hocam bu hem yazıyı hem sesini kapatıyor. Ben sadece yazıyı kapatanı istiyorum.bestcore yazdı: Çrş Nis 21, 2021 9:09 am İşine yararsa kullanabilirsin, teldeyim inceleyemedim.
viewtopic.php?p=254648#p254648
Link: | |
Linklerini gizle |
-
- Mesajlar: 92
- Kayıt: Prş Ağu 20, 2020 11:24 pm
Fire in the hole yazısını kapatma
FearLess yazdı: Çrş Nis 21, 2021 9:43 amHocam bu hem yazıyı hem sesini kapatıyor. Ben sadece yazıyı kapatanı istiyorum.bestcore yazdı: Çrş Nis 21, 2021 9:09 am İşine yararsa kullanabilirsin, teldeyim inceleyemedim.
viewtopic.php?p=254648#p254648
Kod: Tümünü seç
#include <amxmodx>
enum _:CvarBits (<<=1) {
BLOCK_MSG
};
new g_pCvar;
public plugin_init( ) {
register_plugin( "'Fire in the hole' blocker", "1.0", "xPaw" );
g_pCvar = register_cvar( "sv_fith_block", "3" );
register_message( get_user_msgid( "TextMsg" ), "MessageTextMsg" );
}
public MessageTextMsg( )
return ( get_msg_args( ) == 5 && IsBlocked( BLOCK_MSG ) ) ? GetReturnValue( 5, "#Fire_in_the_hole" ) : PLUGIN_CONTINUE;
GetReturnValue( const iParam, const szString[ ] ) {
new szTemp[ 18 ];
get_msg_arg_string( iParam, szTemp, 17 );
return ( equal( szTemp, szString ) ) ? PLUGIN_HANDLED : PLUGIN_CONTINUE;
}
bool:IsBlocked( const iType )
return bool:( get_pcvar_num( g_pCvar ) & iType );
Link: | |
Linklerini gizle |
-
Konu Sahibi - Mesajlar: 727
- Kayıt: Prş Nis 07, 2016 8:00 pm
- Konum: Istanbul
Fire in the hole yazısını kapatma
Olmadı yazı hala yazmakta.cbmarksman yazdı: Çrş Nis 21, 2021 9:48 amFearLess yazdı: Çrş Nis 21, 2021 9:43 amHocam bu hem yazıyı hem sesini kapatıyor. Ben sadece yazıyı kapatanı istiyorum.bestcore yazdı: Çrş Nis 21, 2021 9:09 am İşine yararsa kullanabilirsin, teldeyim inceleyemedim.
viewtopic.php?p=254648#p254648bu şekilde deneyinKod: Tümünü seç
#include <amxmodx> enum _:CvarBits (<<=1) { BLOCK_MSG }; new g_pCvar; public plugin_init( ) { register_plugin( "'Fire in the hole' blocker", "1.0", "xPaw" ); g_pCvar = register_cvar( "sv_fith_block", "3" ); register_message( get_user_msgid( "TextMsg" ), "MessageTextMsg" ); } public MessageTextMsg( ) return ( get_msg_args( ) == 5 && IsBlocked( BLOCK_MSG ) ) ? GetReturnValue( 5, "#Fire_in_the_hole" ) : PLUGIN_CONTINUE; GetReturnValue( const iParam, const szString[ ] ) { new szTemp[ 18 ]; get_msg_arg_string( iParam, szTemp, 17 ); return ( equal( szTemp, szString ) ) ? PLUGIN_HANDLED : PLUGIN_CONTINUE; } bool:IsBlocked( const iType ) return bool:( get_pcvar_num( g_pCvar ) & iType );
Link: | |
Linklerini gizle |
-
- Mesajlar: 1625
- Kayıt: Cmt Eyl 30, 2017 12:44 pm
- Konum: Samsun
Fire in the hole yazısını kapatma
Böyle deneyebilir misin ?
Kod: Tümünü seç
#include <amxmodx>
enum _:CvarBits (<<=1) {
BLOCK_MSG = 1
};
new g_pCvar;
public plugin_init( ) {
register_plugin( "'Fire in the hole' blocker", "1.0", "xPaw" );
g_pCvar = register_cvar( "sv_fith_block", "3" );
register_message( get_user_msgid( "TextMsg" ), "MessageTextMsg" );
}
public MessageTextMsg( )
return ( get_msg_args( ) == 5 && IsBlocked( BLOCK_MSG ) ) ? GetReturnValue( 5, "#Fire_in_the_hole" ) : PLUGIN_CONTINUE;
GetReturnValue( const iParam, const szString[ ] ) {
new szTemp[ 18 ];
get_msg_arg_string( iParam, szTemp, 17 );
return ( equal( szTemp, szString ) ) ? PLUGIN_HANDLED : PLUGIN_CONTINUE;
}
bool:IsBlocked( const iType )
return bool:( get_pcvar_num( g_pCvar ) & iType );
Link: | |
Linklerini gizle |