View Single Post
  #3  
Old 08-22-2009, 06:09 PM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by Switch View Post
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).

Last edited by Gambet; 08-22-2009 at 06:38 PM.. Reason: Clarifying in response to post below :)
Reply With Quote