Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Snippet Showroom => Topic started by: MatheuS on August 30, 2012, 07:02:38 am

Title: Command anti-Insultes for Roleplay, RPG
Post by: MatheuS on August 30, 2012, 07:02:38 am
[pawn]else if ( strcmp( cmd, "fuck", true ) == 0 )
   {
      SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
      return 1;
   }[/pawn]

[pawn]else if ( strcmp( cmd, "bitch", true ) == 0 )
   {
      SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
      return 1;
   }[/pawn]
Title: Re: Command anti-Insultes for Roleplay, RPG
Post by: NeskWriter on August 30, 2012, 09:30:05 am
does it works?
/c fuck = ban  ;D ;)
Title: Re: Command anti-Insultes for Roleplay, RPG
Post by: NeskWriter on August 30, 2012, 09:34:33 am
where to put this? in public OnPlayerText ??? or where?