Just issue the client command from your client DLL instead of the server. Cl_restrict_server_commands only affects client commands that come in over the network, not local ones.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of LDuke > Sent: Thursday, January 25, 2007 1:04 PM > To: [email protected] > Subject: Re: [hlcoders] removing decals at round start? > > -- > [ Picked text/plain from multipart/alternative ] I would > guess there is a client-side function that you could use, but > I don't know much about the client since I've only done > server plugins. I just see people recommending ClientCommand > on this list a lot and wanted to point out that it won't always work. > > Hopefully, someone else on the list knows what client-side > code you could use. > > > On 1/25/07, Minh <[EMAIL PROTECTED]> wrote: > > > > so what would you use ? > > > > ----- Original Message ----- > > From: "LDuke" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Sent: Thursday, January 25, 2007 6:17 AM > > Subject: Re: [hlcoders] removing decals at round start? > > > > > > > -- > > > [ Picked text/plain from multipart/alternative ] This > won't work if > > > the client has cl_restrict_client_commands on. I believe the > > > default setting is to restrict commands only on Valve games, but > > > clients can change it, and will very likely do so, especially on > > > servers where admins are abusing cexec commands through admin > > > plugins. > > > > > > I wouldn't use ClientCommand for anything that's essential to > > > gameplay, like clearing decals. > > > > > > > > > > > > On 1/23/07, Minh <[EMAIL PROTECTED]> wrote: > > >> > > >> great, thanks, that worked like a charm! > > >> > > >> ----- Original Message ----- > > >> From: "Teddy" <[EMAIL PROTECTED]> > > >> To: <[email protected]> > > >> Sent: Tuesday, January 23, 2007 8:05 PM > > >> Subject: Re: [hlcoders] removing decals at round start? > > >> > > >> > > >> > engine->ClientCommand( "r_cleardecals\n" ); _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

