16.05.2015, 07:47
My code is:
But this just doesn't load anything in playerinfo[playerid]user] or playerinfo[playerid]user], can someone help me please
Код:
format(query,sizeof(query),"SELECT * FROM players WHERE user = '%s'",name(playerid)); mysql_function_query(conn,query,false,"",""); for(new i = 0, j = cache_get_row_count(); i < j ; i++) { cache_get_field_content(i,"name",playerInfo[playerid][user],conn,128); cache_get_field_content(i,"pass",playerInfo[playerid][pass],conn,128); }