02.01.2016, 13:27
pawn Код:
pInfo[playerid][pAdminLevel] = cache_get_field_content_int(0, "AdminLevel");
pInfo[playerid][pSkin] = cache_get_field_content_int(0, "Skin");
pInfo[playerid][pAge] = cache_get_field_content_int(0, "Age");
pInfo[playerid][pGender] = cache_get_field_content_int(0, "Gender");
pInfo[playerid][pMoney] = cache_get_field_content_int(0, "Money");
pInfo[playerid][pLevel] = cache_get_field_content_int(0, "Level");
pInfo[playerid][pJob] = cache_get_field_content_int(0, "Job");
pInfo[playerid][pMaterials] = cache_get_field_content_int(0, "Materials");
pInfo[playerid][pDrugs] = cache_get_field_content_int(0, "Drugs");
cache_get_field_content(playerid,"Email",pInfo[playerid][pEmail],mysql,256);
pawn Код:
new tmp[32];
cache_get_field_content(0, "row_name_db", tmp, mysql_handle), enum_array = strval(tmp);