Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Could I...
#3
So then this should work, correct? Thanks for your help. And it'll check if they have the item that is number 200 right?

(this is in modGameLogic in the Client)
Code:
' AIDA command
        If Mid$(MyText, 1, 5) = "/aida" Then
            MyText = Mid$(MyText, 5, Len(MyText) - 4)
            Call SendData(CAida & END_CHAR)
        End If
            MyText = ""
        Exit Sub
    End If

(this is in modHandleData in the server)
Code:
' :::::::::::::::::
        ' :: AIDA Packet ::
        ' :::::::::::::::::
        Case CAida
        If HasItem(Index, 200) Then
            Call Aida(Index)
        Exit Sub
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)