Raised This Month: $ Target: $400
 0% 

Compile Failed


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SpokY
Senior Member
Join Date: Feb 2009
Location: Darmstadt
Old 02-01-2009 , 14:40   Compile Failed
Reply With Quote #1

Hello Guy's

I need your help i have make a new Plugin but it dosent work to compile ..

please can u help me to fix that? Thanks verry much !

Code:
/*
Mein text zum Plugin
*/  

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <hamsandwich>

/*================================================================================
 [Plugin Defines and Variables]
=================================================================================*/

#define PLUGIN_NAME "Deathrun Shop"
#define PLUGIN_VERS "1.0"
#define PLUGIN_AUTH "SpokY"

// Stocks
#define OFFSET_MONEY 115
#define OFFSET_LINUX 5

new Cvar_Enable, Cvar_Message;
new MsgID_Money;

new Gravity_Menu[5]
new Health_Menu[5]
new Armor_Menu[5]
new Speed_Menu[5]


/*================================================================================
 [Plugin Init]
=================================================================================*/

public plugin_init()
{
	register_plugin(PLUGIN_NAME, PLUGIN_VERS, PLUGIN_AUTH)
	
	// Multi-Lingual
	register_dictionary("shop.txt")
	
	// Cmds
	register_clcmd("say /shop", "Clcmd_Say")
	register_clcmd("say_team /shop", "Clcmd_Say")
	
	// Events
	RegisterHam(Ham_Spawn, "player", "Ham_PlrSpawnPost", 1)
	register_forward(FM_SetClientKeyValue, "Fwd_SetClientKeyValue")
	
	// Msg id
	MsgID_Money = get_user_msgid("Money")
	
	// Cvars
	Cvar_Enable = register_cvar("amx_shop_enable", "1")
	Cvar_Message = register_cvar("amx_shop_msg", "1")
	
	
	Gravity_Menu[0] = register_cvar("amx_shop_grav", "1")
	Gravity_Menu[1] = register_cvar("amx_shop_g750", "14500")
	Gravity_Menu[2] = register_cvar("amx_shop_g700", "15000")
	Gravity_Menu[3] = register_cvar("amx_shop_g650", "15500")
	Gravity_Menu[4] = register_cvar("amx_shop_g600", "16000")
	
	Health_Menu[0] = register_cvar("amx_shop_hp", "1")
	Health_Menu[1] = register_cvar("amx_shop_50hp", "1500")
	Health_Menu[2] = register_cvar("amx_shop_75hp", "3000")
	Health_Menu[3] = register_cvar("amx_shop_100hp", "6000")
	Health_Menu[4] = register_cvar("amx_shop_125hp", "7500")

	Armor_Menu[0] = register_cvar("amx_shop_ap", "1")
	Armor_Menu[1] = register_cvar("amx_shop_50ap", "1500")
	Armor_Menu[2] = register_cvar("amx_shop_75ap", "3000")
	Armor_Menu[3] = register_cvar("amx_shop_100ap", "6000")
	Armor_Menu[4] = register_cvar("amx_shop_125ap", "7500")

	Speed_Menu[0] = register_cvar("amx_shop_sd", "1")
	Speed_Menu[1] = register_cvar("amx_shop_50sd", "1500")
	Speed_Menu[2] = register_cvar("amx_shop_75sd", "3000")
	Speed_Menu[3] = register_cvar("amx_shop_100sd", "6000")
	Speed_Menu[4] = register_cvar("amx_shop_125sd", "7500")


}

public plugin_cfg()
{
	new ConfigsDir[32]
	get_configsdir(ConfigsDir, 31);
	
	server_cmd("exec %s/shop.cfg", ConfigsDir)
}

/*================================================================================
 [Plugin Menus]
=================================================================================*/

public Clcmd_Say(id)
{
	if (!is_user_alive(id))
		return PLUGIN_HANDLED
	
	if (!get_pcvar_num(Cvar_Enable))
		client_print(id, print_chat, "%L", id, "SHOP_DISABLED")
	else
		Create_Menu(id)
	
	return PLUGIN_CONTINUE;
}

Create_Menu(id)
{
	new Menu = menu_create("\yDeathrun Shop", "Menu_Handler")
	
	menu_additem(Menu, "\wGravity Menu", "1", 0)
	menu_additem(Menu, "\wHealth Menu", "2", 0)
	menu_additem(Menu, "\wArmor Menu", "3", 0)
	menu_additem(Menu, "\wSpeed Menu", "4", 0)

	
	menu_setprop(Menu, MPROP_EXIT, MEXIT_ALL)
	
	if (get_pcvar_num(Cvar_Enable) == 1)
		menu_display(id, Menu, 0)
	else
		client_print(id, print_chat, "%L", id, "SHOP_DISABLED")
}

public Menu_Handler(id, Menu, item)
{
	if (item == MENU_EXIT)
	{
		menu_destroy(Menu)
		return PLUGIN_HANDLED
	}
	
	new Data[6];
	new Access;
	new Callback;
	new Name[64];
	menu_item_getinfo(Menu, item, Access, Data, 5, Name, 63, Callback)
	
	new Key = str_to_num(Data);
	
	switch (Key)
	{
		case 1:
		{
			new Grav_Menu = menu_create("\yGravity Menu", "Gravity_Handler")
			
			new Items_Gravity[64]
			formatex(Items_Gravity, 63, "\w500 Gravity - $%d", get_pcvar_num(Gravity_Menu[4]))
			menu_additem(Grav_Menu, Items_Gravity, "1", 0)
			
			formatex(Items_Gravity, 63, "\w400 Gravity - $%d", get_pcvar_num(Gravity_Menu[3]))
			menu_additem(Grav_Menu, Items_Gravity, "2", 0)
			
			formatex(Items_Gravity, 63, "\w300 Gravity - $%d", get_pcvar_num(Gravity_Menu[2]))
			menu_additem(Grav_Menu, Items_Gravity, "3", 0)
			
			formatex(Items_Gravity, 63, "\w200 Gravity - $%d", get_pcvar_num(Gravity_Menu[1]))
			menu_additem(Grav_Menu, Items_Gravity, "4", 0)
			
			menu_setprop(Grav_Menu, MPROP_EXIT, MEXIT_ALL)
			
			if (get_pcvar_num(Gravity_Menu[0]) == 1)
				menu_display(id, Grav_Menu, 0)
			else
				client_print(id, print_chat, "%L", id, "SHOP_GRAV_OFF")
		}
		
		case 2:
		{
			new Hp_Menu = menu_create("\yHealth Menu", "Health_Handler")
			
			new Items_Health[64]
			formatex(Items_Health, 63, "\w15 Health - $%d", get_pcvar_num(Health_Menu[1]))
			menu_additem(Hp_Menu, Items_Health, "1", 0)
			
			formatex(Items_Health, 63, "\w35 Health - $%d", get_pcvar_num(Health_Menu[2]))
			menu_additem(Hp_Menu, Items_Health, "2", 0)
			
			formatex(Items_Health, 63, "\w65 Health - $%d", get_pcvar_num(Health_Menu[3]))
			menu_additem(Hp_Menu, Items_Health, "3", 0)
			
			formatex(Items_Health, 63, "\w95 Health - $%d", get_pcvar_num(Health_Menu[4]))
			menu_additem(Hp_Menu, Items_Health, "4", 0)
			
			menu_setprop(Hp_Menu, MPROP_EXIT, MEXIT_ALL)
			
			if (get_pcvar_num(Health_Menu[0]) == 1)
				menu_display(id, Hp_Menu, 0)
			else
				client_print(id, print_chat, "%L", id, "SHOP_HEALTH_OFF")
		}
		
		case 3:
		{
			new Ap_Menu = menu_create("\yArmor Menu", "Armor_Handler")
			
			new Items_Armor[64]
			formatex(Items_Armor, 63, "\w15 Armor - $%d", get_pcvar_num(Armor_Menu[1]))
			menu_additem(Ap_Menu, Items_Armor, "1", 0)
			
			formatex(Items_Armor, 63, "\w35 Armor - $%d", get_pcvar_num(Armor_Menu[2]))
			menu_additem(Ap_Menu, Items_Armor, "2", 0)
			
			formatex(Items_Armor, 63, "\w65 Armor - $%d", get_pcvar_num(Armor_Menu[3]))
			menu_additem(Ap_Menu, Items_Armor, "3", 0)
			
			formatex(Items_Armor, 63, "\w95 Armor - $%d", get_pcvar_num(Armor_Menu[4]))
			menu_additem(Ap_Menu, Items_Armor, "4", 0)
			
			menu_setprop(Ap_Menu, MPROP_EXIT, MEXIT_ALL)
			
			if (get_pcvar_num(Armor_Menu[0]) == 1)
				menu_display(id, Ap_Menu, 0)
			else
				client_print(id, print_chat, "%L", id, "SHOP_ARMOR_OFF")
		}

		case 4:
		{
			new Sd_Menu = menu_create("\ySpeed Menu", "Speed_Handler")
			
			new Items_Speed[64]
			formatex(Items_Speed, 63, "\w15 Speed - $%d", get_pcvar_num(Speed_Menu[1]))
			menu_additem(Sd_Menu, Items_Speed, "1", 0)
			
			formatex(Items_Speed, 63, "\w35 Speed - $%d", get_pcvar_num(Speed_Menu[2]))
			menu_additem(Sd_Menu, Items_Speed, "2", 0)
			
			formatex(Items_Speed, 63, "\w65 Speed - $%d", get_pcvar_num(Speed_Menu[3]))
			menu_additem(Sd_Menu, Items_Speed, "3", 0)
			
			formatex(Items_Speed, 63, "\w95 Speed - $%d", get_pcvar_num(Speed_Menu[4]))
			menu_additem(Sd_Menu, Items_Speed, "4", 0)
			
			menu_setprop(Sd_Menu, MPROP_EXIT, MEXIT_ALL)
			
			if (get_pcvar_num(Speed_Menu[0]) == 1)
				menu_display(id, Sd_Menu, 0)
			else
				client_print(id, print_chat, "%L", id, "SHOP_SPEED_OFF")
		}

	}
	menu_destroy(Menu)
	return PLUGIN_HANDLED
}

public Gravity_Handler(id, Grav_Menu, item)
{
	if (item == MENU_EXIT)
	{
		menu_destroy(Grav_Menu)
		return PLUGIN_HANDLED
	}
	
	new Data[6]
	new Name[64]
	new Access
	new Callback;
	menu_item_getinfo(Grav_Menu, item, Access, Data, 5, Name, 63, Callback)
	
	new Key = str_to_num(Data)
	
	switch (Key)
	{
		case 1:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Gravity_Menu[4])
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_GRAV_ONE")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_gravity (id,0.63);
			}
		}
		
		case 2:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Gravity_Menu[3])
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_GRAV_TWO")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_gravity (id,0.50);
			}
		}
		
		case 3:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Gravity_Menu[2])
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_GRAV_THREE")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_gravity (id,0.38);
			}
		}
		
		case 4:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Gravity_Menu[1])
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_GRAV_FOUR")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_gravity(id,0.25);
			}
		}
		
	}
	menu_destroy(Grav_Menu)
	return PLUGIN_HANDLED
}                

public Health_Handler(id, Hp_Menu, item)
{
	if (item == MENU_EXIT)
	{
		menu_destroy(Hp_Menu)
		return PLUGIN_HANDLED
	}
	
	new Data[6]
	new Name[64]
	new Access
	new Callback;
	menu_item_getinfo(Hp_Menu, item, Access, Data, 5, Name, 63, Callback)
	
	new Key = str_to_num(Data)
	switch (Key)
	{
		case 1:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Health_Menu[1])
			new Health = get_user_health(id)
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_HEALTH_O")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_health(id, Health+50)
			}
		}
		
		case 2:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Health_Menu[2])
			new Health = get_user_health(id)
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_HEALTH_T")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_health(id, Health+75)
			}
		}
		
		
		case 3:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Health_Menu[3])
			new Health = get_user_health(id)
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_HEALTH_TH")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_health(id, Health+100)
			}
		}
		
		
		case 4:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Health_Menu[4])
			new Health = get_user_health(id)
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_HEALTH_F")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_health(id, Health+125)
			}
		}
		
	}
	menu_destroy(Hp_Menu)
	return PLUGIN_HANDLED
}      


public Armor_Handler(id, Ap_Menu, item)
{
	if (item == MENU_EXIT)
	{
		menu_destroy(Ap_Menu)
		return PLUGIN_HANDLED
	}
	
	new Data[6]
	new Name[64]
	new Access
	new Callback;
	menu_item_getinfo(Ap_Menu, item, Access, Data, 5, Name, 63, Callback)
	
	new Key = str_to_num(Data)
	switch (Key)
	{
		case 1:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Armor_Menu[1])
			new Armor = get_user_armor(id)
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_ARMOR_O")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_armor(id, Armor+50)
			}
		}
		
		case 2:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Armor_Menu[2])
			new Armor = get_user_armor(id)
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_ARMOR_T")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_armor(id, Armor+75)
			}
		}
		
		
		case 3:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Armor_Menu[3])
			new Armor = get_user_armor(id)
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_ARMOR_TH")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_armor(id, Armor+100)
			}
		}
		
		
		case 4:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Armor_Menu[4])
			new Armor = get_user_armor(id)
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_ARMOR_F")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_armor(id, Armor+125)
			}
		}
		
	}
	menu_destroy(Ap_Menu)
	return PLUGIN_HANDLED
}            

public Speed_Handler(id, Sd_Menu, item)
{
	if (item == MENU_EXIT)
	{
		menu_destroy(Sd_Menu)
		return PLUGIN_HANDLED
	}
	
	new Data[6]
	new Name[64]
	new Access
	new Callback;
	menu_item_getinfo(Sd_Menu, item, Access, Data, 5, Name, 63, Callback)
	
	new Key = str_to_num(Data)
	switch (Key)
	{
		case 1:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Speed_Menu[1])
			new Speed = get_user_speed(id)
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_SPEED_O")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_speed(id, Speed+50)
			}
		}
		
		case 2:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Speed_Menu[2])
			new Speed = get_user_speed(id)
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_SPEED_T")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_speed(id, Speed+75)
			}
		}
		
		
		case 3:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Speed_Menu[3])
			new Speed = get_user_speed(id)
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_SPEED_TH")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_speed(id, Speed+100)
			}
		}
		
		
		case 4:
		{
			new Money = fm_get_user_money(id)
			new Pcvar = get_pcvar_num(Speed_Menu[4])
			new Speed = get_user_speed(id)
			
			if (Money < Pcvar)
			{
				client_print(id, print_chat, "%L", id, "SHOP_MONEY")
			}
			else
			{
				client_print(id, print_chat, "%L", id, "SHOP_SPEED_F")
				
				fm_set_user_money(id, Money-Pcvar)
				fm_set_user_speed(id, Speed+125)
			}
		}
		
	}
	menu_destroy(Sd_Menu)
	return PLUGIN_HANDLED
}            

	
	
/*================================================================================
 [Events]
=================================================================================*/

public Ham_PlrSpawnPost(id)
{
	if (is_user_alive(id))
	{
		fm_set_user_rendering(id)
		fm_set_user_gravity(id, 1.0)
	
		if (Custom_Model[id])
			fm_reset_user_model(id)
	
		if (get_pcvar_num(Cvar_Enable) == 1)
		{
			if (get_pcvar_num(Cvar_Message) == 1)
				client_print(id, print_chat, "%L", LANG_PLAYER, "SHOP_PRINT")
		}
	}
}

public Fwd_SetClientKeyValue(id, const infobuffer[], const key[])
{   
	if (Custom_Model[id] && equal(key, "model"))
		return FMRES_SUPERCEDE;
        
	return FMRES_IGNORED;
}

/*================================================================================
 [Stocks]
=================================================================================*/	


stock fm_set_user_gravity(index, Float:gravity = 1.0) 
{
	set_pev(index, pev_gravity, gravity)
	return 1;
}

stock fm_set_user_health(index, health) 
{
	health > 0 ? set_pev(index, pev_health, float(health)) : dllfunc(DLLFunc_ClientKill, index)
	return 1;
}

stock fm_set_user_armor(index, armor) 
{
	armor > 0 ? set_pev(index, pev_armor, float(health)) : dllfunc(DLLFunc_ClientKill, index)
	return 1;
}

stock fm_set_user_speed(index, speed) 
{
	speed > 0 ? set_pev(index, pev_speed, float(speed)) : dllfunc(DLLFunc_ClientKill, index)
	return 1;
}

stock fm_set_user_money(index, money, flash=1)
{
	set_pdata_int(index, OFFSET_MONEY, money, OFFSET_LINUX);

	message_begin(MSG_ONE, MsgID_Money, {0,0,0}, index)
	write_long(money);
	write_byte(flash);
	message_end();
}

stock fm_get_user_money(index)
{
	return get_pdata_int(index, OFFSET_MONEY, OFFSET_LINUX);
} 


stock fm_give_item(index, const item[]) 
{
	if (!equal(item, "weapon_", 7) && !equal(item, "ammo_", 5) && !equal(item, "item_", 5) && !equal(item, "tf_weapon_", 10))
		return 0

	new ent = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, item))
	
	if (!pev_valid(ent))
		return 0

	new Float:origin[3]
	pev(index, pev_origin, origin)
	set_pev(ent, pev_origin, origin)
	set_pev(ent, pev_spawnflags, pev(ent, pev_spawnflags) | SF_NORESPAWN)
	dllfunc(DLLFunc_Spawn, ent)

	new save = pev(ent, pev_solid)
	dllfunc(DLLFunc_Touch, ent, index)
	
	if (pev(ent, pev_solid) != save)
		return ent

	engfunc(EngFunc_RemoveEntity, ent)
	return -1
}

stock fm_set_user_rendering(entity, fx = kRenderFxNone, r = 255, g = 255, b = 255, render = kRenderNormal, amount = 16) 
{
	new Float:RenderColor[3]
	RenderColor[0] = float(r)
	RenderColor[1] = float(g)
	RenderColor[2] = float(b)

	set_pev(entity, pev_renderfx, fx)
	set_pev(entity, pev_rendercolor, RenderColor)
	set_pev(entity, pev_rendermode, render)
	set_pev(entity, pev_renderamt, float(amount))

	return 1
}



// -------------------- Ends Here ------------------ //
SpokY is offline
Send a message via ICQ to SpokY Send a message via MSN to SpokY
Dr.G
Senior Member
Join Date: Nov 2008
Old 02-01-2009 , 14:46   Re: Compile Failed
Reply With Quote #2

a good idea would be to attach your sma file and ost the errors.. ;)
__________________
Dr.G is offline
SpokY
Senior Member
Join Date: Feb 2009
Location: Darmstadt
Old 02-01-2009 , 14:53   Re: Compile Failed
Reply With Quote #3

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/amxmodx/compiler3/core(0) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(2) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(3) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(4) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(5) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(6) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core( : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(9) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(10) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(11) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(12) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(13) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(14) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(15) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(16) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(17) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(1 : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(19) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(21) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(22) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(23) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(24) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(25) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(26) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(27) : error 075: input line too long (after substitutions)
/home/groups/amxmodx/compiler3/core(2 : error 075: input line too long (after substitutions)
Attached Files
File Type: sma Get Plugin or Get Source (deathrunshop.sma - 586 views - 18.0 KB)
SpokY is offline
Send a message via ICQ to SpokY Send a message via MSN to SpokY
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 02-01-2009 , 15:14   Re: Compile Failed
Reply With Quote #4

Why did you change the author if you aren't the author O.o ? That plugin is the CS Shop edited a little..

Your errors:

Code:
/home/groups/alliedmodders/forums/files/4/7/3/4/8/36542.attach(568) : error 017: undefined symbol "get_user_speed"
/home/groups/alliedmodders/forums/files/4/7/3/4/8/36542.attach(587) : error 017: undefined symbol "get_user_speed"
/home/groups/alliedmodders/forums/files/4/7/3/4/8/36542.attach(607) : error 017: undefined symbol "get_user_speed"
/home/groups/alliedmodders/forums/files/4/7/3/4/8/36542.attach(627) : error 017: undefined symbol "get_user_speed"
/home/groups/alliedmodders/forums/files/4/7/3/4/8/36542.attach(660) : error 017: undefined symbol "Custom_Model"
/home/groups/alliedmodders/forums/files/4/7/3/4/8/36542.attach(660) : warning 215: expression has no effect
/home/groups/alliedmodders/forums/files/4/7/3/4/8/36542.attach(660) : error 001: expected token: ";", but found "]"
/home/groups/alliedmodders/forums/files/4/7/3/4/8/36542.attach(660) : error 029: invalid expression, assumed zero
/home/groups/alliedmodders/forums/files/4/7/3/4/8/36542.attach(660) : fatal error 107: too many error messages on one line
__________________

Last edited by IneedHelp; 02-01-2009 at 15:19.
IneedHelp is offline
SpokY
Senior Member
Join Date: Feb 2009
Location: Darmstadt
Old 02-01-2009 , 15:21   Re: Compile Failed
Reply With Quote #5

Now i get this error's i dont finish ?
the cs shop is only a example for my ideas ^^
How i can fix that?

Code:
/home/groups/amxmodx/tmp3/textaIwUDc.sma(63) : error 032: array index out of bounds (variable "Gravity_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(64) : error 032: array index out of bounds (variable "Gravity_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(65) : error 032: array index out of bounds (variable "Gravity_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(66) : error 032: array index out of bounds (variable "Gravity_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(70) : error 032: array index out of bounds (variable "Health_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(71) : error 032: array index out of bounds (variable "Health_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(72) : error 032: array index out of bounds (variable "Health_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(77) : error 032: array index out of bounds (variable "Armor_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(78) : error 032: array index out of bounds (variable "Armor_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(84) : error 032: array index out of bounds (variable "Speed_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(155) : error 032: array index out of bounds (variable "Gravity_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(158) : error 032: array index out of bounds (variable "Gravity_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(161) : error 032: array index out of bounds (variable "Gravity_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(164) : error 032: array index out of bounds (variable "Gravity_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(183) : error 032: array index out of bounds (variable "Health_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(186) : error 032: array index out of bounds (variable "Health_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(189) : error 032: array index out of bounds (variable "Health_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(211) : error 032: array index out of bounds (variable "Armor_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(214) : error 032: array index out of bounds (variable "Armor_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(239) : error 032: array index out of bounds (variable "Speed_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(276) : error 032: array index out of bounds (variable "Gravity_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(294) : error 032: array index out of bounds (variable "Gravity_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(312) : error 032: array index out of bounds (variable "Gravity_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(330) : error 032: array index out of bounds (variable "Gravity_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(389) : error 032: array index out of bounds (variable "Health_Menu")
/home/groups/amxmodx/tmp3/textaIwUDc.sma(409) : error 032: array index out of bounds (variable "Health_Menu")
SpokY is offline
Send a message via ICQ to SpokY Send a message via MSN to SpokY
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-01-2009 , 15:22   Re: Compile Failed
Reply With Quote #6

Compiles fine now.
Attached Files
File Type: sma Get Plugin or Get Source (deathrunshop.sma - 799 views - 17.9 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
SpokY
Senior Member
Join Date: Feb 2009
Location: Darmstadt
Old 02-01-2009 , 15:25   Re: Compile Failed
Reply With Quote #7

thanks but what is wrong?
SpokY is offline
Send a message via ICQ to SpokY Send a message via MSN to SpokY
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-01-2009 , 15:27   Re: Compile Failed
Reply With Quote #8

A lot was wrong. Compare the 2 yourself and see what I changed.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
SpokY
Senior Member
Join Date: Feb 2009
Location: Darmstadt
Old 02-01-2009 , 15:38   Re: Compile Failed
Reply With Quote #9

thanks verry verry much..
but 1 question :

how i can make a HUD message in green left side over the HP ? in all 60 sec.?

and

how i can make the gravity when i buy one thats only take 60 sec?
SpokY is offline
Send a message via ICQ to SpokY Send a message via MSN to SpokY
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:38.


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