Posted November 15, 201311 yr Basically the item that i created spawns an entity once by using an if statment to see if the variable number_of_Clicks is less then one and another if stament tests if it is more than one to print out a message saying you can only spawn one at a time. but the problem is whenever it is called it prints it out twice. Code Here: http://pastebin.com/xa0iG9r7
November 15, 201311 yr Hi My guess is that onItemRightClick is being called twice - once from server, once from client, so you are getting two chat messages. Should be easy enough to test? -TGG
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.