Hi i have created that auto login system but getting some error
Error:
pawn Code:
error 033: array must be indexed (variable "tmp2")
pawn Code:
new PlayerFile[13+ MAX_PLAYER_NAME]; if(!INI_Exist(pName(playerid))) { //register request } else { format(PlayerFile,256,"Accounts/%s.ini",Encode(pName(playerid))); new tmp[50],tmp2[256]; GetPlayerIp(playerid,tmp,50); tmp2[]= INI_ParseFile(PlayerFile,"IP");// that is the line where getting error please help me. if(!strcmp(tmp,tmp2,true)) { //auto login } else { //login request } }