If name is ### player get's acces to a command.
#2

Try something like this
pawn Код:
new Pname[24];
  GetPlayerName(playerid, Pname, 24);
  if(strcmp(Pname, "NameHere", true) == 0)  //set the name here
  {
    //What you do, here.
    return 1;
  }
  return 1;
}
Reply


Messages In This Thread
If name is ### player get's acces to a command. - by davelord - 18.02.2012, 13:45
Re: If name is ### player get's acces to a command. - by John Rockie - 18.02.2012, 13:54
Re: If name is ### player get's acces to a command. - by Twisted_Insane - 18.02.2012, 14:11
Re: If name is ### player get's acces to a command. - by iPLEOMAX - 18.02.2012, 14:14

Forum Jump:


Users browsing this thread: 1 Guest(s)