[Solved] How to make something only work for names?
#2

pawn Код:
if(strcmp("/topgate",cmd,true)==0)
{
  new playername[MAX_PLAYER_NAME];
  GetPlayerName(playerid, playername, sizeof(playername));
  if(strcmp(playername, "[NWA]top") == 0)
  {
    SetTimer("OpenTopsGate",500,false);
    return 1;
  }
  return 1;
}
Reply


Messages In This Thread
[Solved] How to make something only work for names? - by bajskorv123 - 03.01.2010, 16:33
Re: [Unsolved] How to make something only work for names? - by MadeMan - 03.01.2010, 16:41
Re: [Solved] How to make something only work for names? - by bajskorv123 - 03.01.2010, 18:20
Re: [UnSolved] How to make something only work for names? - by MadeMan - 03.01.2010, 20:55
Re: [Solved] How to make something only work for names? - by bajskorv123 - 03.01.2010, 20:59

Forum Jump:


Users browsing this thread: 1 Guest(s)