Raised This Month: $ Target: $400
 0% 

make_deathmsg usage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 08-06-2010 , 20:24   Re: make_deathmsg usage
Reply With Quote #10

I was just under the assumption that get_weaponname( ) would return the "weapon_name". But, I'm not sure.

As for the const thing I was talking about earlier, I would just do something like this:

PHP Code:
new const gszWeaponNames[][] =
{
    
"p228",
    
"",
    
"scout",
    
"grenade",
    
"xm1014",
    
"C4",
    
"mac10",
    
"aug",
    
"",
    
"dual elites",
    
"fiveseven",
    
"ump45"
    "sg550"
,
    
"galil",
    
"famas",
    
"usp",
    
"glock",
    
"awp",
    
"mp5",
    
"m249",
    
"m3",
    
"m4a1",
    
"tmp",
    
"g3sg1",
    
"",
    
"deagle",
    
"sg552",
    
"ak-47",
    
"knife",
    
"p90"

^If wrecked's version doesn't work. Then, do use a weapon, just do gszWeaponNames[wepid].
RedRobster 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 00:06.


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