Server:
function ServercmdAutopilotOn(%Client)
{
CommandToClient(%client, AutoPilotOn);
MessageClient(%Client, "Auto Pilot on");
}
function ServercmdAutopilotOff(%Client)
{
CommandToClient(%client, AutoPilotOff);
MessageClient(%Client, "Auto Pilot off");
}
Client:
function ClientCmdAutoPilotOn()
{
MoveForward(1);
}
function ClientCmdAutoPilotoff()
{
MoveForward(0);
}