Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Help me in RP Butterfly
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JayC" data-source="post: 358173" data-attributes="member: 36373"><p>So you are trying to say that your current Garbage Cans DO NOT have a timer. You want there to a be a timer. You are going to create a method that controls your timer, in reality emulator it creates a new thread which really isn't a good idea (or a good way to code in my opinion) but you could create a new thread. Have the timer run on it. Make sure that you send the trash can item ID to the method. When 5 minutes has gone up (Send it the current time when you call to it) and when a user clicks it, if the time is greater than that time by 5 minutes, allow the user to interact. Otherwise say no.</p></blockquote><p></p>
[QUOTE="JayC, post: 358173, member: 36373"] So you are trying to say that your current Garbage Cans DO NOT have a timer. You want there to a be a timer. You are going to create a method that controls your timer, in reality emulator it creates a new thread which really isn't a good idea (or a good way to code in my opinion) but you could create a new thread. Have the timer run on it. Make sure that you send the trash can item ID to the method. When 5 minutes has gone up (Send it the current time when you call to it) and when a user clicks it, if the time is greater than that time by 5 minutes, allow the user to interact. Otherwise say no. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Help me in RP Butterfly
Top