Why is it that this work:
Code:
self giveWeapon("hk21_acog_extclip_mp");
But this doesn't:
Code:
self giveWeapon("hk21_extclip_acog_mp");
doesn't?
And how do I know which is the right order to specify attachments for a weapon
Because the weapons are sorted in a alphabetic way?
Because there are weapon files, they're named in sort
like
hk21_acog_silencer_mp - file
u must type same in function
(10-12-2011, 17:21)Se7en Wrote: [ -> ]Because there are weapon files, they're named in sort
like
hk21_acog_silencer_mp - file
u must type same in function
looking in raw\weapons\mp\ that file doesn't actually exist...
taking a look at the hk21, the only files that exist with that name are:
hk21_acog_mp
hk21_elbit_mp
hk21_extclip_mp
hk21_ir_mp
hk21_mp
hk21_reflex_mp
There are no files for dual attachments. There are they odd exceptions for some weapons, like m60_acog_grip_mp, but they only appear when used in combination with a grip attachment. So there isn't a file for every combination of attachments.
LOL, of course there arent... there would be way too much files then.