Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Logins
#5
It was something like...

Code:
For i = 1 to max_players
     If IsPlaying(i) Then
          If GetPlayerName(Index) = GetPlayerName(i) Then
               AlertMsg "Character already logged in"
               Exit Sub
          End If
     End If
Next i

It's strange, this doesn't work if there is only one character online and you try and log in with that same character. But if there are more than 1 characters, all clients crash if you try to log in twice.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)