[Ajuda] Erro array
#1

Код:
new Float:ObjetosCasas[72][7] =
{
	{1429, -2280.60376, -14.82680, 38.03000,   0.00000, 0.00000, 70.61990},
	{1518, -2280.63721, -16.44526, 38.05420,   0.00000, 0.00000, 120.36000},
	{2912, -2278.36792, -14.86620, 37.29990,   0.00000, 0.00000, -1.62000},
	{2190, -2280.72827, -15.26394, 37.77455,   0.00000, 0.00000, 50.69999},
	{1788, -2280.53418, -16.19723, 37.44304,   0.00000, 0.00000, -49.37999},
	{1790, -2280.39893, -14.92786, 37.45214,   0.00000, 0.00000, 88.37997},
	{2028, -2278.22900, -16.77450, 37.40304,   0.00000, 0.00000, 0.00000},
	{1429, 942.56305, 1976.67395, 11.34690,   0.00000, 0.00000, -62.10000},
	{1518, 942.44531, 1974.96301, 11.42232,   0.00000, 0.00000, -112.56001},
	{2912, 939.79364, 1974.82947, 10.62529,   0.00000, 0.00000, 0.00000},
	{1788, 942.32104, 1976.73279, 10.83022,   0.00000, 0.00000, -85.32000},
	{1790, 942.38721, 1975.06116, 10.73031,   0.00000, 0.00000, -90.17999},
	{2028, 940.09308, 1977.05005, 10.82510,   0.00000, 0.00000, 0.00000},
	{2190, 939.99139, 1977.32190, 11.11951,   0.00000, 0.00000, 0.00000},
	{1429, -2394.00562, -15.47150, 36.23100,   0.00000, 0.00000, 0.00000},
	{1518, -2395.78857, -15.53133, 36.23100,   0.00000, 0.00000, 0.00000},
	{2912, -2395.92505, -19.09909, 34.42548,   0.00000, 0.00000, 0.00000},
	{2190, -2394.71484, -15.21817, 35.98800,   0.00000, 0.00000, 0.00000},
	{1788, -2395.75928, -15.45650, 35.19190,   0.00000, 0.00000, 0.00000},
	{2028, -2394.01709, -15.45650, 35.19190,   0.00000, 0.00000, 0.00000},
	{1790, -2394.86279, -15.45650, 35.19190,   0.00000, 0.00000, 0.00000},
	{1429, 2368.61401, -1131.40259, 30.97320,   0.00000, 0.00000, 160.32001},
	{1518, 2370.30200, -1131.43127, 30.97320,   0.00000, 0.00000, 201.35999},
	{2912, 2370.40674, -1129.14221, 28.96821,   0.00000, 0.00000, 0.00000},
	{2190, 2369.12378, -1131.64221, 30.68020,   0.00000, 0.00000, 164.82001},
	{1788, 2368.51880, -1131.42798, 29.94000,   0.00000, 0.00000, 0.00000},
	{2028, 2370.12720, -1131.46106, 29.94000,   0.00000, 0.00000, 0.00000},
	{1790, 2369.39893, -1131.51331, 29.46600,   0.00000, 0.00000, 0.00000},
	{1429, -2730.06982, -59.74450, 7.20490,   0.00000, 0.00000, 196.14000},
	{1518, -2731.72534, -59.64209, 7.20490,   0.00000, 0.00000, 178.20003},
	{2912, -2731.85327, -57.35418, 6.03176,   0.00000, 0.00000, 0.00000},
	{2190, -2731.16846, -59.89901, 6.93235,   0.00000, 0.00000, 174.30002},
	{1788, -2730.06030, -59.85120, 6.16510,   0.00000, 0.00000, 0.00000},
	{2028, -2730.97656, -59.74975, 6.60280,   0.00000, 0.00000, -2.40000},
	{1790, -2731.64380, -59.69650, 6.16510,   0.00000, 0.00000, -5.64000},
	{1429, -2731.07056, -164.54240, 7.68000,   0.00000, 0.00000, 196.80000},
	{1518, -2732.74170, -164.46756, 7.68000,   0.00000, 0.00000, 164.58005},
	{2912, -2733.24390, -163.87219, 6.20990,   0.00000, 0.00000, 0.00000},
	{2190, -2732.13647, -164.68983, 7.42307,   0.00000, 0.00000, 182.57997},
	{1788, -2731.10449, -164.46933, 7.08504,   0.00000, 0.00000, 0.00000},
	{2028, -2731.81323, -164.44690, 6.67120,   0.00000, 0.00000, 0.00000},
	{1790, -2732.57373, -164.33932, 7.12180,   0.00000, 0.00000, 0.00000},
	{1429, 1758.10046, -2094.56860, 14.84190,   0.00000, 0.00000, 181.00000},
	{1518, 1757.27979, -2094.54028, 14.86940,   0.00000, 0.00000, 185.00000},
	{2912, 1756.40784, -2093.84546, 12.97720,   0.00000, 0.00000, 0.00000},
	{2190, 1756.16321, -2094.66846, 14.58550,   0.00000, 0.00000, 160.00000},
	{1788, 1757.77637, -2094.57056, 14.23650,   0.00000, 0.00000, 0.00000},
	{2028, 1756.81677, -2094.56934, 14.25400,   0.00000, 0.00000, 0.00000},
	{1790, 1757.29041, -2094.61108, 13.80020,   0.00000, 0.00000, 0.00000},
	{1429, 2481.20239, -1987.11511, 14.57980,   0.00000, 0.00000, 7.80000},
	{1518, 2482.81030, -1987.17395, 14.59980,   0.00000, 0.00000, -11.82000},
	{2912, 2483.55371, -1988.90125, 12.62243,   0.00000, 0.00000, 0.00000},
	{2190, 2482.27319, -1986.94861, 14.31840,   0.00000, 0.00000, 0.00000},
	{1788, 2481.10767, -1987.15283, 13.52780,   0.00000, 0.00000, 0.00000},
	{2028, 2481.93018, -1987.23987, 13.08109,   0.00000, 0.00000, 0.00000},
	{1790, 2482.70459, -1987.20215, 13.52780,   0.00000, 0.00000, 0.00000},
	{2226, 2481.90552, -1987.28687, 13.89582,   0.00000, 0.00000, 0.00000},
	{1429, 1841.54749, 768.94519, 12.49500,   0.00000, 0.00000, 0.00000},
	{1518, 1842.49048, 768.88428, 12.51880,   0.00000, 0.00000, 0.00000},
	{2912, 1843.43506, 768.10840, 10.54610,   0.00000, 0.00000, 0.00000},
	{2190, 1843.46643, 769.13379, 12.23620,   0.00000, 0.00000, 0.00000},
	{1788, 1842.00537, 768.90112, 11.88750,   0.00000, 0.00000, 0.00000},
	{2028, 1843.04565, 769.07501, 11.90490,   0.00000, 0.00000, 0.00000},
	{1790, 1842.38196, 769.15088, 11.42320,   0.00000, 0.00000, 0.00000},
	{1429, 1355.97156, 2613.77515, 12.45300,   0.00000, 0.00000, 0.00000},
	{1518, 1356.83423, 2613.72314, 12.47980,   0.00000, 0.00000, 0.00000},
	{2912, 1354.72119, 2613.42578, 11.02990,   0.00000, 0.00000, 0.00000},
	{2190, 1357.78296, 2613.98975, 12.19500,   0.00000, 0.00000, 0.00000},
	{1788, 1356.28943, 2613.73511, 11.84600,   0.00000, 0.00000, 0.00000},
	{2028, 1357.32434, 2613.74854, 11.86400,   0.00000, 0.00000, 0.00000},
	{1790, 1356.62915, 2613.61646, 11.40970,   0.00000, 0.00000, 0.00000},
	{1429, 1678.29834, 2613.74878, 12.45260,   0.00000, 0.00000, 0.00000},
	{1518, 1679.14563, 2613.73535, 12.48270,   0.00000, 0.00000, 0.00000},
	{2912, 1677.09839, 2613.43970, 11.03870,   0.00000, 0.00000, 0.00000},
	{2190, 1680.08850, 2613.91479, 12.19470,   0.00000, 0.00000, 0.00000},
	{1788, 1678.56201, 2613.76880, 11.84410,   0.00000, 0.00000, 0.00000},
	{2028, 1679.57751, 2613.75708, 11.86450,   0.00000, 0.00000, 0.00000},
	{1790, 1678.98792, 2613.76904, 11.41040,   0.00000, 0.00000, 0.00000},
	{1429, -1449.86682, 2645.77490, 56.87230,  0.00000, 0.00000, 8.10000},
	{1518, -1448.15234, 2645.76807, 56.92000,0.00000, 0.00000, -20.88000},
	{2912, -1450.80640, 2642.91479, 55.52976,   0.00000, 0.00000, 0.00000},
	{2190, -1447.24390, 2643.42358, 56.43425,   0.00000, 0.00000, -115.86000},
	{1788, -1448.96399, 2645.68677, 56.28100,   0.00000, 0.00000, 0.00000},
	{2028, -1449.89099, 2645.64771, 55.88598,   0.00000, 0.00000, 0.00000},
	{1790, -1448.14539, 2645.64087, 55.85600,   0.00000, 0.00000, 0.00000},
	{2226, -1449.01904, 2645.76733, 56.64311,   0.00000, 0.00000, 0.00000}
};
Код:
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(482) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(483) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(484) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(485) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(486) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(487) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(488) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(489) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(490) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(491) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(492) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(493) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(494) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(495) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(496) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(497) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(498) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(499) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(500) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(501) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(502) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(503) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(504) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(505) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(506) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(507) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(508) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(509) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(510) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(511) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(512) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(513) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(514) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(515) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(516) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(517) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(518) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(519) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(520) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(521) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(522) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(523) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(524) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(525) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(526) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(527) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(528) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(529) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(530) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(531) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(532) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(533) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(534) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(535) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(536) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(537) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(538) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(539) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(540) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(541) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(542) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(543) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(544) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(545) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(546) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(547) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(548) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(549) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(550) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(551) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(552) : warning 213: tag mismatch
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(553) : warning 213: tag mismatch
Reply
#2

Use um enumerador para inserir mais de 1 tipo de нndice numa mesma array:
PHP код:
enum ocEnum {
    
ocModel,
    
Float:ocX,
    
Float:ocY,
    
Float:ocZ,
    
Float:ocRX,
    
Float:ocRY,
    
Float:ocRZ
};
new 
Float:ObjetosCasas[][ocEnum] =
{
    {
1429, -2280.60376, -14.8268038.03000,   0.000000.0000070.61990},
    {
1518, -2280.63721, -16.4452638.05420,   0.000000.00000120.36000},
    {
2912, -2278.36792, -14.8662037.29990,   0.000000.00000, -1.62000},
    {
2190, -2280.72827, -15.2639437.77455,   0.000000.0000050.69999},
    {
1788, -2280.53418, -16.1972337.44304,   0.000000.00000, -49.37999},
    {
1790, -2280.39893, -14.9278637.45214,   0.000000.0000088.37997},
    {
2028, -2278.22900, -16.7745037.40304,   0.000000.000000.00000},
    {
1429942.563051976.6739511.34690,   0.000000.00000, -62.10000},
    {
1518942.445311974.9630111.42232,   0.000000.00000, -112.56001},
    {
2912939.793641974.8294710.62529,   0.000000.000000.00000},
    {
1788942.321041976.7327910.83022,   0.000000.00000, -85.32000},
    {
1790942.387211975.0611610.73031,   0.000000.00000, -90.17999},
    {
2028940.093081977.0500510.82510,   0.000000.000000.00000},
    {
2190939.991391977.3219011.11951,   0.000000.000000.00000},
    {
1429, -2394.00562, -15.4715036.23100,   0.000000.000000.00000},
    {
1518, -2395.78857, -15.5313336.23100,   0.000000.000000.00000},
    {
2912, -2395.92505, -19.0990934.42548,   0.000000.000000.00000},
    {
2190, -2394.71484, -15.2181735.98800,   0.000000.000000.00000},
    {
1788, -2395.75928, -15.4565035.19190,   0.000000.000000.00000},
    {
2028, -2394.01709, -15.4565035.19190,   0.000000.000000.00000},
    {
1790, -2394.86279, -15.4565035.19190,   0.000000.000000.00000},
    {
14292368.61401, -1131.4025930.97320,   0.000000.00000160.32001},
    {
15182370.30200, -1131.4312730.97320,   0.000000.00000201.35999},
    {
29122370.40674, -1129.1422128.96821,   0.000000.000000.00000},
    {
21902369.12378, -1131.6422130.68020,   0.000000.00000164.82001},
    {
17882368.51880, -1131.4279829.94000,   0.000000.000000.00000},
    {
20282370.12720, -1131.4610629.94000,   0.000000.000000.00000},
    {
17902369.39893, -1131.5133129.46600,   0.000000.000000.00000},
    {
1429, -2730.06982, -59.744507.20490,   0.000000.00000196.14000},
    {
1518, -2731.72534, -59.642097.20490,   0.000000.00000178.20003},
    {
2912, -2731.85327, -57.354186.03176,   0.000000.000000.00000},
    {
2190, -2731.16846, -59.899016.93235,   0.000000.00000174.30002},
    {
1788, -2730.06030, -59.851206.16510,   0.000000.000000.00000},
    {
2028, -2730.97656, -59.749756.60280,   0.000000.00000, -2.40000},
    {
1790, -2731.64380, -59.696506.16510,   0.000000.00000, -5.64000},
    {
1429, -2731.07056, -164.542407.68000,   0.000000.00000196.80000},
    {
1518, -2732.74170, -164.467567.68000,   0.000000.00000164.58005},
    {
2912, -2733.24390, -163.872196.20990,   0.000000.000000.00000},
    {
2190, -2732.13647, -164.689837.42307,   0.000000.00000182.57997},
    {
1788, -2731.10449, -164.469337.08504,   0.000000.000000.00000},
    {
2028, -2731.81323, -164.446906.67120,   0.000000.000000.00000},
    {
1790, -2732.57373, -164.339327.12180,   0.000000.000000.00000},
    {
14291758.10046, -2094.5686014.84190,   0.000000.00000181.00000},
    {
15181757.27979, -2094.5402814.86940,   0.000000.00000185.00000},
    {
29121756.40784, -2093.8454612.97720,   0.000000.000000.00000},
    {
21901756.16321, -2094.6684614.58550,   0.000000.00000160.00000},
    {
17881757.77637, -2094.5705614.23650,   0.000000.000000.00000},
    {
20281756.81677, -2094.5693414.25400,   0.000000.000000.00000},
    {
17901757.29041, -2094.6110813.80020,   0.000000.000000.00000},
    {
14292481.20239, -1987.1151114.57980,   0.000000.000007.80000},
    {
15182482.81030, -1987.1739514.59980,   0.000000.00000, -11.82000},
    {
29122483.55371, -1988.9012512.62243,   0.000000.000000.00000},
    {
21902482.27319, -1986.9486114.31840,   0.000000.000000.00000},
    {
17882481.10767, -1987.1528313.52780,   0.000000.000000.00000},
    {
20282481.93018, -1987.2398713.08109,   0.000000.000000.00000},
    {
17902482.70459, -1987.2021513.52780,   0.000000.000000.00000},
    {
22262481.90552, -1987.2868713.89582,   0.000000.000000.00000},
    {
14291841.54749768.9451912.49500,   0.000000.000000.00000},
    {
15181842.49048768.8842812.51880,   0.000000.000000.00000},
    {
29121843.43506768.1084010.54610,   0.000000.000000.00000},
    {
21901843.46643769.1337912.23620,   0.000000.000000.00000},
    {
17881842.00537768.9011211.88750,   0.000000.000000.00000},
    {
20281843.04565769.0750111.90490,   0.000000.000000.00000},
    {
17901842.38196769.1508811.42320,   0.000000.000000.00000},
    {
14291355.971562613.7751512.45300,   0.000000.000000.00000},
    {
15181356.834232613.7231412.47980,   0.000000.000000.00000},
    {
29121354.721192613.4257811.02990,   0.000000.000000.00000},
    {
21901357.782962613.9897512.19500,   0.000000.000000.00000},
    {
17881356.289432613.7351111.84600,   0.000000.000000.00000},
    {
20281357.324342613.7485411.86400,   0.000000.000000.00000},
    {
17901356.629152613.6164611.40970,   0.000000.000000.00000},
    {
14291678.298342613.7487812.45260,   0.000000.000000.00000},
    {
15181679.145632613.7353512.48270,   0.000000.000000.00000},
    {
29121677.098392613.4397011.03870,   0.000000.000000.00000},
    {
21901680.088502613.9147912.19470,   0.000000.000000.00000},
    {
17881678.562012613.7688011.84410,   0.000000.000000.00000},
    {
20281679.577512613.7570811.86450,   0.000000.000000.00000},
    {
17901678.987922613.7690411.41040,   0.000000.000000.00000},
    {
1429, -1449.866822645.7749056.87230,  0.000000.000008.10000},
    {
1518, -1448.152342645.7680756.92000,0.000000.00000, -20.88000},
    {
2912, -1450.806402642.9147955.52976,   0.000000.000000.00000},
    {
2190, -1447.243902643.4235856.43425,   0.000000.00000, -115.86000},
    {
1788, -1448.963992645.6867756.28100,   0.000000.000000.00000},
    {
2028, -1449.890992645.6477155.88598,   0.000000.000000.00000},
    {
1790, -1448.145392645.6408755.85600,   0.000000.000000.00000},
    {
2226, -1449.019042645.7673356.64311,   0.000000.000000.00000}
}; 
Exemplo (criar o objeto):
PHP код:
CreateDynamicObject(ObjetosCasas[0][ocModel], ObjetosCasas[0][ocX], ObjetosCasas[0][ocY], ObjetosCasas[0][ocZ], ObjetosCasas[0][ocRX], ObjetosCasas[0][ocRY], ObjetosCasas[0][ocRZ]); 
Reply
#3

Ficou mais man agora, mas obrigado estб dando certo agora

Код:
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(582) : error 018: initialization data exceeds declared size
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(668) : error 010: invalid function or declaration
Reply
#4

Quote:
Originally Posted by B4dSh33p
Посмотреть сообщение
Ficou mais man agora, mas obrigado estб dando certo agora

Код:
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(582) : error 018: initialization data exceeds declared size
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(668) : error 010: invalid function or declaration
O limite de objetos estava incorreto e tinha um erro na declaraзгo do enum, editei o cуdigo, tente agora.
Reply
#5

Agora fica assim quando irei tentar criar um objeto

Код:
F:\Server De Jogos\Servidor\gamemodes\BZ.pwn(8279) : warning 213: tag mismatch
Reply
#6

Por isso dei o exemplo de como criar, use-o. Se nгo conseguir, mande o cуdigo.
Reply
#7

Nгo consegui, estou tentando criar todos em loop dessa forma.

Код:
 	for(new o=; o < sizeof(ObjetosCasas); o++)
	{
    	T[o] = CreateDynamicObject(ObjetosCasas[o][0], ObjetosCasas[o][1], ObjetosCasas[o][2], ObjetosCasas[o][3], ObjetosCasas[o][4], ObjetosCasas[o][5], ObjetosCasas[o][6]);
	}
Reply
#8

Era sу substituir os нndices numйricos (0 а 6) pelos do enum.
PHP код:
for(new o=; sizeof(ObjetosCasas); o++)
{
    
T[o] = CreateDynamicObject(ObjetosCasas[o][ocModel], ObjetosCasas[o][ocX], ObjetosCasas[o][ocY], ObjetosCasas[o][ocZ], ObjetosCasas[o][ocRX], ObjetosCasas[o][ocRY], ObjetosCasas[o][ocRZ]);

Reply
#9

Ata kk, tava vacilando nessa parte, Obrigado por me ajuda +REP.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)