> How would I go about this? > > else if ( FStrEq( pcmd, "msg", stringinput ) ) > { KeyValues *kv = new KeyValues( "menu" ); char string1[24]; Q_snprintf( string1, sizeof(string1), "Hello!" ); kv->SetString( "title", string1 ); kv->SetInt( "level", 1 ); kv->SetInt( "time", 20 );
> helpers->CreateMessage( pEntity, DIALOG_MSG, kv, this ); > kv->deleteThis(); > return PLUGIN_STOP; // we handled this function > } > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders