I want to find out when someone dies on both ct and t. so i can make it so whn somoene dies, my hero gets health and money!
[edit] get_user_health and set_user_healtha nd all of that is suppose to have a cs infront, i know im just too lazy to go back and put it...[/edit]
for example
register_plugin() {
register_event( "Death", "wdeath", "b" );
return PLUGIN_CONTINUE;
}
public wdeath( wht do put here? ) {
new temp[6]
// First Argument is an id
read_argv(1,temp,5)
new id=str_to_num(temp)