15-01-2008, 06:39 PM
srry but it doesnt work for me
this is the code
it gives me an error and says that Call PlayerWarp is wrong.....
Then i tried with other functions:
this way it works but i can only decide the map,its not working for X and Y

this is the code
Code:
Private Sub cancelcmd_Click()
Unload Me
End Sub
Private Sub warpcmd_Click()
If selectwarp.Text = "Castle" Then
Call PlayerWarp(MyIndex, 2, 2, 2)
Else
Call AddText("Cannot warp at the moment", BrightRed)
End If
End Sub
Then i tried with other functions:
Code:
Private Sub cancelcmd_Click()
Unload Me
End Sub
Private Sub warpcmd_Click()
If selectwarp.Text = "Castle" Then
Call WarpTo(2)
Else
Call AddText("Cannot warp at the moment", BrightRed)
End If
End Sub