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

Drop Script


Harris6310
 Share

Recommended Posts

I have this script:
```
' Executes every time a player drops an item.
Sub OnItemDrop(Index, Map, ItemNum, ItemVal, ItemDur, ItemIndex, InvSlot)
    If ItemNum = 1 then
        Call GlobalMsg(GetPlayerName(Index) & " has dropped a some Coins!")
    End If
End Sub
```
And it wont work. Why?
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...