22.08.2010, 03:34
(
Последний раз редактировалось dax123; 22.08.2010 в 03:35.
Причина: correct indentation
)
Quote:
|
hi all i have 1 question, if i have
pawn Код:
|
enum Vehicleinfo ( size 34 - variable structure )
{
Model, //array 0}
Name[32], //array 1-32
Price //array 33
new buyablevehicles[][Vehicleinfo] =
{
{400, "Landstalker", 15000},}
{493, "bmx", 1500}
and you can refer it with buyablevehicles[Model], (or buyablevehicles[Vehicleinfo:0] )
buyablevehicles[Name], buyablevehicles[Price]
this is the best way to implement the requested feature ( as far as I know
) Thanks.


