forward p_login(playerid); public p_login(playerid) { new rows, fields; cache_get_data(rows, fields); if(rows) { cache_get_field_content(0, "pEmail", pInfo[playerid][pEmail], database, 50); cache_get_field_content(0, "pReferal", pInfo[playerid][pReferal], database, MAX_PLAYER_NAME); pInfo[playerid][pID] = cache_get_field_content_int(0, "pID"); pInfo[playerid][pGender] = cache_get_field_content_int(0, "pGender"); pInfo[playerid][pSkin] = cache_get_field_content_int(0, "pSkin"); pInfo[playerid][pSpecies] = cache_get_field_content_int(0, "pSpecies"); pInfo[playerid][pAge] = cache_get_field_content_int(0, "pAge"); pInfo[playerid][pLevel] = cache_get_field_content_int(0, "pLevel"); pInfo[playerid][pExp] = cache_get_field_content_int(0, "pExp"); pInfo[playerid][pExp] = cache_get_field_content_int(0, "pExp"); pInfo[playerid][pPayDay] = cache_get_field_content_int(0, "pPayDay"); pInfo[playerid][pMinHour] = cache_get_field_content_int(0, "pMinHour"); pInfo[playerid][pHourDay] = cache_get_field_content_int(0, "pHourDay"); pInfo[playerid][pLastDate] = cache_get_field_content_int(0, "pLastDate"); pInfo[playerid][pRegTime] = cache_get_field_content_int(0, "pRegTime"); pInfo[playerid][pLastTime] = cache_get_field_content_int(0, "pLastTime"); pInfo[playerid][pRegIp] = cache_get_field_content_int(0, "pRegIp"); pInfo[playerid][pLastIp] = cache_get_field_content_int(0, "pLastIp"); pInfo[playerid][pHealth] = cache_get_field_content_float(0, "pHealth"); pInfo[playerid][pHunger] = cache_get_field_content_int(0, "pHunger"); pInfo[playerid][pArmour] = cache_get_field_content_float(0, "pArmour"); pInfo[playerid][pMoney] = cache_get_field_content_int(0, "pMoney"); pInfo[playerid][pAdmin] = cache_get_field_content_int(0, "pAdmin"); pInfo[playerid][pHelper] = cache_get_field_content_int(0, "pHelper");

Сообщение отредактировал seriydikiy: 12 марта 2025 - 18:08