new str[5][128]; format(query, sizeof(query), \"SELECT * FROM `userek` WHERE `jatekosnev` = \'%s\' \",playername);mysql_query(query);mysql_fetch_row(line);new AdminLevel,Warns,Level,Kills,Deaths,Cash,Bank,Skin,PrisonTime,Prison,ev,honap,nap;sscanf(line, \"p<|>ssssddddddddddddd\",str[0],str[1],str[2],str[3],AdminLevel,Warns,Level,Kills,Deaths,Cash,Bank,Skin,PrisonTime,Prison,ev,honap,nap);AdminLevel = PlayerInfo[playerid][pAdmin];Warns = PlayerInfo[playerid][pWarns];Level = PlayerInfo[playerid][pLevel];Kills = PlayerInfo[playerid][pKills];Deaths = PlayerInfo[playerid][pDeaths];Cash = PlayerInfo[playerid][pCash];Bank = PlayerInfo[playerid][pBank];Skin = PlayerInfo[playerid][pSkin];PrisonTime = PlayerInfo[playerid][pPrisonTime];Prison = PlayerInfo[playerid][pPrison];ev = PlayerInfo[playerid][pDate3];honap = PlayerInfo[playerid][pDate2];nap = PlayerInfo[playerid][pDate1];
format(query, sizeof(query), \"SELECT * FROM `userek` WHERE `jatekosnev` = \'%s\' and `IP` = \'%s\'\",playername,pIp);mysql_query(query);mysql_store_result();if(mysql_num_rows() == 1) {new line[200],query2[500]; format(query2, sizeof(query2), \"SELECT `AdminLevel`,`Warnings` FROM `userek` WHERE `jatekosnev` = \'%s\' \",playername);mysql_query(query2);mysql_fetch_row(line); sscanf(line, \"p<|>dd\",AdminLevel,Warns); PlayerInfo[playerid][pAdmin] = AdminLevel; PlayerInfo[playerid][pWarns] = Warns;