10.08.2010, 11:22
(
Последний раз редактировалось Ace_Menace; 10.08.2010 в 12:36.
)
The problem:
I get this error for every one of these lines:
Obviously it's an issue with array sizes, but I have no idea how to fix these.
pawn Код:
error 047: array sizes do not match, or destination array is too small
pawn Код:
PlayerInfo[playerid][pCrimeReason] = AccountGet(PlayerName, "CrimeReason");
PlayerInfo[playerid][pWhyLeft] = AccountGet(PlayerName, "WhyLeft");
PlayerInfo[playerid][pMarriedTo] = AccountGet(PlayerName, "MarriedTo");
PlayerInfo[playerid][pNote1] = AccountGet(PlayerName, "Note1");
PlayerInfo[playerid][pNote2] = AccountGet(PlayerName, "Note2");
PlayerInfo[playerid][pNote3] = AccountGet(PlayerName, "Note3");
PlayerInfo[playerid][pNote4] = AccountGet(PlayerName, "Note4");
PlayerInfo[playerid][pNote5] = AccountGet(PlayerName, "Note5");
PlayerInfo[playerid][pPendingInfo] = AccountGet(PlayerName, "PendingInfo");
PlayerInfo[playerid][pPunishment1] = AccountGet(PlayerName, "Punishment1");
PlayerInfo[playerid][pPunishment2] = AccountGet(PlayerName, "Punishment1");
PlayerInfo[playerid][pPunishment3] = AccountGet(PlayerName, "Punishment1");
PlayerInfo[playerid][pPunishment4] = AccountGet(PlayerName, "Punishment1");
PlayerInfo[playerid][pIP] = AccountGet(PlayerName, "IP");
PlayerInfo[playerid][pLastSeen] = AccountGet(PlayerName, "LastSeen");
PlayerInfo[playerid][pRegistredDate] = AccountGet(PlayerName, "RegistredDate");