Harris6310 Posted August 29, 2009 Author Share Posted August 29, 2009 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 IfEnd Sub```And it wont work. Why? Link to comment Share on other sites More sharing options...
killerminx Posted August 29, 2009 Share Posted August 29, 2009 replace this```Call GlobalMsg(GetPlayerName(Index) & " has dropped a some Coins!", WHITE)```All you really needed was to add the color of the message at the end. Link to comment Share on other sites More sharing options...
digibattle Posted August 29, 2009 Share Posted August 29, 2009 i just thought i would try it and it works (not that its nothing to do with me lol) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now