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
// 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.
pLicensesInfo[playerid][256] = string[128]; // LINE 80
Originally Posted by CAR
I think:
pawn Код:
|
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(80) : error 032: array index out of bounds (variable "pLicensesInfo") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
new pLicensesInfo[MAX_PLAYERS][255];
pLicensesInfo[playerid] = string; // LINE 80
Originally Posted by Jefff
Top
Код:
new pLicensesInfo[MAX_PLAYERS][255]; Код:
pLicensesInfo[playerid] = string; // LINE 80 |
C:\Users\Family\Desktop\()\SAMP server shit\filterscripts\CarSchool.pwn(80) : error 047: array sizes do not match, or destination array is too small Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.