Help me in RP Butterfly

testrrthfgg

New Member
Jul 16, 2013
4
1
Hello,

I need a help in RP emulator c#.

I want to fix the garbage will find things, but it may search every 5 minutes each room.
 

JayC

Always Learning
Aug 8, 2013
5,494
1,398
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.
 

Users who are viewing this thread

Top