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

If coordinates


Domino_
 Share

Recommended Posts

Please help me.

I add this to Sub OnClick.
```
Case 0
If CanTake(index, 5, 1) Then
      Else
      Call Playermsg(index, "Go get a fishing rod!", WHITE)
      End If

      If GetPlayerLevel(index) <= 10 Then
      If CanTake(index, 5, 1) Then
      Call Playermsg(index, "You are attemting to fish", WHITE)
      If rand(1, 8) = 1 Then
      Call Playermsg(index, "You got a fish!", WHITE)
      Call GiveCurrency(index, 6, 1)
      Else
      Call Playermsg(index, "The fish got away!", WHITE)
      End If
      End If
      End If

      If GetPlayerLevel(index) >= 11 Then
      If CanTake(index, 5, 1) Then
      Call Playermsg(index, "You are attemting to fish", WHITE)
      If rand(1, 4) = 1 Then
      Call Playermsg(index, "You got a fish!", WHITE)
      Call GiveCurrency(index, 6, 1)
      Else
      Call Playermsg(index, "The fish got away!", WHITE)
      End If
      End If
      End If
Exit Sub

```
can somebody help me? I need to make a coordinate from where you can do fishing.
![](http://www.freemmorpgmaker.com/files/imagehost/pics/5708118e8fba581141a3319d59f42a15.GIF)
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...