Client retry
I need to do something :
When an player select something i want after 5 second to be reconnected i'v made something like this public retry_player(id) { client_cmd(id,"reconnect"); } if he do something then he will bee reconnected set_task(5.0, "retry_player"); But the problem is when that player do that thing then all players are reconnected not just him , how to make to be reconnected just him. |
Re: Client retry
set_task(5.0, "retry_player", id);
|
Re: Client retry
Quote:
|
Re: Client retry
No, that works fine. Just one thing to add, check if user is connected in public retry_player() before doing anything.
|
| All times are GMT -4. The time now is 07:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.