27.02.2013, 17:06
rp.pwn(3815 -- 3862) : fatal error 102: table overflow: "staging buffer"
But when I remove the last line pWep2 it works...
how can I fix it?
pawn Code:
public OnAccountLoad(playerid)
{
new temp[40];
cache_get_row(0, 4, temp), PlayerInfo[playerid][pRegistered] = strval(temp),
cache_get_row(0, 5, temp), PlayerInfo[playerid][pCash] = strval(temp),
cache_get_row(0, 6, temp), PlayerInfo[playerid][pBank] = strval(temp),
cache_get_row(0, 7, temp), PlayerInfo[playerid][pSkin] = strval(temp),
cache_get_row(0, 8, temp), PlayerInfo[playerid][pSex] = strval(temp),
cache_get_row(0, 9, temp), PlayerInfo[playerid][pAge] = strval(temp),
cache_get_row(0, 10, PlayerInfo[playerid][pOrigin]),
cache_get_row(0, 11, temp), PlayerInfo[playerid][pLevel] = strval(temp),
cache_get_row(0, 12, temp), PlayerInfo[playerid][pExp] = strval(temp),
cache_get_row(0, 13, temp), PlayerInfo[playerid][pHours] = strval(temp),
cache_get_row(0, 14, temp), PlayerInfo[playerid][pAdmin] = strval(temp),
cache_get_row(0, 15, temp), PlayerInfo[playerid][pHelper] = strval(temp),
cache_get_row(0, 16, temp), PlayerInfo[playerid][pInt] = strval(temp),
cache_get_row(0, 17, temp), PlayerInfo[playerid][pWorld] = strval(temp),
cache_get_row(0, 18, temp), PlayerInfo[playerid][pJailed] = strval(temp),
cache_get_row(0, 19, temp), PlayerInfo[playerid][pJailTime] = strval(temp),
cache_get_row(0, 20, temp), PlayerInfo[playerid][pBanned] = strval(temp),
cache_get_row(0, 21, temp), PlayerInfo[playerid][pWarns] = strval(temp),
cache_get_row(0, 22, temp), PlayerInfo[playerid][pDonateRank] = strval(temp),
cache_get_row(0, 23, temp), PlayerInfo[playerid][pCarLic] = strval(temp),
cache_get_row(0, 24, temp), PlayerInfo[playerid][pWepLic] = strval(temp),
cache_get_row(0, 25, temp), PlayerInfo[playerid][pFlyLic] = strval(temp),
cache_get_row(0, 26, temp), PlayerInfo[playerid][pPosX] = floatstr(temp),
cache_get_row(0, 27, temp), PlayerInfo[playerid][pPosY] = floatstr(temp),
cache_get_row(0, 28, temp), PlayerInfo[playerid][pPosZ] = floatstr(temp),
cache_get_row(0, 29, temp), PlayerInfo[playerid][pPosA] = floatstr(temp),
cache_get_row(0, 30, temp), PlayerInfo[playerid][pDied] = strval(temp),
cache_get_row(0, 31, temp), PlayerInfo[playerid][pFightStyle] = strval(temp),
cache_get_row(0, 32, temp), PlayerInfo[playerid][pPen] = strval(temp),
cache_get_row(0, 33, PlayerInfo[playerid][pNote1]),
cache_get_row(0, 34, temp), PlayerInfo[playerid][pNote1s] = strval(temp),
cache_get_row(0, 35, PlayerInfo[playerid][pNote2]),
cache_get_row(0, 36, temp), PlayerInfo[playerid][pNote2s] = strval(temp),
cache_get_row(0, 37, PlayerInfo[playerid][pNote3]),
cache_get_row(0, 38, temp), PlayerInfo[playerid][pNote3s] = strval(temp),
cache_get_row(0, 39, PlayerInfo[playerid][pAttributes]),
cache_get_row(0, 40, temp), PlayerInfo[playerid][pPayCheckMade] = strval(temp),
cache_get_row(0, 41, temp), PlayerInfo[playerid][pPayCheckMoney] = strval(temp),
cache_get_row(0, 42, temp), PlayerInfo[playerid][pUpgrade] = strval(temp),
cache_get_row(0, 43, temp), PlayerInfo[playerid][pPayDayTime] = strval(temp),
cache_get_row(0, 44, temp), PlayerInfo[playerid][pSHealth] = floatstr(temp),
cache_get_row(0, 45, temp), PlayerInfo[playerid][pCellPhone] = strval(temp),
cache_get_row(0, 46, temp), PlayerInfo[playerid][pNumber] = strval(temp),
cache_get_row(0, 47, temp), PlayerInfo[playerid][pSavings] = strval(temp),
cache_get_row(0, 48, temp), PlayerInfo[playerid][pHouseKey] = strval(temp),
cache_get_row(0, 49, temp), PlayerInfo[playerid][pMeleeWep] = strval(temp),
cache_get_row(0, 50, temp), PlayerInfo[playerid][pWep1] = strval(temp),
cache_get_row(0, 51, temp), PlayerInfo[playerid][pWep2] = strval(temp);
return 1;
}
how can I fix it?