1.1 --- a/doc/html/newapi_notes.html Thu Aug 18 16:47:27 2005 +0000
1.2 +++ b/doc/html/newapi_notes.html Thu Aug 18 16:56:23 2005 +0000
1.3 @@ -15,6 +15,7 @@
1.4 <li><a href=#OnFreeEntPrivateData>OnFreeEntPrivateData</a>
1.5 <li><a href=#GameShutdown>GameShutdown</a>
1.6 <li><a href=#ShouldCollide>ShouldCollide</a>
1.7 + <li><a href=#CvarValue>CvarValue</a>
1.8 </ul>
1.9
1.10 <b>NOTE</b>: No examples of these found in SDK...
1.11 @@ -55,6 +56,20 @@
1.12 <br>Added in SDK 2.0.
1.13 </blockquote>
1.14
1.15 +<hr><h3><tt><a name="CvarValue">CvarValue</a></tt></h3>
1.16 +<dd><tt>void (*pfnCvarValue)( const edict_t *pEnt, const char *value );</tt><p>
1.17 +<i>from [email protected], via HLCoders:</i><br>
1.18 +<blockquote><tt>
1.19 +When the client responds to the cvar request you will get a callback to pfnCvarValue()
1.20 +with the edict of the player who is responding and the cvars values.
1.21 +</tt></blockquote>
1.22 +<p><i>comments:</i><br>
1.23 +<blockquote>
1.24 + This API can lead to conflicts when you query more than one cvar from a player
1.25 + at a time. Use IS_QUERYING_CLIENT_CVAR to check if another plugin is querying before
1.26 + you do so.
1.27 +</blockquote>
1.28 +
1.29 <p>
1.30 <hr>
1.31