18.09.2016, 19:01
E:\servere\server\gamemodes\gf.pwn(7553) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7554) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7555) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7556) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7557) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(755 : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7559) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7560) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7561) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7562) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7563) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7564) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7565) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7566) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7567) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(756 : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7569) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7570) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7571) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7572) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7573) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7574) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7575) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7576) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7577) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(757 : error 032: array index out of bounds (variable "PlayerInfo")
i got these errors when i try to compile the gamemode. I don't know what to do.
Lines:
format(var, 32, "Key=%s\n", PlayerInfo[MAX_PLAYERS][pKey]);fwrite(hFile, var);
PlayerInfo[MAX_PLAYERS][pCash] = GetPlayerMoney(playerid);
format(var, 32, "Level=%d\n",PlayerInfo[MAX_PLAYERS][pLevel]);fwrite(hFile, var);
format(var, 32, "AdminLevel=%d\n",PlayerInfo[MAX_PLAYERS][pAdmin]);fwrite(hFile, var);
format(var, 32, "DonateRank=%d\n",PlayerInfo[MAX_PLAYERS][pDonateRank]);fwrite(hFile, var);
format(var, 32, "UpgradePoints=%d\n",PlayerInfo[MAX_PLAYERS][gPupgrade]);fwrite(hFile, var);
format(var, 32, "ConnectedTime=%d\n",PlayerInfo[MAX_PLAYERS][pConnectTime]);fwrite(hFile, var);
format(var, 32, "Registered=%d\n",PlayerInfo[MAX_PLAYERS][pReg]);fwrite(hFile, var);
format(var, 32, "Sex=%d\n",PlayerInfo[MAX_PLAYERS][pSex]);fwrite(hFile, var);
format(var, 32, "Age=%d\n",PlayerInfo[MAX_PLAYERS][pAge]);fwrite(hFile, var);
format(var, 32, "Origin=%d\n",PlayerInfo[MAX_PLAYERS][pOrigin]);fwrite(hFile, var);
format(var, 32, "CK=%d\n",PlayerInfo[MAX_PLAYERS][pCK]);fwrite(hFile, var);
format(var, 32, "Muted=%d\n",PlayerInfo[MAX_PLAYERS][pMuted]);fwrite(hFile, var);
format(var, 32, "Respect=%d\n",PlayerInfo[MAX_PLAYERS][pExp]);fwrite(hFile, var);
format(var, 32, "Money=%d\n",PlayerInfo[MAX_PLAYERS][pCash]);fwrite(hFile, var);
format(var, 32, "Bank=%d\n",PlayerInfo[MAX_PLAYERS][pAccount]);fwrite(hFile, var);
format(var, 32, "Crimes=%d\n",PlayerInfo[MAX_PLAYERS][pCrimes]);fwrite(hFile, var);
format(var, 32, "Kills=%d\n",PlayerInfo[MAX_PLAYERS][pKills]);fwrite(hFile, var);
format(var, 32, "Deaths=%d\n",PlayerInfo[MAX_PLAYERS][pDeaths]);fwrite(hFile, var);
format(var, 32, "Arrested=%d\n",PlayerInfo[MAX_PLAYERS][pArrested]);fwrite(hFile, var);
format(var, 32, "WantedDeaths=%d\n",PlayerInfo[MAX_PLAYERS][pWantedDeaths]);fwrite(hFile, var);
format(var, 32, "Phonebook=%d\n",PlayerInfo[MAX_PLAYERS][pPhoneBook]);fwrite(hFile, var);
format(var, 32, "LottoNr=%d\n",PlayerInfo[MAX_PLAYERS][pLottoNr]);fwrite(hFile, var);
format(var, 32, "Fishes=%d\n",PlayerInfo[MAX_PLAYERS][pFishes]);fwrite(hFile, var);
format(var, 32, "BiggestFish=%d\n",PlayerInfo[MAX_PLAYERS][pBiggestFish]);fwrite(hFile, var);
E:\servere\server\gamemodes\gf.pwn(7554) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7555) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7556) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7557) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(755 : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7559) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7560) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7561) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7562) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7563) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7564) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7565) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7566) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7567) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(756 : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7569) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7570) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7571) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7572) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7573) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7574) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7575) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7576) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(7577) : error 032: array index out of bounds (variable "PlayerInfo")
E:\servere\server\gamemodes\gf.pwn(757 : error 032: array index out of bounds (variable "PlayerInfo")
i got these errors when i try to compile the gamemode. I don't know what to do.
Lines:
format(var, 32, "Key=%s\n", PlayerInfo[MAX_PLAYERS][pKey]);fwrite(hFile, var);
PlayerInfo[MAX_PLAYERS][pCash] = GetPlayerMoney(playerid);
format(var, 32, "Level=%d\n",PlayerInfo[MAX_PLAYERS][pLevel]);fwrite(hFile, var);
format(var, 32, "AdminLevel=%d\n",PlayerInfo[MAX_PLAYERS][pAdmin]);fwrite(hFile, var);
format(var, 32, "DonateRank=%d\n",PlayerInfo[MAX_PLAYERS][pDonateRank]);fwrite(hFile, var);
format(var, 32, "UpgradePoints=%d\n",PlayerInfo[MAX_PLAYERS][gPupgrade]);fwrite(hFile, var);
format(var, 32, "ConnectedTime=%d\n",PlayerInfo[MAX_PLAYERS][pConnectTime]);fwrite(hFile, var);
format(var, 32, "Registered=%d\n",PlayerInfo[MAX_PLAYERS][pReg]);fwrite(hFile, var);
format(var, 32, "Sex=%d\n",PlayerInfo[MAX_PLAYERS][pSex]);fwrite(hFile, var);
format(var, 32, "Age=%d\n",PlayerInfo[MAX_PLAYERS][pAge]);fwrite(hFile, var);
format(var, 32, "Origin=%d\n",PlayerInfo[MAX_PLAYERS][pOrigin]);fwrite(hFile, var);
format(var, 32, "CK=%d\n",PlayerInfo[MAX_PLAYERS][pCK]);fwrite(hFile, var);
format(var, 32, "Muted=%d\n",PlayerInfo[MAX_PLAYERS][pMuted]);fwrite(hFile, var);
format(var, 32, "Respect=%d\n",PlayerInfo[MAX_PLAYERS][pExp]);fwrite(hFile, var);
format(var, 32, "Money=%d\n",PlayerInfo[MAX_PLAYERS][pCash]);fwrite(hFile, var);
format(var, 32, "Bank=%d\n",PlayerInfo[MAX_PLAYERS][pAccount]);fwrite(hFile, var);
format(var, 32, "Crimes=%d\n",PlayerInfo[MAX_PLAYERS][pCrimes]);fwrite(hFile, var);
format(var, 32, "Kills=%d\n",PlayerInfo[MAX_PLAYERS][pKills]);fwrite(hFile, var);
format(var, 32, "Deaths=%d\n",PlayerInfo[MAX_PLAYERS][pDeaths]);fwrite(hFile, var);
format(var, 32, "Arrested=%d\n",PlayerInfo[MAX_PLAYERS][pArrested]);fwrite(hFile, var);
format(var, 32, "WantedDeaths=%d\n",PlayerInfo[MAX_PLAYERS][pWantedDeaths]);fwrite(hFile, var);
format(var, 32, "Phonebook=%d\n",PlayerInfo[MAX_PLAYERS][pPhoneBook]);fwrite(hFile, var);
format(var, 32, "LottoNr=%d\n",PlayerInfo[MAX_PLAYERS][pLottoNr]);fwrite(hFile, var);
format(var, 32, "Fishes=%d\n",PlayerInfo[MAX_PLAYERS][pFishes]);fwrite(hFile, var);
format(var, 32, "BiggestFish=%d\n",PlayerInfo[MAX_PLAYERS][pBiggestFish]);fwrite(hFile, var);