![]() |
How come now working ? :(
Ok im trying to make a script where when you perss the tab button an image appears and shows the other players you are typeing but it doesnt seem to work ?
can anyone help PHP Code:
I am using the et symbol for a test, im not going to use it |
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.
|
Quote:
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). |
Yeah, don't use a timeout. Try something like this
HTML Code:
//#CLIENTSIDE |
Quote:
|
Quote:
|
Quote:
|
Quote:
Then I suppose your previous statement holds merit. :) |
No need for more discussion, Andy's code should work fine ;)
|
Quote:
|
How else do you hide the chatbar?
|
Quote:
Edit: Something like this: PHP Code:
|
Quote:
|
Didn't try it, but using those two events should do the trick:
PHP Code:
|
Quote:
|
Edit: Woops mistake didnt read the script clearly
well like crow sayed use function ChatBar.onShow() and function ChatBar.onHide() |
| All times are GMT +2. The time now is 12:27 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.