logoHourGlass
NLG.GetMapPlayerNum

NLG.GetMapPlayerNum

NLG.GetMapPlayerNum(Map, Floor)

函數功能

獲取地圖內玩家的數量

參數說明

  • Map數值型 地圖類型,0爲正常地圖,1爲自動生成的地圖。
  • Floor數值型 地圖編號。

返回值

返回在線玩家數,失敗返回-1。