67 {
68
70 PluginDeveloperSync developer_sync = PluginDeveloperSync.Cast(
GetPlugin( PluginDeveloperSync ) );
71
72
74 {
75 ref Param1<bool> params = new Param1<bool>( state );
76 if ( player )
77 {
78 player.RPCSingleParam(
ERPCs.DEV_AGENTS_UPDATE, params,
true );
79 SetRPCSent();
80 }
81 }
82
83 else
84 {
85 if ( developer_sync )
86 {
87 developer_sync.EnableUpdate( state,
ERPCs.DEV_AGENTS_UPDATE, player );
88 }
89 }
90 }
PluginBase GetPlugin(typename plugin_type)
proto native CGame GetGame()