![]() |
Reconnect System Help please!:)
I have a problem with a reconnect system i want if the player says /reconnect he reconnects but in my script something failed,i'll show you.
PHP Code:
|
it reconnects all players instead of one... :(
|
What does it look like on the serverside part of the code?
|
To reconnect a player, you need to call serverWarp(servername); clientside. If the player is the one doing the reconnecting, there's no reason to go serverside at all; just handle it in a clientside script instead in ChatBar.onAction or onPlayerChats.
|
Quote:
PHP Code:
|
PHP Code:
|
Quote:
|
I would personally recommend using twinny's guide to learn the very basics, then fp4's to learn more advanced stuff.
|
Here is the link to Twinny's guide if you need it; click me
|
Thanks everyone,your so nice guys <3 thxxxx emera too
|
Quote:
Once www.graal.net comes online again, I'd suggest checking the development section out, along with both Twinny's and FP4's guide to scripting. :) |
| All times are GMT +2. The time now is 03:40 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.