28. Oktober 2009 um 09:47 #1 Code pb_sv_ver PunkBuster: PunkBuster Server for COD4 (v1.754 | A1407 C2.207) Enabled Don't know about COD2 / COD5 Punkbuster changes, it should work PHP private function pb_ver() { $return = $this->rcon->rcon("pb_sv_ver"); $pattern = '#^.*?: Punkbuster Server.*?\((.*?) \| (.*?) (.*?)\) Enabled$#i'; preg_match($pattern, $return, $subpatterns); return array($subpatterns[1], $subpatterns[2], $subpatterns[3]); }