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

I need help with that, How i block player to connect in my server with my community Tag?

eg:
Community Tag: [FxF]

i wanna block player who don't have my permission to have the tag


Can someone help me with that?
Thanks.
Reply
#2

Just Ban him -.-
Reply
#3

Thanks a lot -_-
and if i'm not in the server?
Reply
#4

If you ban him he wont be able to come in server.
Reply
#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
#6

Thanks Roko
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)