Quote:
|
Originally Posted by Skyld
There's no point, just set a string or flag on the serverside, and then have the clientside check for that string or flag to be set and serverwarp from there.
|
Couldn't you juse use this I may be a little off but I'm sure it should work.
PHP Code:
function onActionServerside()
{
with (findplayer("AccountName")) {
player.triggerclient("NPCName","reconnect");
}
}
The NPC Below is the npc you are triggering
// #CLIENTSIDE
function onActionClientside() {
if (params[0] == "reconnect") {
serverwarp("servername");
}
}
Edit: I'd suggest NOT using flags in a way it's useless.