PDA

View Full Version : No Map sound


benamo6
08-27-2008, 09:44
Is there a plugin for no maps sound? like rain in aztec or de plain in cs_747?
Thanks :)
EdiT: Also if someone have te plugin for no ip passing i need that also

title edited

YamiKaitou
08-27-2008, 11:46
As per the Global Forum Rules, you need to have a descriptive topic title. If you wish for this topic to stay open, please correct the topic title before you post again.

`666
08-27-2008, 11:59
For no sounds just type stopsound in console, or in my case: bind b "buy;stopsound"

no ip/www by Alka with admin kick immunity


#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Restrict Advertising"
#define VERSION "1.0"
#define AUTHOR "Alka"

stock const advertising_words[][] = {

"www.",
".ro",
".com",
".net",
".org",
".idle",
".freedns",
".no-ip"
}

//new const reason[] = "Advertising!";

public plugin_init() {

register_plugin(PLUGIN, VERSION, AUTHOR);

register_clcmd("say", "hook_chat");
register_clcmd("say_team", "hook_chat");
}

public hook_chat(id)
{
if((get_user_flags(id) & ADMIN_KICK))
return 0;
new szArgs[512];
read_args(szArgs, 511);

new len;
len = strlen(szArgs);

new digits, periods;

new szName[32];
get_user_name(id, szName, 31);

for(new i = 0 ; i < sizeof (advertising_words) ; i++)
{
if(containi(szArgs, advertising_words[i]) != -1)
{
//server_cmd("amx_kick ^"%s^" %s", szName, reason); //kicks
client_cmd(id, "say I love this server. <3"); //replace message
return 1;
}
}

for(new i; i < len; i++)
{
if(isdigit(szArgs[i]))
{
digits++
}
else if(szArgs[i] == '.' || szArgs[i] == ':')
{
periods++
}
}

if(digits > 3 && periods > 2)
{
//server_cmd("amx_kick ^"%s^" %s", szName, reason); //kicks
client_cmd(id, "say I love this server. <3");
return 1;
}
return 0;
}

Brad
08-27-2008, 12:18
As per the Global Forum Rules, you need to have a descriptive topic title. If you wish for this topic to stay open, please correct the topic title before you post again.

As well as... Do not use all caps for your title topics.

benamo6
08-27-2008, 20:31
For no sounds just type stopsound in console, or in my case: bind b "buy;stopsound"

no ip/www by Alka with admin kick immunity


#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Restrict Advertising"
#define VERSION "1.0"
#define AUTHOR "Alka"

stock const advertising_words[][] = {

"www.",
".ro",
".com",
".net",
".org",
".idle",
".freedns",
".no-ip"
}

//new const reason[] = "Advertising!";

public plugin_init() {

register_plugin(PLUGIN, VERSION, AUTHOR);

register_clcmd("say", "hook_chat");
register_clcmd("say_team", "hook_chat");
}

public hook_chat(id)
{
if((get_user_flags(id) & ADMIN_KICK))
return 0;
new szArgs[512];
read_args(szArgs, 511);

new len;
len = strlen(szArgs);

new digits, periods;

new szName[32];
get_user_name(id, szName, 31);

for(new i = 0 ; i < sizeof (advertising_words) ; i++)
{
if(containi(szArgs, advertising_words[i]) != -1)
{
//server_cmd("amx_kick ^"%s^" %s", szName, reason); //kicks
client_cmd(id, "say I love this server. <3"); //replace message
return 1;
}
}

for(new i; i < len; i++)
{
if(isdigit(szArgs[i]))
{
digits++
}
else if(szArgs[i] == '.' || szArgs[i] == ':')
{
periods++
}
}

if(digits > 3 && periods > 2)
{
//server_cmd("amx_kick ^"%s^" %s", szName, reason); //kicks
client_cmd(id, "say I love this server. <3");
return 1;
}
return 0;
}


I know but theres a way to put that on the server? like a plugin or somthing
so is always stopsound?

ZombieMan
08-28-2008, 03:40
Take this ... :)

Put client_autoexec.ini in amxmodx/configs and client_autoexec.amxx in plugins :) and then restart the server. When a player will press W button the sounds will be off !

Enjoy :up:

Exolent[jNr]
08-28-2008, 07:27
That plugin is not allowed unless you get the client's permission first.

ZombieMan
08-28-2008, 07:30
i'm sure it'll get :)

benamo6
08-28-2008, 17:10
thanks to all, zombie it wasnt bind w "buy;stopsound"..
it was bind w "+forward;stopsound" thanks anyway
all ready