@@ -1667,32 +1667,6 @@ void CNetMsgScriptHelper::DispatchUserMessage( const char *msg )
16671667}
16681668#endif // GAME_DLL
16691669
1670- #ifdef GAME_DLL
1671- void CNetMsgScriptHelper::AddRecipient ( HSCRIPT player )
1672- {
1673- CBaseEntity *pPlayer = ToEnt (player);
1674- if ( pPlayer )
1675- {
1676- m_filter.AddRecipient ( (CBasePlayer*)pPlayer );
1677- }
1678- }
1679-
1680- void CNetMsgScriptHelper::AddRecipientsByPVS ( const Vector &pos )
1681- {
1682- m_filter.AddRecipientsByPVS (pos);
1683- }
1684-
1685- void CNetMsgScriptHelper::AddRecipientsByPAS ( const Vector &pos )
1686- {
1687- m_filter.AddRecipientsByPAS (pos);
1688- }
1689-
1690- void CNetMsgScriptHelper::AddAllPlayers ()
1691- {
1692- m_filter.AddAllPlayers ();
1693- }
1694- #endif // GAME_DLL
1695-
16961670void CNetMsgScriptHelper::WriteInt ( int iValue, int bits )
16971671{
16981672 SCRIPT_NETMSG_WRITE_FUNC
@@ -1950,11 +1924,8 @@ BEGIN_SCRIPTDESC_ROOT_NAMED( CNetMsgScriptHelper, "CNetMsg", SCRIPT_SINGLETON "N
19501924#ifdef GAME_DLL
19511925 DEFINE_SCRIPTFUNC ( SendUserMessage, " Send a usermessage from the server to the client" )
19521926 DEFINE_SCRIPTFUNC ( SendEntityMessage, " Send a message from a server side entity to its client side counterpart" )
1953- DEFINE_SCRIPTFUNC ( AddRecipient, " " )
1954- // DEFINE_SCRIPTFUNC( RemoveRecipient, "" )
1955- DEFINE_SCRIPTFUNC ( AddRecipientsByPVS, " " )
1956- DEFINE_SCRIPTFUNC ( AddRecipientsByPAS, " " )
1957- DEFINE_SCRIPTFUNC ( AddAllPlayers, " " )
1927+
1928+ // TODO: multiplayer
19581929#else
19591930 DEFINE_SCRIPTFUNC ( DispatchUserMessage, " Dispatch a usermessage on client" )
19601931#endif
0 commit comments