Better way of saving than this?
#1

Alright, let's say I want to save 13 weapons. Is there any better way of doing it than this?

pawn Код:
enum pInfo
{
   pWeapon1,
   pAmmo1,
   pWeapon2,
   pAmmo2,
   pWeapon3,
   pAmmo3
}
Reply
#2

That's good, but my one is shorter

pawn Код:
enum pInfo
{
   pWeapon[13],// = 12 + 1
   pAmmo[13] // = 12 + 1
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)