04.09.2010, 18:39
Is there a way of shorting the function of loading the players weapon data instead of doing this:
pawn Код:
enum pInfo
{
pWeapon,
pAmmo,
pWeapon2,
pAmmo2,
pWeapon3,
pAmmo3,
pWeapon4,
pAmmo4,
pWeapon5,
pAmmo5,
pWeapon6,
pAmmo6,
pWeapon7,
pAmmo7,
pWeapon8,
pAmmo8,
pWeapon9,
pAmmo9,
pWeapon10,
pAmmo10,
pWeapon11,
pAmmo11,
pWeapon12,
pAmmo12,
pWeapon13,
pAmmo13,
pWeapon14,
pAmmo14,
};