Wery Oliveira 170 Posted June 18, 2016 bom como vi um alguns membros pedindo sobre isso decidi postar aqui algo da minha source abram o Visual Studio e Vão até UserInterfaceBusquem por InstanceBaseEffect.cpp e busquem void CInstanceBase::DetachTextTail()Não sei como é as linhas antes de editar então busquem pela função acima e adicionem void CInstanceBase::UpdateTextTailLevel(DWORD level){static D3DXCOLOR s_kLevelColorGM = D3DXCOLOR(0.0f/255.0f, 255.0f/255.0f, 255.0f/255.0f, 1.0f);static D3DXCOLOR s_kLevelColor = D3DXCOLOR(0.0f/255.0f, 255.0f/255.0f, 0.0f/255.0f, 1.0f);static D3DXCOLOR s_kLevelColor25 = D3DXCOLOR(0.0f/255.0f, 255.0f/255.0f, 127.0f/255.0f, 1.0f);static D3DXCOLOR s_kLevelColor50 = D3DXCOLOR(0.0f/255.0f, 206.0f/255.0f, 209.0f/255.0f, 1.0f);static D3DXCOLOR s_kLevelColor75 = D3DXCOLOR(70.0f/255.0f, 130.0f/255.0f, 180.0f/255.0f, 1.0f);static D3DXCOLOR s_kLevelColor100 = D3DXCOLOR(255.0f/255.0f, 215.0f/255.0f, 0.0f/255.0f, 1.0f);static D3DXCOLOR s_kLevelColor125 = D3DXCOLOR(255.0f/255.0f, 0.0f/255.0f, 0.0f/255.0f, 1.0f);static D3DXCOLOR s_kLevelColor150 = D3DXCOLOR(128.0f/255.0f, 0.0f/255.0f, 0.0f/255.0f, 1.0f);char szText[256];sprintf(szText, "Lv.%d", level);if (IsGameMaster()){sprintf(szText, "[sTAFF]",level);CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColorGM);}else if (!IsGameMaster()){if (level >= 25 && level <50){CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor25);}else if (level >= 50 && level <75){CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor50);}else if (level >= 75 && level <100){CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor75);}else if (level >= 100 && level <125){CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor100);}else if (level >= 125 && level <150){CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor125);}else if (level >= 150 ){CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor150);}else{CPythonTextTail::Instance().AttachLevel(GetVirtualID(), szText, s_kLevelColor);}} } ficando igual o print após isso basta compactar (se não me engano é so isso) nos gms está aparecendo somente [sTAFF] e não mostra o nivel podendo ser alterado porém acho que fica demasiadamente grande ^^ 4 maximopvp, тнαтรGiяl⋆, Luffy and 1 other reacted to this Share this post Link to post Share on other sites
Marcos Pinheiro 22 Posted June 18, 2016 Obrigado por partilhares... Share this post Link to post Share on other sites
тнαтรGiяl⋆ 21 Posted June 18, 2016 Muito util, gostei muito obrigado por partilhares! Share this post Link to post Share on other sites
Luffy 80 Posted February 7, 2017 (edited) +1 otimo tutorial Edited February 7, 2017 by Luffy (see edit history) Share this post Link to post Share on other sites