void sendDialog ( short id , char button , short listitem , const char * input ) { BitStream bs ; bs . ResetWritePointer ( ) ; bs . Write ( id ) ; bs . Write ( button ) ; bs . Write ( listitem ) ; bs . Write ( ( BYTE ) strlen ( input ) ) ; bs . Write ( input , strlen ( input ) ) ; SF -> getRakNet ( ) -> SendRPC ( RPCEnumeration :: RPC_DialogResponse , & bs ) ; } //Использование sendDialog ( DialogID , Button , ListItem , Input ) ;