\hypertarget{game_8php}{\section{game.\+php File Reference}
\label{game_8php}\index{game.\+php@{game.\+php}}
}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const \hyperlink{game_8php_a39c39f525eceb86cabc338804f230e80}{C\+U\+R\+S\+C\+R\+I\+P\+T} 'game'
\item 
\hyperlink{login__old_8php_a4ac1118c2e44c513a674bc1793ba6c90}{if}(!\$cuser$\vert$$\vert$!\$cpass) \hyperlink{login__old_8php_a4ac1118c2e44c513a674bc1793ba6c90}{if}(\$mode== \\*
'quit') \hyperlink{game_8php_a112ef069ddc0454086e3d1e6d8d55d07}{\$result} = \$db-\/$>$query(\char`\"{}S\+E\+L\+E\+C\+T $\ast$ F\+R\+O\+M \{\$tablepre\}players W\+H\+E\+R\+E name = '\$cuser' A\+N\+D type = 0\char`\"{})
\item 
\hyperlink{login__old_8php_a4ac1118c2e44c513a674bc1793ba6c90}{if}(!\$db-\/$>$num\+\_\+rows(\$\hyperlink{templates_2install_8php_abdecde238169a1e34f68354fc9968af0}{result})) \hyperlink{game_8php_a6378350bbbdfdf1fdd8c8e1cd0607a8d}{\$pdata} = \$db-\/$>$fetch\+\_\+array(\$\hyperlink{templates_2install_8php_abdecde238169a1e34f68354fc9968af0}{result})
\item 
\hyperlink{game_8php_a9a2cf15a653aee8be437f7ae474cd494}{\$log} = ''
\item 
\hyperlink{game_8php_ab6c9112e16f75e62bbdb511dbd0a1ff9}{\$chatdata} = \hyperlink{global_8func_8php_ae94634fa76d1fade04d484f05496a1ed}{getchat}(0,\$team\+I\+D)
\item 
\hyperlink{game_8php_a5d54a0278e200a0ff8007926c5dd2a10}{\$llist} = ''
\item 
\hyperlink{stat_8php_ab54633a8fada54bedd1fe3c2635cfaeb}{while}(\$logtemp=\$db-\/$>$\\*
fetch\+\_\+array(\$\hyperlink{templates_2install_8php_abdecde238169a1e34f68354fc9968af0}{result})) \hyperlink{login__old_8php_a4ac1118c2e44c513a674bc1793ba6c90}{if}(!empty(\$llist)) \\*
\hyperlink{login__old_8php_a4ac1118c2e44c513a674bc1793ba6c90}{if}(\$hp $>$ 0) \hyperlink{login__old_8php_a4ac1118c2e44c513a674bc1793ba6c90}{if}(\$hp$<$=0) \hyperlink{urlist_8php_a77f52b43f81ed05a41b68c2161789055}{elseif}(\$state==1$\vert$$\vert$\$state==2$\vert$$\vert$\$state==3) \\*
\hyperlink{urlist_8php_a77f52b43f81ed05a41b68c2161789055}{elseif}(\$itms0) \hyperlink{game_8php_a19fe96e3b2c3c01d1540e139ae127c43}{else}
\item 
\hyperlink{game_8php_a9c87033fa49b61f753e3c263da5edeab}{\$cmd} = \$main = ''
\item 
if((strpos(\$action,'corpse')===0$\vert$$\vert$strpos(\$action,'pacorpse')===0)\&\&\$gamestate\\*
$<$ 40) if(\$hp $>$ 0 \&\&\$coldtimeon \\*
\&\&\$showcoldtimer \&\&\$rmcdtime) \hyperlink{game_8php_a938aac4a5e30f27dabf019e363b0d356}{if} (\$club==0)
\end{DoxyCompactItemize}


\subsection{Variable Documentation}
\hypertarget{game_8php_ab6c9112e16f75e62bbdb511dbd0a1ff9}{\index{game.\+php@{game.\+php}!\$chatdata@{\$chatdata}}
\index{\$chatdata@{\$chatdata}!game.\+php@{game.\+php}}
\subsubsection[{\$chatdata}]{\setlength{\rightskip}{0pt plus 5cm}\$chatdata = {\bf getchat}(0,\$team\+I\+D)}}\label{game_8php_ab6c9112e16f75e62bbdb511dbd0a1ff9}


Definition at line 43 of file game.\+php.

\hypertarget{game_8php_a9c87033fa49b61f753e3c263da5edeab}{\index{game.\+php@{game.\+php}!\$cmd@{\$cmd}}
\index{\$cmd@{\$cmd}!game.\+php@{game.\+php}}
\subsubsection[{\$cmd}]{\setlength{\rightskip}{0pt plus 5cm}\$cmd = \$main = ''}}\label{game_8php_a9c87033fa49b61f753e3c263da5edeab}


Definition at line 90 of file game.\+php.

\hypertarget{game_8php_a5d54a0278e200a0ff8007926c5dd2a10}{\index{game.\+php@{game.\+php}!\$llist@{\$llist}}
\index{\$llist@{\$llist}!game.\+php@{game.\+php}}
\subsubsection[{\$llist}]{\setlength{\rightskip}{0pt plus 5cm}\$llist = ''}}\label{game_8php_a5d54a0278e200a0ff8007926c5dd2a10}


Definition at line 47 of file game.\+php.

\hypertarget{game_8php_a9a2cf15a653aee8be437f7ae474cd494}{\index{game.\+php@{game.\+php}!\$log@{\$log}}
\index{\$log@{\$log}!game.\+php@{game.\+php}}
\subsubsection[{\$log}]{\setlength{\rightskip}{0pt plus 5cm}\$log = ''}}\label{game_8php_a9a2cf15a653aee8be437f7ae474cd494}


Definition at line 41 of file game.\+php.

\hypertarget{game_8php_a6378350bbbdfdf1fdd8c8e1cd0607a8d}{\index{game.\+php@{game.\+php}!\$pdata@{\$pdata}}
\index{\$pdata@{\$pdata}!game.\+php@{game.\+php}}
\subsubsection[{\$pdata}]{\setlength{\rightskip}{0pt plus 5cm}{\bf if} (!\$db-\/$>$num\+\_\+rows(\${\bf result})) \$pdata = \$db-\/$>$fetch\+\_\+array(\${\bf result})}}\label{game_8php_a6378350bbbdfdf1fdd8c8e1cd0607a8d}


Definition at line 19 of file game.\+php.

\hypertarget{game_8php_a112ef069ddc0454086e3d1e6d8d55d07}{\index{game.\+php@{game.\+php}!\$result@{\$result}}
\index{\$result@{\$result}!game.\+php@{game.\+php}}
\subsubsection[{\$result}]{\setlength{\rightskip}{0pt plus 5cm}\${\bf result} = \$db-\/$>$query(\char`\"{}S\+E\+L\+E\+C\+T $\ast$ F\+R\+O\+M \{\$tablepre\}players W\+H\+E\+R\+E name = '\$cuser' A\+N\+D type = 0\char`\"{})}}\label{game_8php_a112ef069ddc0454086e3d1e6d8d55d07}


Definition at line 16 of file game.\+php.

\hypertarget{game_8php_a39c39f525eceb86cabc338804f230e80}{\index{game.\+php@{game.\+php}!C\+U\+R\+S\+C\+R\+I\+P\+T@{C\+U\+R\+S\+C\+R\+I\+P\+T}}
\index{C\+U\+R\+S\+C\+R\+I\+P\+T@{C\+U\+R\+S\+C\+R\+I\+P\+T}!game.\+php@{game.\+php}}
\subsubsection[{C\+U\+R\+S\+C\+R\+I\+P\+T}]{\setlength{\rightskip}{0pt plus 5cm}const C\+U\+R\+S\+C\+R\+I\+P\+T 'game'}}\label{game_8php_a39c39f525eceb86cabc338804f230e80}


Definition at line 3 of file game.\+php.

\hypertarget{game_8php_a19fe96e3b2c3c01d1540e139ae127c43}{\index{game.\+php@{game.\+php}!else@{else}}
\index{else@{else}!game.\+php@{game.\+php}}
\subsubsection[{else}]{\setlength{\rightskip}{0pt plus 5cm}{\bf while} (\$logtemp=\$db-\/$>$fetch\+\_\+array(\${\bf result})) {\bf if} (!empty(\$llist)) {\bf if} (\$hp $>$ 0) {\bf if} (\$hp$<$=0) {\bf elseif} (\$state==1$\vert$$\vert$\$state==2$\vert$$\vert$\$state==3) {\bf elseif} (\$itms0) else}}\label{game_8php_a19fe96e3b2c3c01d1540e139ae127c43}
{\bfseries Initial value\+:}
\begin{DoxyCode}
\{
    $mode = \textcolor{stringliteral}{'command'}
\end{DoxyCode}


Definition at line 86 of file game.\+php.

\hypertarget{game_8php_a938aac4a5e30f27dabf019e363b0d356}{\index{game.\+php@{game.\+php}!if@{if}}
\index{if@{if}!game.\+php@{game.\+php}}
\subsubsection[{if}]{\setlength{\rightskip}{0pt plus 5cm}if ((strpos(\$action,'corpse')===0$\vert$$\vert$strpos(\$action,'pacorpse')===0)\&\&\$gamestate$<$ 40) if (\$hp $>$ 0 \&\&\$coldtimeon \&\&\$showcoldtimer \&\&\$rmcdtime) if(\$club==0)}}\label{game_8php_a938aac4a5e30f27dabf019e363b0d356}


Definition at line 107 of file game.\+php.

