Maybe somebody can help me, I have this code:
PHP
$number = 5;
$xuid = $mod->findPlayerGuid($number);
$players[$xuid]->kick($mod->getCV("registered", "kickreason"));
$mod->rconSay("player number $number kicked);
I get an php error on the $players sintax. I´m sure it is very simple. I´m working on an script for kick player number because its use a for sentence.
Another kick question, is something like "findplayerguid" but for player name? like findplayerName($n);
thanks