Difference between revisions of "Counter-Strike: Source Weapons"

From AlliedModders Wiki
Jump to: navigation, search
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Entity Names for Weapons
+
== Entity Names for Weapons ==
 +
 
 
<pawn>
 
<pawn>
 
glock
 
glock
    usp
+
usp
    p228
+
p228
    deagle  
+
deagle  
    elite  
+
elite  
    fiveseven  
+
fiveseven  
    m3  
+
m3  
    xm1014  
+
xm1014
    galil  
+
galil  
    ak47  
+
ak47  
    scout  
+
scout  
    sg552  
+
sg552  
    awp  
+
awp  
    g3sg1  
+
g3sg1  
    famas  
+
famas  
    m4a1  
+
m4a1  
    aug  
+
aug  
    sg550  
+
sg550  
    mac10  
+
mac10  
    tmp  
+
tmp  
    mp5navy  
+
mp5navy  
    ump45  
+
ump45  
    p90  
+
p90  
    m249  
+
m249
    primammo
+
vest  
    secammo
+
vesthelm  
    vest  
+
flashbang  
    vesthelm  
+
hegrenade  
    flashbang  
+
smokegrenade  
    hegrenade  
+
defuser  
    smokegrenade  
+
nvgs
    defuser  
+
c4
    nvgs
+
</pawn>
 +
 
 +
==Item Names for Weapons(GivePlayerItem)==
 +
 
 +
<pawn>
 +
 
 +
weapon_glock
 +
weapon_usp
 +
weapon_p228
 +
weapon_deagle
 +
weapon_elite
 +
weapon_fiveseven
 +
weapon_m3
 +
weapon_xm1014
 +
weapon_galil
 +
weapon_ak47
 +
weapon_scout
 +
weapon_sg552
 +
weapon_awp
 +
weapon_g3sg1
 +
weapon_famas
 +
weapon_m4a1
 +
weapon_aug
 +
weapon_sg550
 +
weapon_mac10
 +
weapon_tmp
 +
weapon_mp5navy
 +
weapon_ump45
 +
weapon_p90
 +
weapon_m249
 +
//vest
 +
item_assaultsuit //vest+helm
 +
weapon_flashbang
 +
weapon_hegrenade
 +
weapon_smokegrenade
 +
item_defuser
 +
//nvgs
 +
weapon_c4
 
</pawn>
 
</pawn>
  
Line 69: Line 107:
 
     Weapon_SmokeGrenade,
 
     Weapon_SmokeGrenade,
 
     Weapon_Defuser,
 
     Weapon_Defuser,
 +
    Weapon_NightVision,
 +
    Weapon_C4
 
     Weapon_Max
 
     Weapon_Max
 
};
 
};
 
</pawn>
 
</pawn>

Latest revision as of 07:25, 3 November 2011

Entity Names for Weapons

glock
usp
p228
deagle 
elite 
fiveseven 
m3 
xm1014
galil 
ak47 
scout 
sg552 
awp 
g3sg1 
famas 
m4a1 
aug 
sg550 
mac10 
tmp 
mp5navy 
ump45 
p90 
m249
vest 
vesthelm 
flashbang 
hegrenade 
smokegrenade 
defuser 
nvgs
c4

Item Names for Weapons(GivePlayerItem)

weapon_glock
weapon_usp
weapon_p228
weapon_deagle 
weapon_elite 
weapon_fiveseven 
weapon_m3 
weapon_xm1014 
weapon_galil 
weapon_ak47 
weapon_scout 
weapon_sg552 
weapon_awp 
weapon_g3sg1 
weapon_famas 
weapon_m4a1 
weapon_aug 
weapon_sg550 
weapon_mac10 
weapon_tmp 
weapon_mp5navy 
weapon_ump45 
weapon_p90 
weapon_m249
//vest 
item_assaultsuit //vest+helm 
weapon_flashbang 
weapon_hegrenade 
weapon_smokegrenade 
item_defuser 
//nvgs
weapon_c4
enum WeaponType
{
    Weapon_Glock = 0,
    weapon_USP,
    Weapon_P228,
    Weapon_Deagle,
    Weapon_Elite,
    Weapon_FiveSeven,
    Weapon_M3,
    Weapon_XM1014,
    Weapon_Galil,
    Weapon_AK47,
    Weapon_Scout,
    Weapon_SG552,
    Weapon_AWP,
    Weapon_G3SG1,
    Weapon_Famas,
    Weapon_M4A1,
    Weapon_Aug,
    Weapon_SG550,
    Weapon_Mac10,
    Weapon_TMP,
    Weapon_MP5Navy,
    Weapon_Ump45,
    Weapon_P90,
    Weapon_M249,
    Weapon_Vest,
    Weapon_VestHelm,
    Weapon_FlashBang,
    Weapon_HEGrenade,
    Weapon_SmokeGrenade,
    Weapon_Defuser,
    Weapon_NightVision,
    Weapon_C4
    Weapon_Max
};