mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 07:37:45 +00:00
commit
b5a92485e7
1 changed files with 10 additions and 0 deletions
|
@ -506,6 +506,16 @@ void Core::Network::GameConnection::gm2Handler( const Packets::GamePacket& inPac
|
||||||
player.sendNotice( "Jumping to " + targetPlayer->getName() );
|
player.sendNotice( "Jumping to " + targetPlayer->getName() );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case GmCommand::Call:
|
||||||
|
{
|
||||||
|
if ( targetPlayer->getZoneId() != player.getZoneId() )
|
||||||
|
targetPlayer->setZone( player.getZoneId() );
|
||||||
|
|
||||||
|
targetPlayer->changePosition( player.getPos().x, player.getPos().y, player.getPos().z,
|
||||||
|
player.getRotation() );
|
||||||
|
player.sendNotice( "Calling " + targetPlayer->getName() );
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
player.sendUrgent( "GM2 Command not implemented: " + std::to_string( commandId ) );
|
player.sendUrgent( "GM2 Command not implemented: " + std::to_string( commandId ) );
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue