Hello,
I'm a newb coder. I'm trying to learn to code.
For now i am trying to add Deagle to Xp Mod v0.0.1
This is what i have done for far.
PHP Code:
#define ENABLE_DEAGLE 1
PHP Code:
#define MAXLEVEL_DEAGLE 5
PHP Code:
#define FIRST_XP_DEAGLE 1200
PHP Code:
#define ANY_ABILITY_ENABLED (g_any_nade_enabled || g_any_health_enabled || g_any_armor_enabled || g_any_respawn_enabled || g_any_nofall_enabled || g_any_deagle_enabled)
PHP Code:
new const g_any_weapon_enabled = ENABLE_TERR_DEAGLE + ENABLE_CT_DEAGLE;;
new const g_deagle_names[CsTeams][] =
{
"",
"T Deagle Chance",
"CT Deagle Chance",
""
};
new const g_deagle_classnames[Deagle][] =
{
"weapon_deagle",
};
new_const g_deagle_maxlevels[CsTeams] =
{
0,
MAXLEVEL_TERR_DEAGLE,
MAXLEVEL_CT_DEAGLE,
0
};
new const g_deagle_first_xp[CsTeams] =
{
0,
FIRST_XP_TERR_DEAGLE,
FIRST_XP_TERR_DEAGLE,
0
};
new_const g_deagle_chance[CsTeams] =
{
0,
CHANCE_MAX_TERR_DEAGLE,
CHANCE_MAX_CT_DEAGLE,
0
},
And i don't know what to do so it works.
If you fix it can you send it to private?