Try engine->InsertServerCommand("quit\n"); 2009/6/2 Ashvin Dookun <ashvin_doo...@hotmail.com>
> Hi I'm new to this discussion, so Hi everyone. > > I'm currently developing my own source plug-in everything is going well so > far but I'm stuck with issuing server commands. > > Using the following the code only results in an error being displayed to > the > consol. > > engine->InsertServerCommand("quit"); > engine->ServerExecute(); > > Results in -> Error bad server command, quit. > > I've tried using ServerCommand(); with no luck. > > If anyone could help me out it would be much appreciated, thanks. > > P.S hope this is the correct discussion. > > > _______________________________________________ > 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