05.04.2014, 10:37
Hello I have a small problem. I was make in some off check command if I type name which is not exist in database then it send that account doens't exist if account exist it check player. But the problem is I was first type non existing name which is not registered in database and fine it says that account doens't exist, but when I type existing name which is registered it says that acc doens't exit but exist.What I do wrong. Thanks, and here is that check.
pawn Код:
new rows,fields;
cache_get_data(rows,fields,mysql);
if(rows)
{
here is checking player if acc exist
}
else SCMF(playerid,0xDB023EFF,"Account %s doesn't exist in our database.",name);