Code:
/* AMX Mod script.
*
* (c) Copyright 2002-2003, f117bomb
* This file is provided as is (no warranties).
*
*/
/*
*
* This shows the damage you do to people as you shoot via hud msg.
* bullet_damage must be set to 1
*
*/
#include <amxmod>
public damage_msg(vIndex)
{
if ( get_cvar_float("bullet_damage") ) {
new aIndex = get_user_attacker(vIndex)
new damage = read_data(2)
set_hudmessage(0, 100, 200, -1.0, 0.55, 2, 0.1, 4.0, 0.02, 0.02, 7)
show_hudmessage(aIndex,"%i", damage)
}
return PLUGIN_CONTINUE
}
public plugin_init() {
register_plugin("Bullet Damage","1.0","f117bomb")
register_event("Damage", "damage_msg", "b", "2!0", "3=0", "4!0")
register_cvar("bullet_damage","0")
return PLUGIN_CONTINUE
}
hier is der coee, einfach compilieren
wenn du es nich kannst sag bescheid dann lad ich die datei auf meinen webspace hoch