.:How to block players with Tags?:.
#5

pawn Код:
public OnPlayerConnect(playerid)
{
    new Name[MAX_PLAYER_NAME+1],str[128];
    GetPlayerName(playerid,Name,MAX_PLAYER_NAME);
    if(strfind(Name,"[FxF]")!=-1){
        format(str,126,"Player with %d has [FxF] tag in their name.",playerid);
        for(new i=0;i<MAX_PLAYERS;i++)if(IsPlayerAdmin(i))SendClientMessage(playerid,0xFF0000FF,str);
    }
//rest of code
}
This will show all admins ( rcon ) message when someone enters the server and has tag. With them, later, you can do as you wish.
Reply


Messages In This Thread
.:How to block players with Tags?:. - by Gonsalo14 - 13.02.2013, 20:08
Re: .:How to block players with Tags?:. - by CROStalker - 13.02.2013, 20:09
Re: .:How to block players with Tags?:. - by Gonsalo14 - 13.02.2013, 20:15
Re: .:How to block players with Tags?:. - by CROStalker - 13.02.2013, 20:16
Re: .:How to block players with Tags?:. - by Roko_foko - 13.02.2013, 20:21
Re: .:How to block players with Tags?:. - by Gonsalo14 - 13.02.2013, 20:26

Forum Jump:


Users browsing this thread: 1 Guest(s)