While I was coding the Ammunation feature, I stumbled upon the following issue; in a class, I had a property which had to be used to count the instances of another class. Although it didn't work, so I had to use a hack. Let me explain; the code shows how it should have worked, but actually didn't:
Would be cool to have it fixed!
Code:
class Foo
{
const BarInstances = 30;
}
class Bar <barId (Foo::BarInstances)>
{
// ...
}
Would be cool to have it fixed!
![:) :)](https://forum.sa-mp.nl/images/smilies/got/smile.gif)