請問可不可以把。。。 a_a

Home Home
引用 | 編輯 NeverDead
2012-06-24 17:37
樓主
推文 x0
請問可不可以把下面這個Forevergun[id] = 1 保存在nvault內

保存後 不論轉地圖多少次,買了這100GASH的東西之玩家永遠也是Forevergun[id] = 1 。
有什麼方法保存在nvault內 
複製程式
public weapon_test(id)
{
      new ammo_packs = get_user_gash(id)
      g_gash[id] = ammo_packs

      if( g_gash[id] >= 100 )
      {
            Forevergun[id] = 1
            save1(id)
            set_user_gash(id, g_gash[id] -= 100 )
      }
     else

     {
           client_print(id, print_center, "GASH不足")
     }
      return 1;
}


獻花 x0