when i compile this it return:
1 error
could not locate output file.
can somone help me?
PHP Code:
#include <amxmodx>
#include <fun>
#include <hamsandwich>
public plugin_init(){
register_plugin("Even The Odds Mod", "1.1", "Beancake12")
registerHam(Ham_Spawn, "player", "player_spawn", 1)
}
public player_spawn(id){
new FOK = get_user_frags(id) - get_user_deaths(id);
new KOF = get_user_deaths(id) - get_user_frags(id);
if(FOK >= 0)
set_user_health(id, 300 - (FOK*10))
if(get_user_health(id) < 50)
set_user_health(id, 50)
if(KOF >= 0)
set_user_health(id, 300 + (KOF*10))
}