Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Snippet Showroom => Topic started by: mrockxkingbutt on December 28, 2012, 03:40:03 pm
-
add these cmd in OnPlayerText
else if ( strcmp( cmd, "fuck", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "bitch", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "asshole", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "ass", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "blowjob", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "cum", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "borner", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "cock", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "clit", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "bullshit", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "cunt", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "dick", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "dildo", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "gay", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "fag", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "douche", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "fudgepacker", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "damn", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "jizz", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "gooch", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "homo", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "hardon", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "jerkoff", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "jungle-bunny", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "jigaboo", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "kooch", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "kootch", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "kunt", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "kyke", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "lesbian", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "lesbo", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "mcfagget", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "lezzie", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "minge", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "motherfucka", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "motherfucker", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "motherfucking", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "muff", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "muffdriver", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "munging", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "negro", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "niglet", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "nutsack", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "panooch", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "prick", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
Kick(playerid);
return 1;
}
-
and if the player write F.U.C.K ?? :o :o :o ;D
-
This would only work if the player types any of the following insults infront...
E.g:
~Script kicks in~
player1:fuck you!!
player1 has been kicked...
~Script ignores everything~
player1_smartguy:you bitch..
-
Damn, it's very long code, I don't think anyone will use it.
-
This would only work if the player types any of the following insults infront...
E.g:
~Script kicks in~
player1:fuck you!!
player1 has been kicked...
~Script ignores everything~
player1_smartguy:you bitch..
Exactly !
You have to check if a player use these words in his text.
This kind of script was one of my first scripts :D :D (never released)
The same method. (worked just when you type in front an word)
I think you don't know how to put more ... in one line.
You can use ||
.......................................
and thats all .... I forget too :D
-
Atm if player will say: "fuck you"
it will not work, cause he should say: "fuck" to be kicked.
he used strcmp, so strings must be the same
-
Atm if player will say: "fuck you"
it will not work, cause he should say: "fuck" to be kicked.
he used strcmp, so strings must be the same
Oh yeah.. Forgot about that one..
-
wow all you did was just copy this
Anti Insult System.
Started by Doom
but do it a little different
-
This would only work if the player types any of the following insults infront...
E.g:
~Script kicks in~
player1:fuck you!!
player1 has been kicked...
~Script ignores everything~
player1_smartguy:you bitch..
Here this one works:
http://forum.vicecitymultiplayer.com/index.php?topic=5576.0