[Ajuda]Pq Ta Dando Errors? -
Vageto[STK] - 21.05.2011
Bem eu to criando um siteminha de maconha e eu fiz as ramdom mais agora ta dando esses erros
Codigo do Ramdom
pawn Код:
new Float:gCargasCaminhao[3][13] = {
{2197.1638,-2253.7854,13.2152,135.8466},
{1915.1835,-2104.0779,13.2724,88.7040},
{1791.1017,-2071.6985,13.2484,91.6861},
{1792.8529,-1918.6683,13.0631,341.1847},
{1151.8969,-1740.5272,13.0749,69.4674},
{1099.0728,-1882.0793,13.2164,301.6045},
{1101.2950,-1235.5220,15.4910,92.5341},
{1205.4558,-1068.1359,28.9139,180.3197},
{1825.4827,-1143.1443,23.6753,192.0903},
{2219.4507,-1167.4160,25.3946,349.9803},
{1360.1042,-1708.7028,8.2204,311.4291},
{1718.3568,795.0807,10.4898,85.3094},
{1633.4017,693.8115,10.4917,179.0320}
};
E Esses Sгo Os Erros
pawn Код:
C:\Users\Vageto\Desktop\Scripting\Samp\GMs RP\RPGs Base GF\gamemodes\Thug.pwn(2467) : error 018: initialization data exceeds declared size
C:\Users\Vageto\Desktop\Scripting\Samp\GMs RP\RPGs Base GF\gamemodes\Thug.pwn(2478) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Re: [Ajuda]Pq Ta Dando Errors? -
Macintosh - 21.05.2011
pawn Код:
new Float:gCargasCaminhao[13][128] = {
{2197.1638,-2253.7854,13.2152,135.8466},
{1915.1835,-2104.0779,13.2724,88.7040},
{1791.1017,-2071.6985,13.2484,91.6861},
{1792.8529,-1918.6683,13.0631,341.1847},
{1151.8969,-1740.5272,13.0749,69.4674},
{1099.0728,-1882.0793,13.2164,301.6045},
{1101.2950,-1235.5220,15.4910,92.5341},
{1205.4558,-1068.1359,28.9139,180.3197},
{1825.4827,-1143.1443,23.6753,192.0903},
{2219.4507,-1167.4160,25.3946,349.9803},
{1360.1042,-1708.7028,8.2204,311.4291},
{1718.3568,795.0807,10.4898,85.3094},
{1633.4017,693.8115,10.4917,179.0320}
};
Tente.
Re: [Ajuda]Pq Ta Dando Errors? -
Shadoww5 - 21.05.2011
O correto seria assim:
PHP код:
new Float:gCargasCaminhao[13][4] = {
{2197.1638,-2253.7854,13.2152,135.8466},
{1915.1835,-2104.0779,13.2724,88.7040},
{1791.1017,-2071.6985,13.2484,91.6861},
{1792.8529,-1918.6683,13.0631,341.1847},
{1151.8969,-1740.5272,13.0749,69.4674},
{1099.0728,-1882.0793,13.2164,301.6045},
{1101.2950,-1235.5220,15.4910,92.5341},
{1205.4558,-1068.1359,28.9139,180.3197},
{1825.4827,-1143.1443,23.6753,192.0903},
{2219.4507,-1167.4160,25.3946,349.9803},
{1360.1042,-1708.7028,8.2204,311.4291},
{1718.3568,795.0807,10.4898,85.3094},
{1633.4017,693.8115,10.4917,179.0320}
};
Re: [Ajuda]Pq Ta Dando Errors? -
Vageto[STK] - 21.05.2011
deu vlw