Boa noite galera,
Gostaria se possível de um tutorial ensinando como colocar a experiência em bloco de notas.
Desde já agradeço!
Gostaria se possível de um tutorial ensinando como colocar a experiência em bloco de notas.
Desde já agradeço!
frmServer.Socket(0).RemoteHost = frmServer.Socket(0).LocalIP
' Verificar se existe o NoteNextLevel, caso não criar de base.
If Not FileExist(App.Path & "\data\nextLevel.ini", True) Then
CreateNoteNextLevel
Else
LoadNoteNextLevel
End If
Public Sub CreateNoteNextLevel()
Dim i As Long, Value As Long
Dim Path As String
Path = App.Path & "\data\nextLevel.ini"
For i = 1 To MAX_LEVELS
Value = 100 * 1
Call PutVar(Path, "NEXTS", "Level-" & i, CStr(Value))
Next
End Sub
Public Sub LoadNoteNextLevel()
Dim i As Long
Dim Path As String
Path = App.Path & "\data\nextLevel.ini"
For i = 1 To MAX_LEVELS
tempStr = GetVar(Path, "OPTIONS", "FriendSystem")
NoteNextLevel(i) = GetVar(Path, "NEXTS", "Level-" & i)
Next
End Sub
Function GetPlayerNextLevel(ByVal index As Long) As Long
Function GetPlayerNextLevel(ByVal index As Long) As Long
GetPlayerNextLevel = NoteNextLevel(GetPlayerLevel(index))
End Function
tempStr = GetVar(Path, "OPTIONS", "FriendSystem")
[size=12] [/size][size=12]Function GetPlayerNextLevel(ByVal index As Long) As Long[/size][size=12][/size]
[size=12] GetPlayerNextLevel = NoteNextLevel(GetPlayerLevel(index))[/size][size=12][/size]
[size=12]End Function[/size]