@@ -1643,32 +1643,6 @@ void CNetMsgScriptHelper::DispatchUserMessage( const char *msg )
16431643}
16441644#endif // GAME_DLL
16451645
1646- #ifdef GAME_DLL
1647- void CNetMsgScriptHelper::AddRecipient ( HSCRIPT player )
1648- {
1649- CBaseEntity *pPlayer = ToEnt (player);
1650- if ( pPlayer )
1651- {
1652- m_filter.AddRecipient ( (CBasePlayer*)pPlayer );
1653- }
1654- }
1655-
1656- void CNetMsgScriptHelper::AddRecipientsByPVS ( const Vector &pos )
1657- {
1658- m_filter.AddRecipientsByPVS (pos);
1659- }
1660-
1661- void CNetMsgScriptHelper::AddRecipientsByPAS ( const Vector &pos )
1662- {
1663- m_filter.AddRecipientsByPAS (pos);
1664- }
1665-
1666- void CNetMsgScriptHelper::AddAllPlayers ()
1667- {
1668- m_filter.AddAllPlayers ();
1669- }
1670- #endif // GAME_DLL
1671-
16721646void CNetMsgScriptHelper::WriteInt ( int iValue, int bits )
16731647{
16741648 SCRIPT_NETMSG_WRITE_FUNC
@@ -1926,11 +1900,8 @@ BEGIN_SCRIPTDESC_ROOT_NAMED( CNetMsgScriptHelper, "CNetMsg", SCRIPT_SINGLETON "N
19261900#ifdef GAME_DLL
19271901 DEFINE_SCRIPTFUNC ( SendUserMessage, " Send a usermessage from the server to the client" )
19281902 DEFINE_SCRIPTFUNC ( SendEntityMessage, " Send a message from a server side entity to its client side counterpart" )
1929- DEFINE_SCRIPTFUNC ( AddRecipient, " " )
1930- // DEFINE_SCRIPTFUNC( RemoveRecipient, "" )
1931- DEFINE_SCRIPTFUNC ( AddRecipientsByPVS, " " )
1932- DEFINE_SCRIPTFUNC ( AddRecipientsByPAS, " " )
1933- DEFINE_SCRIPTFUNC ( AddAllPlayers, " " )
1903+
1904+ // TODO: multiplayer
19341905#else
19351906 DEFINE_SCRIPTFUNC ( DispatchUserMessage, " Dispatch a usermessage on client" )
19361907#endif
0 commit comments