Kick clan tag
#12

Quote:
Originally Posted by Andre9977
You could do:
pawn Код:
new BANTags[] =
{
  "[POOP]",
  "[Rstar]",
  "[ROOK]"
};

// ...
for(new a = 0; a < sizeof(BANTags); a++)
{
  if(strfind(pName, a, true) == 0)
  {
    // ...
  }
}
Or
pawn Код:
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
if(strfind(pName, "[POOP]", true) == 0 || strfind(pName, "[PSF]", true) == 0)
{
  Ban(playerid);
}
well it is possible i think this:

pawn Код:
if(strfind(pName, "[HAXER]", true) == 0
{
  Ban(playerid);
}
if(strfind(pName, "[IDIOT]", true) == 0
{
  Ban(playerid);
}
Or ?
Reply


Messages In This Thread
Kick clan tag - by MPKaboose - 02.05.2008, 16:57
Re: Kick clan tag - by GtakriZ - 02.05.2008, 17:01
Re: Kick clan tag - by MPKaboose - 02.05.2008, 17:02
Re: Kick clan tag - by GtakriZ - 02.05.2008, 17:07
Re: Kick clan tag - by MPKaboose - 02.05.2008, 17:46
Re: Kick clan tag - by GtakriZ - 02.05.2008, 17:49
Re: Kick clan tag - by BIGBOY - 02.05.2008, 18:49
Re: Kick clan tag - by BIGBOY - 02.05.2008, 20:00
Re: Kick clan tag - by Cueball - 02.05.2008, 22:44
Re: Kick clan tag - by whooper - 02.05.2008, 22:52
Re: Kick clan tag - by Micko9 - 12.01.2010, 15:05
Re: Kick clan tag - by Micko9 - 12.01.2010, 15:20
Re: Kick clan tag - by [KMA]Lord_Deji - 15.01.2010, 03:38
Re: Kick clan tag - by Micko9 - 17.01.2010, 17:08
Re: Kick clan tag - by speedON - 26.01.2011, 13:34

Forum Jump:


Users browsing this thread: 5 Guest(s)