You need to get the system time at the time of shooting, and save it. Then the next time they shoot you can compare the time then to the last time they shot and see if the difference is more than 100ms
Woobie You're just checking if 60 is bigger than currentMillis, which will never be the case. Use the way I told you with a HashMap.
Okay well, I wont be online in the next 10 hours, so Vandrake the_merciless I would appreciate if you finish this plugin for him, becouse I said I will do it today, but wasnt excepting this much problems.
The last link i posted should work. just need to compile it. <Edit by Moderator: Redacted mediafire url> Try this. Only permission is stick.fire Oh wait that has an error, try this 1.... <Edit by Moderator: Redacted mediafire url> EDIT by Moderator: merged posts, please use the edit button instead of double posting.
[quote uid=106996 name="the_merciless" post=1381058]Oh wait that has an error, try this 1.... <Edit by Moderator: Redacted mediafire url> Testing now will edit with results. It works but can you remove the explosive part so it doesn't destroy blocks? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I can add that later, unless the_merciless does EDIT: Do you want to keep the explosion, but make it not break blocks?
I'll poke around a bit with my code and see if I can get a delay going. Nevermind, did not see the 3 pages. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
You ever made it so its not explosive? because when my players use it it'll explode protected areas..
Yes, I see that, but if anyone else wants to do it. They can go ahead and do it, just incase Woobie ran into any problems he cannot solve.
He can always send the source to it and let the other players work on it but, he never said anything.
This was fun. By the way, looks like the plugin associated with this request has been completed. I'll be closing this now. If the Original Poster ( RumbleIV ) has a question, comment, or concern about this action, he should PM me. Thanks, As per OP request, this thread has been reopened. Please keep on topic and stay friendly EDIT by Moderator: merged posts, please use the edit button instead of double posting.