Ir para conteúdo
  • Cadastre-se

Etherious

Membro
  • Total de itens

    36
  • Registro em

  • Última visita

Tudo que Etherious postou

  1. Boa noite estou com um pequeno erro nesta linha queria saber se alguem consegue me ajudar ? for x = 1, colored do r = spriter:ReadByte() g = spriter:ReadByte() b = spriter:ReadByte() color = sprite:colorAllocate(r, g, sprite:setPixel(pixel%32), math.floor(pixel/32), color) pixel = pixel + 1 end end erro : bad arguments #3 to 'setPixel' (number, expected, got nil) seria algo relacionado a estruturação do setpixel, alguem poderia me dizer como fazer essa linha funcionar corretam
  2. Boa noite, estou tendo dificuldade em uma linha de codigo, alguem poderia me ajudar ? color = sprite:colorAllocate(r, g, b, sprite:SetPixel(pixel%32), math.floor(pixel/32), color) toda vez que tendo rodar da esse erro : attempt to call method 'SetPixel' (a nil value) stack traceback: Alguem poderia me ajudar a arrumar essa linha de codigo, Grato!!
  3. function onUse(cid, item, frompos, item2, topos) if isWatchingTv(cid) then return true end local quemMatou = getItemAttribute(item.uid, "corpseowner") if quemMatou then local player = getCreatureByName(quemMatou) if isPlayer(player) then local isInParyWithPlayer = false if isInParty(cid) and isInParty(player) then isInParyWithPlayer = isPartyEquals(player, cid) end if getCreatureName(cid) ~= getCreatureName(player) and not isInParyWithPlayer then doPlayerSendCancel(cid, "Você não p
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo