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

Sub RightClick


Lidnel
 Share

Recommended Posts

How it works?  ::)

```
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
' This sub is used for the right click menu's
Sub RightClick(index, script, otherindex)   
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
if other <> 0 then
Select Case script
    Case 1
call playermsg(index, script, 1)
Case 2
call playermsg(index, script, 1)
    Case 3
call playermsg(index, script, 1)
Case 4
call playermsg(index, script, 1)
    Case 5
call playermsg(index, script, 1)
Case 6
call playermsg(index, script, 1)
    Case 7
call playermsg(index, script, 1)
End Select
else
Select Case script
    Case 1
call playermsg(index, script, 1)
Case 2
call playermsg(index, script, 1)
    Case 3
call playermsg(index, script, 1)
Case 4
call playermsg(index, script, 1)
    Case 5
call playermsg(index, script, 1)
Case 6
call playermsg(index, script, 1)
    Case 7
call playermsg(index, script, 1)
End Select
end if
End Sub
```
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...