new wh[][whinfo] =
{
{STRACCI,"Stracci","~w~Stracci WareHouse",2631.6100,2348.2400,10.6700,1239, 0},
{CORLEONE,"Corleone","~r~Corleone ~w~WareHouse",2185.2300,1114.1200,12.6500,1239, 23},
{CUNEO,"Cuneo","~w~Cuneo WareHouse",2186.1140,2856.6030,11.7745,1239, 2},
{BARZINI,"Barzini","~w~Barzini WareHouse",2127.6200,2376.8300,10.8200,1239, 74},
{LEONE,"Leone","~w~Leone WareHouse",2664.5513,1271.8723,10.8434,1239, 26},
{TATTAGLIA,"Tattaglia","~w~Tattaglia WareHouse",1453.6600,750.4700,11.0200,1239, 5},
{PATERNO,"Paterno","~w~Paterno WareHouse",1043.1600,1012.3000,11.0200,1239, 27},
{KEMIROV,"Rizzuto","~w~Rizzuto WareHouse",941.0282,2346.8472,11.2599,1239, 18},
{TGB,"Triads","~w~Triads WareHouse",-2066.4868,-241.6661,35.3203,1239, 12}
};
Would you mind show us whinfo (I assume it's an enumeration)?
|
enum whinfo
{
whid,
whname[MAX_STRING],
whmsg[MAX_STRING],
Float:warehouse_x,
Float:warehouse_y,
Float:warehouse_z,
whpickup,
Text3D:whlabel,
}
new wh[][whinfo] =
{
{STRACCI,"Stracci","~w~Stracci WareHouse",2631.6100,2348.2400,10.6700,1239, Text3D:0},
{CORLEONE,"Corleone","~r~Corleone ~w~WareHouse",2185.2300,1114.1200,12.6500,1239, Text3D:23},
{CUNEO,"Cuneo","~w~Cuneo WareHouse",2186.1140,2856.6030,11.7745,1239, Text3D:2},
{BARZINI,"Barzini","~w~Barzini WareHouse",2127.6200,2376.8300,10.8200,1239, Text3D:74},
{LEONE,"Leone","~w~Leone WareHouse",2664.5513,1271.8723,10.8434,1239, Text3D:26},
{TATTAGLIA,"Tattaglia","~w~Tattaglia WareHouse",1453.6600,750.4700,11.0200,1239, Text3D:5},
{PATERNO,"Paterno","~w~Paterno WareHouse",1043.1600,1012.3000,11.0200,1239, Text3D:27},
{KEMIROV,"Rizzuto","~w~Rizzuto WareHouse",941.0282,2346.8472,11.2599,1239, Text3D:18},
{TGB,"Triads","~w~Triads WareHouse",-2066.4868,-241.6661,35.3203,1239, Text3D:12}
};
#define MAX_WH (9)
enum whinfo
{
whid,
whname[MAX_STRING],
whmsg[MAX_STRING],
Float:warehouse_x,
Float:warehouse_y,
Float:warehouse_z,
whpickup
}
new wh[MAX_WH][whinfo] =
{
{STRACCI,"Stracci","~w~Stracci WareHouse",2631.6100,2348.2400,10.6700,1239},
{CORLEONE,"Corleone","~r~Corleone ~w~WareHouse",2185.2300,1114.1200,12.6500,1239},
{CUNEO,"Cuneo","~w~Cuneo WareHouse",2186.1140,2856.6030,11.7745,1239},
{BARZINI,"Barzini","~w~Barzini WareHouse",2127.6200,2376.8300,10.8200,1239},
{LEONE,"Leone","~w~Leone WareHouse",2664.5513,1271.8723,10.8434,1239},
{TATTAGLIA,"Tattaglia","~w~Tattaglia WareHouse",1453.6600,750.4700,11.0200,1239},
{PATERNO,"Paterno","~w~Paterno WareHouse",1043.1600,1012.3000,11.0200,1239},
{KEMIROV,"Rizzuto","~w~Rizzuto WareHouse",941.0282,2346.8472,11.2599,1239},
{TGB,"Triads","~w~Triads WareHouse",-2066.4868,-241.6661,35.3203,1239}
};
new Text3D:whlabel[MAX_WH];