Advertisement
Luciano_fuentes

Untitled

Apr 19th, 2017
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public levelELU(1 to STAT_MAXELV) as Long '<--- En declaraciones
  2.  
  3. ''
  4. '
  5. Public Sub CargarELU() '<--- En general, llamada en sub main (al final).
  6.  
  7. '*********************************************************************************
  8. 'Autor: Luciano (G Toyz)
  9. 'Creación: 20/04/2017
  10. 'Aclaración: -
  11. 'Ultima modificación:  -
  12. '
  13. '*********************************************************************************
  14.  
  15.     Dim Leer As New clsIniReader, LoopC As Long
  16.     Call Leer.Initialize(App.Path & "\Dat\Niveles.dat")
  17.    
  18.     For LoopC = 1 To STAT_MAXELV
  19.          levelELU(LoopC) = Clng(Leer.GetValue("INIT", "Nivel" & LoopC))
  20.     Next LoopC
  21.    
  22. End Sub
  23.  
  24. '@@ FORMATO DEL DAT:
  25.  
  26.  
  27. '[INIT]
  28. 'Nivel1=300
  29. 'Nivel2=4000
  30. 'Así hasta el máximo.
  31.  
  32. '@@@ Userlist(UsuarioIndex).Stats.ELU = levelELU(Userlist(UsuarioIndex).Stats.ELV)
  33. '
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement