24.09.2010, 13:03
As this is both floats, integers and strings, you need to use an enum
NOTE: Do not use the exact code I posted, as it's just an example and pretty unefficient.
pawn Код:
enum missionInfo
{
Float:one,
Float:two,
Float:three,
szOne[ 128 ],
szTwo[ 128 ],
szThree[ 128 ],
Float:four,
Float:five,
Float:six,
iOne,
iTwo,
iThree
}
pawn Код:
new TruckDirt[][missionInfo] =
{
{-64.6646,-25.0894,3.1172,"Farm","Hops",-176.2634,-277.9630,1.4297,"FleishBerg Brewery",500,1,0},
{588.0559,844.4221,-42.5385,"Quarry","Coal",-1857.2985,113.2854,15.1172,"Solarin Industries",5000,1,0}
};