if TalkMsg == "/dmpet" then --未完魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表3 h) R- k+ @0 f; M/ V W- Y
local MD = Char.GetData(_player,%对象_MAP%)bbs.mocwww.com) Y! N8 e; p6 Q+ T5 q1 G, \
local FD = Char.GetData(_player,%对象_地图%)妖城在线论坛& n6 _+ Q8 N& k6 f; G- |" ?
print(type(NLG.GetFloorPets(MD,FD)))—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート+ h, K/ S' b3 Q) x* W
return 1 & G+ b) q2 Q# e* }/ _. p妖城在线论坛end \+ J g. b* O! |6 I3 Y
提示错误信息attempt to index a number value 0 a' B4 a- x" H- tNLG.GetFloorPets(MD,FD) 看介绍说返回值为lua的table,包含所有宠物对象的对象index。 h- Q, t& P ?( K9 z妖城在线论坛是哪里有问题呢