MeNi
*^#%$%
- Joined
- Jul 23, 2008
- Messages
- 183
- Reaction score
- 12
Hi, i want to add exhaust to for example function in C++. I want it to be player exhaust, not global exhaust. So for example:
So, one player can execute certain action only once 100ms. Sorry for chaotic post, but can somebody help me with that?
Code:
if (!player-isexhausted(exhaustid)){
doAction
player-AddExhaustTime(exhaustid,100ms)
}
else
{
// nothing
}
So, one player can execute certain action only once 100ms. Sorry for chaotic post, but can somebody help me with that?