somone make this for me:
PHP Code:
#include <amxmodx>
#include <fun>
#include <hamsandwich>
public plugin_init() {
register_plugin("test", "1.0", "Beancake12")
RegisterHam(Ham_Spawn, "player", "player_spawn", 1)
}
public player_spawn(id) {
new score = get_user_frags(id) - get_user_deaths(id);
if(score >= 0)
set_user_health(id, 310 - (score*10))
}
but when i start cs with this file in sma and tme amxx, compiled file in plugin. and even i i try to write the file name in plugin.ini it wont work. what goes wrong?
i look at another code for only headshot and some others, but nobody write somthing that can help me.
</span></span>