[Ajuda] To ficando doido com esse erro jб..
#1

Entгo gente, tб dando esse erro aqui:

error 001: expected token: ";", but found "]"


Nessa linha, que й a primeira, dos veнculos:

pawn Код:
SWAT[0] = CreateVehicle(566,1999.40002441,-1120.90002441,26.70000076,0.00000000,115,1,600000);
Jб vi ; encima, embaixo, tб tudo certinho..

Cуdigo completo:

pawn Код:
SWAT[0] = CreateVehicle(566,1999.40002441,-1120.90002441,26.70000076,0.00000000,115,1,600000);
    SWAT[1] = CreateVehicle(487,2004.40002441,-1109.30004883,34.40000153,180.00000000,115,-1,600000);
    SWAT[2] = CreateVehicle(413,2013.00000000,-1120.09997559,26.39999962,178.00000000,115,115,600000);
    SWAT[3] = CreateVehicle(560,2004.00000000,-1121.40002441,26.50000000,0.00000000,115,1,600000);
    SWAT[4] = CreateVehicle(562,1994.19995117,-1128.30004883,25.39999962,212.00000000,115,1,600000);
    SWAT[5] = CreateVehicle(559,1990.59997559,-1128.59997559,25.50000000,212.00000000,115,1,600000);
    SWAT[6] = CreateVehicle(461,1989.50000000,-1119.00000000,26.39999962,0.00000000,115,1,600000);
    SWAT[7] = CreateVehicle(461,1988.29980469,-1118.89941406,26.39999962,0.00000000,115,1,600000);
    SWAT[8] = CreateVehicle(581,1484.8535,-1593.0347,13.3828,345.5608,115,1,600000);
Alguem pode me dб uma ajuda? e.e
Reply
#2

Posta 3 linhas antes disso ..
Reply
#3

pawn Код:
BALLAS[6] = CreateVehicle(461,1989.50000000,-1119.00000000,26.39999962,0.00000000,115,1,600000);
    BALLAS[7] = CreateVehicle(461,1988.29980469,-1118.89941406,26.39999962,0.00000000,115,1,600000);
    BALLAS[8] = CreateVehicle(581,1484.8535,-1593.0347,13.3828,345.5608,115,1,600000);
    //--------------[ Veiculos dos SWAT ]------------//;
Jб tentei tirando o
PHP код:
//--------------[ Veiculos dos SWAT ]------------//; 
Jб tentei tirando o ; do BALLAS[8] mas mesmo assim nгo vai. e.e
Reply
#4

no final da public ta retornando a 1 ? " return 1;" ?
Reply
#5

ye yes
Reply
#6

pawn Код:
//--------------[ Veiculos dos SWAT ]------------//;
tem um ; ali no final ! tira e compila.
Reply
#7

Sim, foi eu que coloquei pra ver se aquela bagaзa ia, mas mesmo sem o ; n vai
Reply
#8

Bem ilario tua cituaзгo, posta a public qe ta isso ai logo toda .. pra ver se nun er em outro lugar ..
Reply
#9

s

http://pastebin.com/gwnhbkpQ
Reply
#10

pawn Код:
new SWAT[9];
ta assim no teu gm ner ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)