dini questions
#1

Hi there. I'm trying to check whenever a player connects, the server uses dini to check if a dini key exists for that player in a certain file. Then, it saves the value of the key to an array to avoid excessive accessing of the ini file.

pawn Код:
public OnPlayerConnect(playerid)
{
  SetPlayerMapIcon(playerid,20,337.5643,-1370.2089,14.3267,55,0); // THE ICON
  new NameString[MAX_PLAYER_NAME];
  new string[255];
  GetPlayerName(playerid,NameString,sizeof(NameString));
  string = dini_Get("LicenseInfo.ini", NameString);
  pLicensesInfo[playerid] = string; // LINE 79
  return 1;
}
Код:
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(79) : error 006: must be assigned to an array
Any help?
Reply


Messages In This Thread
dini questions - by ilikepie2221 - 24.08.2009, 15:26
Re: dini questions - by radhakr - 24.08.2009, 15:39
Re: dini questions - by ilikepie2221 - 24.08.2009, 19:26
Re: dini questions - by CAR - 24.08.2009, 19:33
Re: dini questions - by ilikepie2221 - 24.08.2009, 19:41
Re: dini questions - by Jefff - 24.08.2009, 20:00
Re: dini questions - by ilikepie2221 - 24.08.2009, 21:13
Re: dini questions - by pen_theGun - 24.08.2009, 22:16
Re: dini questions - by DracoBlue - 24.08.2009, 22:19

Forum Jump:


Users browsing this thread: 1 Guest(s)