Quote:
Originally Posted by Switch
I don't see why you would need a timer for this, just check if the tab key was pressed. N-Pulse does it something like this.
|
I think I set it up on N-Pulse way back then. Anyway, you wouldn't trigger it when the player presses the tab button, you would trigger it when the chat bar is visible. I suppose you could incorporate both the tab and the chat bar visibility together, or you could just use a timeout loop (timeout loop not recommended but would work nonetheless, wouldn't really cause any extra strain on the server if done in a pre-existing loop but it's still not necessary).