Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Help with this function plz


vicho815
 Share

Recommended Posts

well i wrote this:

Function GetPlayerGuildNum(ByVal index As Long)
Dim I As Long
Dim x As String
I = 1

Do Until I > MAX_GUILDS
If GetplayerGuild(index) = GetVar("\Scripts\Guilds.ini", "GUILDS", "" & I & "") Then
GetPlayerGuildNum = I
I = MAX_GUILDS + 1
Else
I = I + 1
Loop

End Function

But when I try to use my char, it says: Loop without Do…  and there is a do -.-

thanks :)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...