Can someone please redirect me to where i can find them..
I tried putting this in my config
[extramessages]
headshot_enabled = 1
headshot_message = "^7<ATTACKER> ^2blasted ^7<VICTIM>'s ^1head ^2off with (^7<WEAPON>^2)"
falling_enabled = 1
falling_message = "^7<VICTIM> ^2thinks penguins can fly!"
And made this in plugins
Zitat von extramessages.lstAlles anzeigen<?php
$mod->setDefaultCV("extramessages", "headshot_enabled", 1);
$mod->setDefaultCV("extramessages", "falling_enabled", 1);
$mod->setDefaultCV("extramessages", "headshot_message", "^7<VICTIM>^2's brains were splattered by ^7<ATTACKER> ^2(^7<WEAPON>^2)");
$mod->setDefaultCV("extramessages", "falling_message", "^7<VICTIM> ^2thinks penguins can fly!");$mod->registerEvent("playerKill", "extramsgs_kill");
$mod->registerEvent("playerSelfKill", "extramsgs_selfkill");function extramsgs_kill($args) {
list($guid, $victim, $weapon, $damage, $bodypart) = $args;
global $players;
global $mod;if (!$mod->getCV("extramessages", "headshot_enabled")) return;
if ($weapon[1] != "MOD_HEAD_SHOT" && $bodypart != "head") return;$attacker =& $players[$guid];
$victim =& $players[$victim];$search = array("<ATTACKER>", "<VICTIM>", "<WEAPON>");
$replace = array($attacker->getName(), $victim->getName(), $mod->getLongWeaponName($weapon));$mod->rconSay(str_replace($search, $replace, $mod->getCV("extramessages", "headshot_message")));
}function extramsgs_selfkill($args) {
list($guid, $weapon, $damage, $bodypart) = $args;
global $players;
global $mod;if (!$mod->getCV("extramessages", "falling_enabled")) return;
if ($weapon[1] != "MOD_FALLING") return;$victim =& $players[$guid];
$search = "<VICTIM>";
$replace = $victim->getName();$mod->rconSay(str_replace($search, $replace, $mod->getCV("extramessages", "falling_message")));
}
?>
But no luck, it still doesn't work