C++:
if (GetKeyState('J') & 0x4000)
{
if ((GetTickCount() - gInterface.Data[ePartyTimePANEL_MAIN].EventTick) < 500) {
return;
}
gInterface.Data[ePartyTimePANEL_MAIN].EventTick = GetTickCount()...
Read more