24.08.2009, 19:26
Eh, that didn't work.
Any help?
pawn Код:
// TOP
new pLicensesInfo[playerid][256];
// CALLBACK
public OnPlayerConnect(playerid)
{
SetPlayerMapIcon(playerid,20,337.5643,-1370.2089,14.3267,55,0); // THE ICON
new NameString[MAX_PLAYER_NAME];
new string[256];
GetPlayerName(playerid,NameString,sizeof(NameString));
string = dini_Get("LicenseInfo.ini", NameString);
pLicensesInfo[playerid][256] = string; // LINE 80
return 1;
}
Код:
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(80) : error 032: array index out of bounds (variable "pLicensesInfo") C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(80) : error 006: must be assigned to an array Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.