Kick everyone besides people with a certain name?
#9

Quote:
Originally Posted by ssǝן‾ʎ
If the beta testers leak the password, can't you just use their password AND their name? It's dead easy to change your name in the server browser, it's been said MANY MANY times that any security based on names only is no security at all, as people can just lie.
yep u could just take thename of sum1 playing
tho if they dunno the names it wont be a problem.
u could set query 0
then noone sees whos on the server^^

and


Quote:
Originally Posted by XCultz
bump
why the **** u bump? O_O
u got what u need already

Quote:
Originally Posted by saiberfun
pawn Код:
public OnPlayerConnect(playerid)
  {
  new nick[MAX_PLAYER_NAME];
  GetPlayerName(playerid, nick, sizeof(nick));
  if(strcmp(nick, "TehFedra", true) == 0 || strcmp(nick, "[B]Vortex", true) == 0 || strcmp(nick, "Lazlow", true) == 0 || strcmp(nick, "AjayRz", true) == 0 || strcmp(nick, "Arsham_Vafa", true) == 0)
    {
    SendClientMessage(playerid,COLOR_RED,"You are recognized as a BETA Tester, welcome");
    return 1;
    }
  else
  SendClientMessage(playerid,COLOR_RED,"You are not a BETA Tester, banned.");
  BanEx(playerid,"BETA Testing.");
  return 1;
  }
thisone should work^^
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)