06.11.2011, 14:50
pawn Код:
mysql_fetch_field_row(save, "Faction"); Faction[playerid] = strlen(save);
mysql_fetch_field_row(save, "Faction"); Faction[playerid] = strlen(save);
mysql_fetch_field_row(Faction[playerid], "Faction");
I think he wants the Faction as an integer (or ID for his system). I doubt mysql_fetch_field_row works with variables as the first parameter.
And I'm sorry, I thought I was looking at strval() the whole time, but it appears to be strlen() instead. That would explain it. // edit no idea why I thought he wants it as an integer value. I assumed it from what I thought was strval I think! |