Quote:
Originally Posted by GHW_Chronic
its possible to sort the allowed weapons in the menu in CSDM?
Never knew or I would have made it this way originally.
Maybe later, I'm checking my emails right now but I don't have coding time at hand.
|
No, i mean by csdm are the most wanted weapons in front of the menu, in the weaponmenu from CTF ist on first position a scout then a shotgun and the M4A1 is displayed on the second page...
maybe i have to change the order of defines in the pluginheader from this:
PHP Code:
#define MOD_SCOUT 1 //a
#define MOD_XM1014 2 //b
#define MOD_MAC10 4 //c
#define MOD_AUG 8 //d
#define MOD_UMP45 16 //e
#define MOD_SG550 32 //f
#define MOD_GALIL 64 //g
#define MOD_FAMAS 128 //h
#define MOD_AWP 256 //i
#define MOD_MP5NAVY 512 //j
#define MOD_M249 1024 //k
#define MOD_M3 2048 //l
#define MOD_M4A1 4096 //m
#define MOD_TMP 8192 //n
#define MOD_G3SG1 16384 //o
#define MOD_SG552 32768 //p
#define MOD_AK47 65536 //q
#define MOD_P90 131072 //r
#define MOD_P228 262144 //s
#define MOD_ELITE 524288 //t
#define MOD_FIVESEVEN 1048576 //u
#define MOD_USP 2097152 //v
#define MOD_GLOCK18 4194304 //w
#define MOD_DEAGLE 8388608 //x
#define MOD_VEST 16777216//y
#define MOD_VESTHELM 33554432//z
to somethig else...so that the most wanted weapons are first listet...
does it works? I think the "static const weapon_names" must change to the same order when i change it or does it not matter?