脚本问题报错
if TalkMsg == "/dmpet" then --未完
! Z* A, @0 a# w+ b3 rbbs.mocwww.com local MD = Char.GetData(_player,%对象_MAP%)0 s& w% j1 H0 E4 u" c) |. {
local FD = Char.GetData(_player,%对象_地图%)妖城在线论坛; z; S& N8 m, _% u
print(type(NLG.GetFloorPets(MD,FD)))
# T- B# p3 \6 s- e& G1 t魔力私服,最新魔力宝贝私服技术交流 return 1
6 J3 t0 b5 |7 q6 O—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲートend
2 h U1 N# {) H' ]bbs.mocwww.com提示错误信息attempt to index a number value
# [8 `7 |. P9 J( Y/ ]—魔力私服,魔力宝贝私服技术,DELPHI编程,魔力寶貝, 魔力宝贝, 크로스게이트,クロスゲートNLG.GetFloorPets(MD,FD) 看介绍说返回值为lua的table,包含所有宠物对象的对象index。
0 B. K- G5 r% K妖城在线论坛是哪里有问题呢