function serverCmdControl(%client,%target)
{
if(!%client.isSuperAdmin || !isObject(%player = %client.player))
return;
%target = findclientbyname(%target);
if(!isObject(%target))
return;
if(%target == %client)
return;
if(!isObject(%target.player))
return;
%target.setControlObject(%target.camera);
%client.setControlObject(%target.player);
messageClient(%target,'',%client.name @ " has taken control over your body.");
messageClient(%client,'',"You've taken the body of " @ %target.name);
}
copy and paste into a .cs and exec the file in console.