AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   compile: could not locate output file (https://forums.alliedmods.net/showthread.php?t=96053)

timian 06-30-2009 08:53

compile: could not locate output file
 
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(id300 - (FOK*10))
    if(
get_user_health(id) < 50)
        
set_user_health(id50)
    if(
KOF >= 0)
        
set_user_health(id300 + (KOF*10))



xPaw 06-30-2009 09:36

Re: compile: could not locate output file
 
registerHam -> RegisterHam

timian 06-30-2009 09:45

Re: compile: could not locate output file
 
doh! was it it!? noo! the worst error i ever get xD but thanks.


All times are GMT -4. The time now is 15:29.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.