Raised This Month: $ Target: $400
 0% 

Deagle


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Crazybeer
BANNED
Join Date: Jan 2010
Location: The Pacifier
Old 03-06-2010 , 11:12   Deagle
Reply With Quote #1

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?
Attached Files
File Type: sma Get Plugin or Get Source (hns_xp.sma - 163 views - 55.0 KB)
Crazybeer is offline
 



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 08:45.


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