|
|
Use some common sense like Karma has mentioned. These guys have literally given you everything you need. I'll explain it again because you clearly are not getting it.
Create a long type for each player instance.
Assign the long value System.currentTimeMillis() every time an attack is successful by either your opponent or yourself.
Check to see if the time difference is greater than 10 or 15 seconds.
I don't need anyone to explain to me thanks, i just need the codes. If you don't want to reply the code, keep away.
I will give $1 for who send me the currect code.
EDIT: Jason, You help everyone with codes why only in my topic you always explain? and not giving me any code, I know because no one can help me with this, it's not easy, all you are think it's simple, but it's not. Jason i tried your "Explain" Still not work.

Because Jason and a lot of people in this thread maybe care to see you learn.
Use common sense..., are you letting whatever they say go right above your head, they LITERALLY have given you the code (w the logout thing, no need to declare another variable).
Clear your head, look at it, and figure it out.
Bump.
| « Revenants mage/range GFX | Donator Icon showing as a gold crown to other players help me! » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |