hmmm do u know how to code ? me thinks not
try removing the erroneous '}' in your code....and indent things nicely....the code compiles, not sure if its going to do what your after tho...
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
#define TEAM_T 1
#define TEAM_CT 2
#define PLUGIN_NAME "C4 Madness"
#define PLUGIN_VERSION "0.1"
#define PLUGIN_AUTHOR "n0obie4life"
public round_start(id)
{
switch(get_user_team(id))
{
case TEAM_T: if (get_cvar_num("c4_t")) give_item(id,"weapon_c4")
case TEAM_CT: if (get_cvar_num("c4_ct")) give_item(id,"weapon_c4")
}
return PLUGIN_CONTINUE
}
public plugin_init()
{
register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR)
register_cvar("c4_t","1")
register_cvar("c4_ct","0")
register_event("ResetHUD", "round_start", "b")
}