AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Correct Weaponnumbers (https://forums.alliedmods.net/showthread.php?t=17712)

Bento 09-07-2005 10:56

Correct Weaponnumbers
 
I'm busy editing a plugin but i dont understand these weapon numbers:
18,24,13

it should be the both autosnipers and the AWP. I have no clue which weapon is which number. because every other topic says weapon 13 is for ex. the deagle.

Plz help i want the number of the scout

Code:
    new clip, ammo     new weapon = get_user_weapon(parm[0], clip, ammo)     if(weapon == 18 || weapon == 24 || weapon == 13) {         new id = parm[0]         new origin[3]

PM 09-07-2005 11:00

amxconst.inc:
Code:
#define CSW_P228        1 #define CSW_SCOUT       3 #define CSW_HEGRENADE       4 #define CSW_XM1014      5 #define CSW_C4          6 #define CSW_MAC10       7 #define CSW_AUG         8 #define CSW_SMOKEGRENADE    9 #define CSW_ELITE       10 #define CSW_FIVESEVEN       11 #define CSW_UMP45       12 #define CSW_SG550       13 #define CSW_GALI        14 #define CSW_GALIL       14 #define CSW_FAMAS       15 #define CSW_USP         16 #define CSW_GLOCK18     17 #define CSW_AWP         18 #define CSW_MP5NAVY     19 #define CSW_M249        20 #define CSW_M3          21 #define CSW_M4A1        22 #define CSW_TMP         23 #define CSW_G3SG1       24 #define CSW_FLASHBANG       25 #define CSW_DEAGLE      26 #define CSW_SG552       27 #define CSW_AK47        28 #define CSW_KNIFE       29 #define CSW_P90         30 #define CSW_VEST        31 #define CSW_VESTHELM    32

Bento 09-07-2005 11:05

tnx :D


All times are GMT -4. The time now is 14:35.

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