06.07.2013, 18:09
Hmm, weird. Debug your code and let's see the output.
and show us what does it print.
pawn Код:
if(db_num_rows(Result) == 1)
{
print("DEBUG: Rows found (Result)");
db_get_field_assoc(Result, "ADMIN", Field, 30);
PlayerInfo[playerid][Admin] = strval(Field);
printf("DEBUG: Admin = %d", PlayerInfo[playerid][Admin]);
// blabla..