Raised This Month: $ Target: $400
 0% 

[HNS XP Mod] Help Adding Deagle and Awp Chance


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 06-27-2010 , 11:33   Re: [HNS XP Mod] Help Adding Deagle and Awp Chance
Reply With Quote #1

Code:
#define WEAPON_AMT 2 new const g_weapons[WEAPON_AMT][] = {     "weapon_awp",     "weapon_deagle" } new const g_ammo[WEAPON_AMT] = {     1, // awp     1 // deagle } // Usage // Let's say he chose the deagle from a menu and choice holds the value 1. cs_set_weapon_ammo( give_item( id, g_weapons[choice] ), g_ammo[choice] ) // He now has a deagle with 1 bullet.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
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 14:48.


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