Postado Setembro 20, 2023 1 ano Solução Erro só nesta parte do systemvip perfect vip system 2.0 elseif(words == "/checkvip") then if getPlayerAccess(cid) == 5 then if not param then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end local player = getPlayerByName(param) if not isPlayer(player) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player "..player.." not found.") end local timenow = os.time() local quantity = math.floor((getPlayerStorageValue(player, 13545) - timenow)/(24 * 60 * 60)) doPlayerPopupFYI(cid, "O jogador tem ".. (quantity < 0 and 0 or quantity) .." dias de VIP no character.") return TRUE end [19/09/2023 23:23:03] [Error - TalkAction Interface] [19/09/2023 23:23:03] data/talkactions/scripts/systemvip.lua:onSay [19/09/2023 23:23:03] Description: [19/09/2023 23:23:03] data/talkactions/scripts/systemvip.lua:47: attempt to concatenate local 'player' (a nil value) [19/09/2023 23:23:03] stack traceback: [19/09/2023 23:23:03] data/talkactions/scripts/systemvip.lua:47: in function <data/talkactions/scripts/systemvip.lua:3> Editado Setembro 20, 2023 1 ano por Muvuka (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.