<divid=Content><divclass="CSection"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="Client_Interface"></a>Client Interface</h1><divclass=CBody><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#Client_Interface">Client Interface</a></td><tdclass=SDescription></td></tr><trclass="SSection"><tdclass=SEntry><ahref="#Constants">Constants</a></td><tdclass=SDescription></td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#Constants">Constants</a></td><tdclass=SDescription></td></tr><trclass="SConstant SIndent2 SMarked"><tdclass=SEntry><ahref="#Client_States">Client States</a></td><tdclass=SDescription></td></tr><trclass="SConstant SIndent2"><tdclass=SEntry><ahref="#Image_Formats">Image Formats</a></td><tdclass=SDescription></td></tr><trclass="SConstant SIndent2 SMarked"><tdclass=SEntry><ahref="#Texture_Loading_Flags">Texture Loading Flags</a></td><tdclass=SDescription></td></tr><trclass="SConstant SIndent2"><tdclass=SEntry><ahref="#Server_Browser_Sorting">Server Browser Sorting</a></td><tdclass=SDescription></td></tr><trclass="SSection"><tdclass=SEntry><ahref="#Structures">Structures</a></td><tdclass=SDescription></td></tr><trclass="SClass"><tdclass=SEntry><ahref="#SERVER_INFO_PLAYER">SERVER_INFO_PLAYER</a></td><tdclass=SDescription></td></tr><trclass="SClass"><tdclass=SEntry><ahref="#SERVER_INFO">SERVER_INFO</a></td><tdclass=SDescription></td></tr><trclass="SSection"><tdclass=SEntry><ahref="#Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#Time">Time</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#client_tick"id=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">client_tick</a></td><tdclass=SDescription>Returns the tick of the current snapshot.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#client_prevtick"id=link2onMouseOver="ShowTip(event, 'tt2', 'link2')"onMouseOut="HideTip('tt2')">client_prevtick</a></td><tdclass=SDescription>Returns the tick of the previous snapshot.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#client_intratick"id=link3onMouseOver="ShowTip(event, 'tt3', 'link3')"onMouseOut="HideTip('tt3')">client_intratick</a></td><tdclass=SDescription>Returns the current intratick.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#client_predtick"id=link4onMouseOver="ShowTip(event, 'tt4', 'link4')"onMouseOut="HideTip('tt4')">client_predtick</a></td><tdclass=SDescription>Returns the current predicted tick.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#client_predintratick"id=link5onMouseOver="ShowTip(event, 'tt5', 'link5')"onMouseOut="HideTip('tt5')">client_predintratick</a></td><tdclass=SDescription>Returns the current preticted intra tick.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#client_ticktime"id=link6onMouseOver="ShowTip(event, 'tt6', 'link6')"onMouseOut="HideTip('tt6')">client_ticktime</a></td><tdclass=SDescription>TODO</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#client_tickspeed"id=link7onMouseOver="ShowTip(event, 'tt7', 'link7')"onMouseOut="HideTip('tt7')">client_tickspeed</a></td><tdclass=SDescription>Returns how many ticks per second the client is doing.</td></tr><trclass="SFunction SIndent2"><tdclass=SEntry><ahref="#client_frametime"id=link8onMouseOver="ShowTip(event, 'tt8', 'link8')"onMouseOut="HideTip('tt8')">client_frametime</a></td><tdclass=SDescription>Returns how long time the last frame took to process.</td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#client_localtime"id=link9onMouseOver="ShowTip(event, 'tt9', 'link9')"onMouseOut="HideTip('tt9')">client_localtime</a></td><tdclass=SDescription>Returns the clients local time.</td>
<divclass="CConstant"><divclass=CTopic><h3class=CTitle><aname="Client_States"></a>Client States</h3><divclass=CBody><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry><aname="CLIENTSTATE_OFFLINE"></a>CLIENTSTATE_OFFLINE</td><tdclass=CDLDescription>The client is offline.</td></tr><tr><tdclass=CDLEntry><aname="CLIENTSTATE_CONNECTING"></a>CLIENTSTATE_CONNECTING</td><tdclass=CDLDescription>The client is trying to connect to a server.</td></tr><tr><tdclass=CDLEntry><aname="CLIENTSTATE_LOADING"></a>CLIENTSTATE_LOADING</td><tdclass=CDLDescription>The client has connected to a server and is loading resources.</td></tr><tr><tdclass=CDLEntry><aname="CLIENTSTATE_ONLINE"></a>CLIENTSTATE_ONLINE</td><tdclass=CDLDescription>The client is connected to a server and running the game.</td></tr><tr><tdclass=CDLEntry><aname="CLIENTSTATE_QUITING"></a>CLIENTSTATE_QUITING</td><tdclass=CDLDescription>The client is quiting.</td></tr></table></div></div></div>
<divclass="CConstant"><divclass=CTopic><h3class=CTitle><aname="Image_Formats"></a>Image Formats</h3><divclass=CBody><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry><aname="IMG_AUTO"></a>IMG_AUTO</td><tdclass=CDLDescription>Lets the engine choose the format.</td></tr><tr><tdclass=CDLEntry><aname="IMG_RGB"></a>IMG_RGB</td><tdclass=CDLDescription>8-Bit uncompressed RGB</td></tr><tr><tdclass=CDLEntry><aname="IMG_RGBA"></a>IMG_RGBA</td><tdclass=CDLDescription>8-Bit uncompressed RGBA</td></tr><tr><tdclass=CDLEntry><aname="IMG_ALPHA"></a>IMG_ALPHA</td><tdclass=CDLDescription>8-Bit uncompressed alpha</td></tr></table></div></div></div>
<divclass="CConstant"><divclass=CTopic><h3class=CTitle><aname="Texture_Loading_Flags"></a>Texture Loading Flags</h3><divclass=CBody><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry><aname="TEXLOAD_NORESAMPLE"></a>TEXLOAD_NORESAMPLE</td><tdclass=CDLDescription>Prevents the texture from any resampling</td></tr></table></div></div></div>
<divclass="CConstant"><divclass=CTopic><h3class=CTitle><aname="Server_Browser_Sorting"></a>Server Browser Sorting</h3><divclass=CBody><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry><aname="BROWSESORT_NAME"></a>BROWSESORT_NAME</td><tdclass=CDLDescription>Sort by name.</td></tr><tr><tdclass=CDLEntry><aname="BROWSESORT_PING"></a>BROWSESORT_PING</td><tdclass=CDLDescription>Sort by ping.</td></tr><tr><tdclass=CDLEntry><aname="BROWSESORT_MAP"></a>BROWSESORT_MAP</td><tdclass=CDLDescription>Sort by map</td></tr><tr><tdclass=CDLEntry><aname="BROWSESORT_GAMETYPE"></a>BROWSESORT_GAMETYPE</td><tdclass=CDLDescription>Sort by game type. DM, TDM etc.</td></tr><tr><tdclass=CDLEntry><aname="BROWSESORT_PROGRESSION"></a>BROWSESORT_PROGRESSION</td><tdclass=CDLDescription>Sort by progression.</td></tr><tr><tdclass=CDLEntry><aname="BROWSESORT_NUMPLAYERS"></a>BROWSESORT_NUMPLAYERS</td><tdclass=CDLDescription>Sort after how many players there are on the server.</td></tr></table></div></div></div>
<divclass="CSection"><divclass=CTopic><h2class=CTitle><aname="Functions"></a>Functions</h2><divclass=CBody><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SGroup"><tdclass=SEntry><ahref="#Time">Time</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#client_tick"id=link35onMouseOver="ShowTip(event, 'tt1', 'link35')"onMouseOut="HideTip('tt1')">client_tick</a></td><tdclass=SDescription>Returns the tick of the current snapshot.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#client_prevtick"id=link36onMouseOver="ShowTip(event, 'tt2', 'link36')"onMouseOut="HideTip('tt2')">client_prevtick</a></td><tdclass=SDescription>Returns the tick of the previous snapshot.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#client_intratick"id=link37onMouseOver="ShowTip(event, 'tt3', 'link37')"onMouseOut="HideTip('tt3')">client_intratick</a></td><tdclass=SDescription>Returns the current intratick.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#client_predtick"id=link38onMouseOver="ShowTip(event, 'tt4', 'link38')"onMouseOut="HideTip('tt4')">client_predtick</a></td><tdclass=SDescription>Returns the current predicted tick.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#client_predintratick"id=link39onMouseOver="ShowTip(event, 'tt5', 'link39')"onMouseOut="HideTip('tt5')">client_predintratick</a></td><tdclass=SDescription>Returns the current preticted intra tick.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#client_ticktime"id=link40onMouseOver="ShowTip(event, 'tt6', 'link40')"onMouseOut="HideTip('tt6')">client_ticktime</a></td><tdclass=SDescription>TODO</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#client_tickspeed"id=link41onMouseOver="ShowTip(event, 'tt7', 'link41')"onMouseOut="HideTip('tt7')">client_tickspeed</a></td><tdclass=SDescription>Returns how many ticks per second the client is doing.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#client_frametime"id=link42onMouseOver="ShowTip(event, 'tt8', 'link42')"onMouseOut="HideTip('tt8')">client_frametime</a></td><tdclass=SDescription>Returns how long time the last frame took to process.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#client_localtime"id=link43onMouseOver="ShowTip(event, 'tt9', 'link43')"onMouseOut="HideTip('tt9')">client_localtime</a></td><tdclass=SDescription>Returns the clients local time.</td></tr><trclass="SGroup"><tdclass=SEntry><ahref="#Server_Browser">Server Browser</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#client_serverbrowse_refresh"id=link44onMouseOver="ShowTip(event, 'tt10', 'link44')"onMouseOut="HideTip('tt10')">client_serverbrowse_refresh</a></td><tdclass=SDescription>Issues a refresh of the server browser.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#client_serverbrowse_sorted_get"id=link45onMouseOver="ShowTip(event, 'tt11', 'link45')"onMouseOut="HideTip('tt11')">client_serverbrowse_sorted_get</a></td><tdclass=SDescription>Returns server info from the sorted list.</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#client_serverbrowse_sorted_num"id=link46onMouseOver="ShowTip(event, 'tt12', 'link46')"onMouseOut="HideTip('tt12')">client_serverbrowse_sorted_num</a></td><tdclass=SDescription>Returns how many servers there are in the sorted list.</td></tr><trclass="SFunction SIndent1"><tdclass=SEntry><ahref="#client_serverbrowse_get"id=link47onMouseOver="ShowTip(event, 'tt13', 'link47')"onMouseOut="HideTip('tt13')">client_serverbrowse_get</a></td><tdclass=SDescription>TODO</td></tr><trclass="SFunction SIndent1 SMarked"><tdclass=SEntry><ahref="#client_serverbrowse_num"id=link48onMouseOver="ShowTip(event, 'tt14', 'link48')"onMouseOut="HideT
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_tick"></a>client_tick</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_tick()</td></tr></table></blockquote><p>Returns the tick of the current snapshot.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_prevtick"></a>client_prevtick</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_prevtick()</td></tr></table></blockquote><p>Returns the tick of the previous snapshot.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_intratick"></a>client_intratick</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>float client_intratick()</td></tr></table></blockquote><p>Returns the current intratick.</p><h4class=CHeading>Remarks</h4><p>The intratick is how far gone the time is from the previous snapshot to the current. 0.0 means that it on the previous snapshot. 0.5 means that it’s halfway to the current, and 1.0 means that it is on the current snapshot. It can go beyond 1.0 which means that the client has started to extrapolate due to lack of data from the server.</p><h4class=CHeading>See Also</h4><p><ahref="#client_tick"class=LFunctionid=link69onMouseOver="ShowTip(event, 'tt1', 'link69')"onMouseOut="HideTip('tt1')">client_tick</a></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_predtick"></a>client_predtick</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_predtick()</td></tr></table></blockquote><p>Returns the current predicted tick.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_predintratick"></a>client_predintratick</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>float client_predintratick()</td></tr></table></blockquote><p>Returns the current preticted intra tick.</p><h4class=CHeading>Remarks</h4><p>This is the same as <ahref="#client_intratick"class=LFunctionid=link70onMouseOver="ShowTip(event, 'tt3', 'link70')"onMouseOut="HideTip('tt3')">client_intratick</a> but for the current predicted tick and previous predicted tick.</p><h4class=CHeading>See Also</h4><p><ahref="#client_intratick"class=LFunctionid=link71onMouseOver="ShowTip(event, 'tt3', 'link71')"onMouseOut="HideTip('tt3')">client_intratick</a></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_tickspeed"></a>client_tickspeed</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_tickspeed()</td></tr></table></blockquote><p>Returns how many ticks per second the client is doing.</p><h4class=CHeading>Remarks</h4><p>This will be the same as the server tick speed.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_frametime"></a>client_frametime</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>float client_frametime()</td></tr></table></blockquote><p>Returns how long time the last frame took to process.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_localtime"></a>client_localtime</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>float client_localtime()</td></tr></table></blockquote><p>Returns the clients local time.</p><h4class=CHeading>Remarks</h4><p>The local time is set to 0 when the client starts and when it connects to a server. Can be used for client side effects.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_serverbrowse_refresh"></a>client_serverbrowse_refresh</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void client_serverbrowse_refresh(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>type</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Issues a refresh of the server browser.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>type</td><tdclass=CDLDescription>What type of servers to browse, internet, lan or favorites.</td></tr></table><h4class=CHeading>Remarks</h4><p>This will cause a broadcast on the local network if the lan argument is set. Otherwise it call ask all the master servers for their servers lists.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_serverbrowse_sorted_get"></a>client_serverbrowse_sorted_get</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>SERVER_INFO *client_serverbrowse_sorted_get(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>index</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns server info from the sorted list.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>index</td><tdclass=CDLDescription>Zero based index into the sorted list.</td></tr></table><h4class=CHeading>See Also</h4><p><ahref="#client_serverbrowse_sorted_num"class=LFunctionid=link72onMouseOver="ShowTip(event, 'tt12', 'link72')"onMouseOut="HideTip('tt12')">client_serverbrowse_sorted_num</a></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_serverbrowse_sorted_num"></a>client_serverbrowse_sorted_num</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_serverbrowse_sorted_num()</td></tr></table></blockquote><p>Returns how many servers there are in the sorted list.</p><h4class=CHeading>See Also</h4><p><ahref="#client_serverbrowse_sorted_get"class=LFunctionid=link73onMouseOver="ShowTip(event, 'tt11', 'link73')"onMouseOut="HideTip('tt11')">client_serverbrowse_sorted_get</a></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_serverbrowse_addfavorite"></a>client_serverbrowse_addfavorite</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void client_serverbrowse_addfavorite(</td><tdclass=PTypenowrap>NETADDR </td><tdclass=PParameternowrap>addr</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Adds a server to the favorite list</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>addr</td><tdclass=CDLDescription>Address of the favorite server.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_serverbrowse_removefavorite"></a>client_serverbrowse_removefavorite</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void client_serverbrowse_removefavorite(</td><tdclass=PTypenowrap>NETADDR </td><tdclass=PParameternowrap>addr</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Removes a server to the favorite list</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>addr</td><tdclass=CDLDescription>Address of the favorite server.</td></tr></table></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_connect"></a>client_connect</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void client_connect(</td><tdclass=PTypePrefixnowrap>const </td><tdclass=PTypenowrap>char </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>address</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Connects to a server at the specified address.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>address</td><tdclass=CDLDescription>Address of the server to connect to.</td></tr></table><h4class=CHeading>See Also</h4><p><ahref="#client_disconnect"class=LFunctionid=link74onMouseOver="ShowTip(event, 'tt21', 'link74')"onMouseOut="HideTip('tt21')">client_disconnect</a></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_disconnect"></a>client_disconnect</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void client_disconnect()</td></tr></table></blockquote><p>Disconnects from the current server.</p><h4class=CHeading>Remarks</h4><p>Does nothing if not connected to a server.</p><h4class=CHeading>See Also</h4><p><client_connect, client_quit></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_quit"></a>client_quit</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>void client_quit()</td></tr></table></blockquote><p>Tells to client to shutdown.</p><h4class=CHeading>See Also</h4><p><ahref="#client_disconnect"class=LFunctionid=link75onMouseOver="ShowTip(event, 'tt21', 'link75')"onMouseOut="HideTip('tt21')">client_disconnect</a></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_rcon"></a>client_rcon</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void client_rcon(</td><tdclass=PTypePrefixnowrap>const </td><tdclass=PTypenowrap>char </td><tdclass=PParameterPrefixnowrap>*</td><tdclass=PParameternowrap>cmd</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote><p>Sends a command to the server to execute on it’s console.</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>cmd</td><tdclass=CDLDescription>The command to send.</td></tr></table><h4class=CHeading>Remarks</h4><p>The client must have the correct rcon password to connect.</p><h4class=CHeading>See Also</h4><p><client_rcon_auth, client_rcon_authed></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_latestversion"></a>client_latestversion</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>const char *client_latestversion()</td></tr></table></blockquote><p>Returns 0 if there’s no version difference</p><h4class=CHeading>Arguments</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>arg1</td><tdclass=CDLDescription>desc</td></tr></table><h4class=CHeading>Returns</h4><h4class=CHeading>See Also</h4><p><other_func></p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_connection_problems"></a>client_connection_problems</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_connection_problems()</td></tr></table></blockquote><p>Returns 1 if the client is connection problems.</p><h4class=CHeading>Remarks</h4><p>Connections problems usually means that the client havn’t recvived any data from the server in a while.</p></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="client_state"></a>client_state</h3><divclass=CBody><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_state()</td></tr></table></blockquote><p>Returns the state of the client.</p><h4class=CHeading>See Also</h4><p><ahref="#Client_States"class=LConstant>Client States</a></p></div></div></div>
<divclass=CToolTipid="tt1"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_tick()</td></tr></table></blockquote>Returns the tick of the current snapshot.</div></div><divclass=CToolTipid="tt2"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_prevtick()</td></tr></table></blockquote>Returns the tick of the previous snapshot.</div></div><divclass=CToolTipid="tt3"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>float client_intratick()</td></tr></table></blockquote>Returns the current intratick.</div></div><divclass=CToolTipid="tt4"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_predtick()</td></tr></table></blockquote>Returns the current predicted tick.</div></div><divclass=CToolTipid="tt5"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>float client_predintratick()</td></tr></table></blockquote>Returns the current preticted intra tick.</div></div><divclass=CToolTipid="tt6"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>float client_ticktime()</td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt7"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_tickspeed()</td></tr></table></blockquote>Returns how many ticks per second the client is doing.</div></div><divclass=CToolTipid="tt8"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>float client_frametime()</td></tr></table></blockquote>Returns how long time the last frame took to process.</div></div><divclass=CToolTipid="tt9"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>float client_localtime()</td></tr></table></blockquote>Returns the clients local time.</div></div><divclass=CToolTipid="tt10"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>void client_serverbrowse_refresh(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>type</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Issues a refresh of the server browser.</div></div><divclass=CToolTipid="tt11"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>SERVER_INFO *client_serverbrowse_sorted_get(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>index</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Returns server info from the sorted list.</div></div><divclass=CToolTipid="tt12"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_serverbrowse_sorted_num()</td></tr></table></blockquote>Returns how many servers there are in the sorted list.</div></div><divclass=CToolTipid="tt13"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>SERVER_INFO *client_serverbrowse_get(</td><tdclass=PTypenowrap>int </td><tdclass=PParameternowrap>index</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt14"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_serverbrowse_num()</td></tr></table></blockquote>TODO</div></div><divclass=CToolTipid="tt15"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class=Prototype><tr><td>int client_serverbrowse_num_reques