OkMuOnline


NowaHosting


AlphaServers


Resultados 1 a 1 de 1
  1. #1
    Membro Criptor's Avatar

    Data de Ingresso
    Jul 2022
    Posts
    31
    Thanks Thanks Given 
    84
    Thanks Thanks Received 
    89
    Thanked in
    14 Posts
    Mentioned
    0 Post(s)
    País
    Brazil

    Efeito Sword of Death S6 ogocx



    function RenderModelBody(BMDStruct, ObjectStruct, ItemIndex) if (ItemIndex == GET_ITEM_MODEL(0, 101))
    then
    local Bmd = BMD.new(BMDStruct)
    local Obj = Object.new(ObjectStruct)

    if Bmd:GetLight(0) ~= 1.0 or Bmd:GetLight(1) ~= 1.0 or Bmd:GetLight(2) ~= 1.0
    then
    --Render Character
    Bmd:glColor3fv()


    Bmd:RenderMesh(0, 2, Obj:Alpha(), Obj:Mesh(), Obj:Light(), Obj:TexCoordU(), Obj:TexCoordV(), -1)
    Bmd:RenderMesh(1, 2, Obj:Alpha(), Obj:Mesh(), Obj:Light(), Obj:TexCoordU(), Obj:TexCoordV(), -1)
    Bmd:RenderMesh(3, 2, Obj:Alpha(), Obj:Mesh(), Obj:Light(), Obj:TexCoordU(), Obj:TexCoordV(), -1)


    local AnyTex = worldTime()
    local TexCoordU = (math.floor((AnyTex % (8 * 120) / 120) % 10)) * 0.11
    local TexCoordV = (math.floor((AnyTex % (8 * 120) / 120) / 8)) * 0.08


    Bmd:SetLight(1.0, 1.0, 1.0)
    Bmd:RenderMesh(2, 66, Obj:Alpha(), 2, Obj:Light(), TexCoordU, TexCoordV, Obj:Hidden())


    else
    --Render Inventory

    end

    Bmd = nil
    Obj = nil
    collectgarbage()
    return 1
    end

    return 0
    end


    function RenderModelBodyColor(BMDStruct, ObjectStruct, ItemIndex)
    if (ItemIndex == GET_ITEM_MODEL(0, 101))
    then
    return 1
    end

    return 0
    end


    function RenderModelBodyColor2(BMDStruct, ObjectStruct, ItemIndex)
    if (ItemIndex == GET_ITEM_MODEL(0, 101))
    then
    return 1
    end

    return 0
    end

    Last edited by Goten; 01-17-2024 at 02:14 AM.

  2. The Following 2 Users Say Thank You to Criptor For This Useful Post:


Permissões de Postagem

  • Você não pode iniciar novos tópicos
  • You may not post Resposta(s)
  • Você não pode enviar anexos
  • Você não pode editar suas mensagens
  •