OMG what i've written here ? Its 1h14 am here time to sleep.
void CDBlockerPlugin::
OnQueryCvarValueFinished( QueryCvarCookie_t iCookie, edict_t *pPlayerEntity,
EQueryCvarValueStatus eStatus, const char *pCvarName, const char *pCvarValue
)
{
    if(strcmpi(pCvarName,"mat_dxlevel")==0)
    {
        //Do stuff here
    }
}

2009/12/13 Joe Cabezas <[email protected]>

> in my opinion, not everyone has this setted..... only who forces dx_level
> via console or config command......
>
> i'm right?
>
> 2009/12/12 Gilles <[email protected]>
>
> > Hi, how can i get the values of client info, like mat_dxlevel.
> >
> > i tried to use
> > engine->GetClientConVarValue( engine->IndexOfEdict(pEntity),
> "mat_dxlevel"
> > )
> > returns nothing, while i try it with the "name" it correctly returns
> > the client name.
> > Any way to do this correctly?
> >
> > Any help is welcome, thanks in advance!
> >
> > _______________________________________________
> > 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