По SQL
#1

Доброго времени суток!
При загрузке аккаунтов использую цикл с массивом, но после цикла идет ещё ряд загрузочных данных, но они уже не грузиться, вопрос почему?
PHP код:
new MAX_INTERATOR_SLOT[13]; 
PHP код:
    static const name_column[][] =
    {
        {
"one"},
        {
"two"},
        {
"there"},
        {
"four"},
        {
"five"},
        {
"six"},
          {
"seven"},
          {
"eight"},
          {
"nine"},
           {
"ten"},
           {
"eleven"},
        {
"twelve"},
        {
"thirteen"}
    }; 
PHP код:
    new
        
string_column_slot_ammo[21],
        
string_column_weapons_slot[25]; 
PHP код:
    for(new interator_slot 0interator_slot sizeof(MAX_INTERATOR_SLOT); interator_slot ++)
     {
        
format(string_column_slot_ammosizeof(string_column_slot_ammo), "slot_ammo_%s"name_column[interator_slot]);
         
PlayerInfo[id_player][p_slot_ammo][interator_slot] = cache_get_field_content_int(0string_column_slot_ammo);
         
format(string_column_weapons_slotsizeof(string_column_weapons_slot), "weapons_slot_%s"name_column[interator_slot]);
          
PlayerInfo[id_player][p_weapons_slot][interator_slot] = cache_get_field_content_int(0string_column_weapons_slot);
         
string_column_slot_ammo[0] = EOS;
         
string_column_weapons_slot[0] = EOS;
    } 
Заранее спасибо!
Reply


Messages In This Thread
По SQL - by kennydalglish - 10.06.2015, 10:17
Re: По SQL - by Gettopro - 10.06.2015, 12:27
Re: По SQL - by kennydalglish - 10.06.2015, 12:54
Re: По SQL - by kennydalglish - 10.06.2015, 13:11
Re: По SQL - by Stepashka - 10.06.2015, 13:15
Re: По SQL - by kennydalglish - 10.06.2015, 13:33
Re: По SQL - by Stepashka - 10.06.2015, 14:43
Re: По SQL - by kennydalglish - 10.06.2015, 14:52
Re: По SQL - by kennydalglish - 10.06.2015, 15:08
Re: По SQL - by Stepashka - 10.06.2015, 15:22

Forum Jump:


Users browsing this thread: 1 Guest(s)