Thanks, I knew it would be something simple.

--------------------------------------------------
From: "Didrole" <[email protected]>
Sent: Tuesday, June 02, 2009 2:05 PM
To: "Discussion of Half-Life Programming" <[email protected]>
Subject: Re: [hlcoders] Run a server cmd

> Try
> engine->InsertServerCommand("quit\n");
>
> 2009/6/2 Ashvin Dookun <[email protected]>
>
>> 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
>
> 

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to