gpt4 book ai didi

lua - 错误 : attempt to index field '?' (a nil value)

转载 作者:行者123 更新时间:2023-12-01 11:49:58 25 4
gpt4 key购买 nike

<分区>

我的 Lua 代码中出现以下错误:

attempt to index field '?' (a nil value)

它出现在下面的粗体行中。我该如何解决?

function SendMessageToAdmins(color1, color2, color3, msg)
for i = 0, maxSlots - 1 do
<b>if Account[i] and Account[i].Admin >= 1 or Account[i] and Account[i].GameMaster >= 1 then</b>
SendPlayerMessage(i, color1, color2, color3, string.format("%s", msg))
end
end
end

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com