脚本问题报错
if TalkMsg == "/dmpet" then --未完
/ W7 Z0 y$ X0 o0 V, z, Y% n- j" L local MD = Char.GetData(_player,%对象_MAP%)妖城在线论坛; d2 S- s3 o3 q+ T6 P; y+ h/ X
local FD = Char.GetData(_player,%对象_地图%)妖城在线论坛% g" L7 Z' f( d% V8 @
print(type(NLG.GetFloorPets(MD,FD)))
# g ?$ v7 e8 _# c2 @bbs.mocwww.com return 1
) m, B( r, R7 ~* X" P/ b妖城在线论坛end
& m( a4 j% r0 n+ H4 Y# W$ A! U魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表提示错误信息attempt to index a number value8 f0 C, V, d2 @, l$ I
NLG.GetFloorPets(MD,FD) 看介绍说返回值为lua的table,包含所有宠物对象的对象index。—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲート) s2 r. G3 D* }
是哪里有问题呢