02.11.2013, 14:19
Hello guys, can somebody help me to fix this error? Thanks. 
error 028: invalid subscript (not an array or too many subscripts):

error 028: invalid subscript (not an array or too many subscripts):
pawn Код:
public OnPlayerDisconnect( playerid, reason )
{
GetPlayerPos( playerid, pPoziciaX[ playerid ], pPoziciaY[ playerid ], pPoziciaZ[ playerid ] ); //THIS IS ERROR
GetPlayerFacingAngle( playerid, Angle[ playerid ] );
new INI:File = INI_Open( PouzivatelovaCesta(playerid));
INI_WriteInt(File,"AdminLevel",Informacie[playerid][pAdminLevel]);
INI_WriteInt(File,"Interiйr", GetPlayerInterior(playerid));
INI_WriteInt(File,"Peniaze",GetPlayerMoney(playerid));
INI_WriteFloat(File,"PozнciaX", pPoziciaX[playerid]);
INI_WriteFloat(File,"PozнciaY", pPoziciaY[playerid]);
INI_WriteFloat(File,"PozнciaZ", pPoziciaZ[playerid]);
INI_WriteInt(File,"Svet", GetPlayerVirtualWorld( playerid ));
INI_WriteFloat(File,"Uhol", pUhol[playerid]);
INI_Close(File);
return 1;
}