Raised This Month: $ Target: $400
 0% 

How to get weapon's ID


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wwzw
Member
Join Date: Feb 2009
Old 12-21-2011 , 05:48   How to get weapon's ID
Reply With Quote #1

I would like to set some specific models of weapons. Not everyone, not all weapons. Like this:
if (id == 6) {
give_item (id, "weapon_ak47")
// Then I need to set all of this weapon model: v_ak47.mdl, p_ak47.mdl, w_ak47.mdl
// What they saw, others see, after the fall of weapons
}

How to get this weapon's ID (not the 1 ~ 32), this ID is unique in the map, then how do I set the weapon model?
v_ak47.mdl and p_ak47.mdl. Is not a replacement weapon each time the player will need to set? When a player drop this weapon , how to set up a model of this weapon.
Not all of the ak47 can use this model.
Please help me. Thanks!

Last edited by wwzw; 12-21-2011 at 05:51.
wwzw 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 12:10.


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