Les dejo el code para poner la barrita
En CLIENTE
Buscamos en Mod_TileEngine el sub RenderScreen
- If TempChar.Nombre <> "" Then
- Dim lCenter As Long
- If InStr(TempChar.Nombre, "<") > 0 And InStr(TempChar.Nombre, ">") > 0 Then
- lCenter = (frmMain.TextWidth(Left(TempChar.Nombre, InStr(TempChar.Nombre, "<") - 1)) / 2) - 16
- Dim sClan As String: sClan = Mid(TempChar.Nombre, InStr(TempChar.Nombre, "<"))
Y arriba colocan
- If UCase$(TempChar.Nombre) = UCase$(UserName) And UserExp > 0 Then
- Dim MaxxxLargo As Byte
- MaxxxLargo = 75
- BackBufferSurface.SetForeColor 0
- BackBufferSurface.SetFillColor vbBlack
- Call BackBufferSurface.DrawBox(iPPx - (MaxxxLargo / 3), iPPy + 60, iPPx + (MaxxLargo / 1.5), iPPy + 55)
- BackBufferSurface.SetForeColor vbBlack
- BackBufferSurface.SetFillColor vbWhite
- Call BackBufferSurface.DrawBox(iPPx - (MaxxxLargo / 3), iPPy + 60, (iPPx - (MaxxLargo / 3)) + ((UserExp / 100) / (UserPasarNivel / 100)) * MaxxLargo, iPPy + 55)
- End If
Y Listo
PD: El color de la barra lo puse en blanco, si kieren cambiarle el color busken dentro de el code q les di:
- BackBufferSurface.SetFillColor vbWhite
y cambian donde dice vbWhite, recuerden dejar el vb
Saluda: ShaFTeR





681![Dragon Ancestral [4] Dragon Ancestral [4]](./images/ranks/Rango33.gif)
![Oraculo [4] Oraculo [4]](./images/ranks/Rango28.gif)
