Help please.
#1

pawn Code:
public OnPlayerConnect()
{
  new file[256], pname[MAX_PLAYER_NAME];
  GetPlayerName(playerid, pname, sizeof(pname));
  format(file, sizeof(file), "/applies/%s.ini", pname);
  if(dini_Exists(file)) return SendClientMessage(playerid, red, "You have already made your application!");
  format(file, sizeof(file), "/applies/%s.ini", pname);
  if (!fexist(file)) return SendClientMessage(playerid,green,"Wanna apply for Administrator ? Type /aa for a IN-GAME Admin Apply!!");
  return 1;
}
Why it doesn't works ?
It doesn't displays a message when a playername.ini exists, even doesn't displays a when playername.ini doesn't exists D:
Also it gives 3 errors about Undefined Symbol "playerid"'

Help please ? zezombia ?
Reply


Messages In This Thread
Help please. - by rafay - 04.01.2009, 04:57
Re: Help please. - by Zezombia - 04.01.2009, 05:02
Re: Help please. - by rafay - 04.01.2009, 05:08
Re: Help please. - by Zezombia - 04.01.2009, 05:11
Re: Help please. - by rafay - 04.01.2009, 05:16
Re: Help please. - by Zezombia - 04.01.2009, 05:18
Re: Help please. - by rafay - 04.01.2009, 05:19
Re: Help please. - by Zezombia - 04.01.2009, 05:21
Re: Help please. - by rafay - 04.01.2009, 05:23
Re: Help please. - by rafay - 04.01.2009, 05:27
Re: Help please. - by Zezombia - 04.01.2009, 05:36
Re: Help please. - by rafay - 04.01.2009, 05:36
Re: Help please. - by rafay - 04.01.2009, 06:10

Forum Jump:


Users browsing this thread: 1 Guest(s)