!warn cmd..need to modify..anyone knows how to?

  • Replace the line


    $players[$guid]->say($mod->getLngString("hasBeenWarned", array("<NAME>", "<REASON>", "<WARNS>", "<MAXWARNS>"), array($players[$towarn]->getName(), $reason, $players[$towarn]->warns_warns, $mod->getCV("warns", "warnstokick"))));


    with the line


    $mod->rconSay($mod->getLngString("hasBeenWarned", array("<NAME>", "<REASON>", "<WARNS>", "<MAXWARNS>"), array($players[$towarn]->getName(), $reason, $players[$towarn]->warns_warns, $mod->getCV("warns", "warnstokick"))));


    In adminmod/plugins/warns.php



    Thanks to NiNJA for helping me with this one :biggrin:

  • This threads contains 7 more posts that have been hidden for guests, please register yourself or log-in to continue reading.