发新话题
打印

[提问] 脚本问题报错

脚本问题报错

if TalkMsg == "/dmpet" then                                                                --未完( p5 D- y# k5 q7 h5 A8 ]
        local MD = Char.GetData(_player,%对象_MAP%)
# N4 f. }- H& I, A: S9 A! \妖城在线论坛        local FD = Char.GetData(_player,%对象_地图%)
, s" w/ n7 ^: s6 ?& \* Q9 W7 x        print(type(NLG.GetFloorPets(MD,FD)))魔力私服,最新魔力宝贝私服技术交流# J  z  r" [* V+ Z' }' q
        return 1魔力私服,最新魔力私服,魔力宝贝私服,魔力宝贝私服技术,魔力宝贝私服,私服架设技术,妖城,FLASH,电影,黑客,网络,网吧,破解,入侵,注册表0 s: T" [+ a2 H! ~) ?5 n2 I5 M
end
2 V% K; t3 Y7 C5 N  d妖城在线论坛提示错误信息attempt to index a number value
6 t" s, M6 ~# _+ l8 E, {. J; i妖城在线论坛NLG.GetFloorPets(MD,FD) 看介绍说返回值为lua的table,包含所有宠物对象的对象index。
8 R# R3 {% U. y) U0 z! }魔力私服,最新魔力宝贝私服技术交流是哪里有问题呢

TOP

发新话题