SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Closed Thread
 
Thread Tools Display Modes
Old 18/06/2010, 12:46 PM   #1
angels182
Big Clucker
 
Join Date: Mar 2010
Posts: 64
Reputation: 0
Default [AJUDA]Corrigir Erros

C:\Users\Egon\Desktop\Novo Gang War.pwn(235) : error 018: initialization data exceeds declared size
C:\Users\Egon\Desktop\Novo Gang War.pwn(274) : error 018: initialization data exceeds declared size
C:\Users\Egon\Desktop\Novo Gang War.pwn(40 : error 017: undefined symbol "playerCheckpoint"
C:\Users\Egon\Desktop\Novo Gang War.pwn(40 : warning 215: expression has no effect
C:\Users\Egon\Desktop\Novo Gang War.pwn(40 : error 001: expected token: ";", but found "]"
C:\Users\Egon\Desktop\Novo Gang War.pwn(40 : error 029: invalid expression, assumed zero
C:\Users\Egon\Desktop\Novo Gang War.pwn(40 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.


Linhas:

226 new propertyNames[MAX_PROPERTIES][13] = {
227 "Four Dragons",
228 "Sex Shop",
229 "Shithole Bar",
230 "Caligula",
231 "Zip Shop",
232 "Binco Shop",
233 "Tatoo Parlor",
234 "Botique",
235 "Gang Base Industrial",
236 "Gang Base Armazem",
237 "Gang Base School",
238 "Gang Base Sitio",
239 "Gang Base Aero",
240 };

274 new propertyOwner[MAX_PROPERTIES] = {999,999,999,999,999,999,999,999,999,999,999,999,9 99,999,999,999,999};


407 public getCheckpointType(playerID) {
408 return checkpointType[playerCheckpoint[playerID]];
409 }
angels182 is offline  
Old 18/06/2010, 02:19 PM   #2
[BEP]AcerPilot
Guest
 
Posts: n/a
Default Re: [AJUDA]Corrigir Erros

Code:
226     new propertyNames[MAX_PROPERTIES][13] = {
227     "Four Dragons",
228     "Sex Shop",
229     "Shithole Bar",
230     "Caligula",
231     "Zip Shop",
232     "Binco Shop",
233     "Tatoo Parlor",
234     "Botique",
235     "Gang Base Industrial",
236     "Gang Base Armazem",
237     "Gang Base School",
238     "Gang Base Sitio",
239     "Gang Base Aero"
240     };

274     new propertyOwner[MAX_PROPERTIES] = {999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999};


407    public getCheckpointType(playerID) {
408    return checkpointType[playerCheckpoint(playerid)];
409    }
Talvez funcione.
 
Old 18/06/2010, 04:10 PM   #3
angels182
Big Clucker
 
Join Date: Mar 2010
Posts: 64
Reputation: 0
Default Re: [AJUDA]Corrigir Erros

Arrumei 1 deles

C:\Users\Egon\Desktop\Gang War.pwn(255) : error 018: initialization data exceeds declared size
C:\Users\Egon\Desktop\Gang War.pwn(42 : error 017: undefined symbol "playerCheckpoint"
C:\Users\Egon\Desktop\Gang War.pwn(42 : warning 215: expression has no effect
C:\Users\Egon\Desktop\Gang War.pwn(42 : error 001: expected token: ";", but found "]"
C:\Users\Egon\Desktop\Gang War.pwn(42 : error 029: invalid expression, assumed zero
C:\Users\Egon\Desktop\Gang War.pwn(42 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
angels182 is offline  
Old 18/06/2010, 08:27 PM   #4
angels182
Big Clucker
 
Join Date: Mar 2010
Posts: 64
Reputation: 0
Default Re: [AJUDA]Corrigir Erros

Ajuda akii
angels182 is offline  
Old 18/06/2010, 08:54 PM   #5
Ricardo_Saddler
Big Clucker
 
Ricardo_Saddler's Avatar
 
Join Date: Jan 2010
Posts: 179
Reputation: 1
Default Re: [AJUDA]Corrigir Erros

Não tenho bola de cristal para ver as linhas do seu GM que dão o erro.

Mas com meus superpoderes posso deduzir:

Que na linha 428 esteja faltando um colchete "]";
Que você não definiu "playerCheckpoint".

Para mais precisão na ajuda por favor poste as linhas do erro!
__________________
Oi :B
Ricardo_Saddler is offline  
Old 18/06/2010, 09:37 PM   #6
angels182
Big Clucker
 
Join Date: Mar 2010
Posts: 64
Reputation: 0
Default Re: [AJUDA]Corrigir Erros

C:\Users\Egon\Desktop\Gang War.pwn(281) : error 018: initialization data exceeds declared size
C:\Users\Egon\Desktop\Gang War.pwn(2612) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2612) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2612) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2612) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2624) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2624) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2624) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2624) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2635) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2635) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2635) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2635) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2646) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2646) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2646) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2646) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2657) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2657) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2657) : warning 202: number of arguments does not match definition
C:\Users\Egon\Desktop\Gang War.pwn(2657) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.



Linha 281:

new propertyNames[MAX_PROPERTIES][13] = {
"Four Dragons",
"Sex Shop",
"Shithole Bar",
"Caligula",
"Zip Shop",
"Binco Shop",
"Tatoo Parlor",
"Botique",
"Gang Base Industrial",
"Gang Base Armazem",
"Gang Base School",
"Gang Base Sitio",
"Gang Base Aero"
};


As outras linhas sao


switch(gz)
{
case 0:
{
if((!GZ[gz]) || (GZ[gz] == 555))
{
2612 GZ[gz] = GangZoneCreate(2727,948,2656,882, 2829,474,2769,056);
GangZoneShowForAll(GZ[gz], playerCor);
gangZonaId[gz] = playerGang[playerid];
GZ_EXISTE[gz][0] = 1;
GZ_EXISTE[gz][1] = playerCor;
}
}
case 1:
{

if((!GZ[gz]) || (GZ[gz] == 555))
{
2624 GZ[gz] = GangZoneCreate(2759,187,854,3636,2876,332,1020,69) ;
GangZoneShowForAll(GZ[gz], playerCor);
gangZonaId[gz] = playerGang[playerid];
GZ_EXISTE[gz][0] = 1;
GZ_EXISTE[gz][1] = playerCor;
}
}
case 2:
{
if((!GZ[gz]) || (GZ[gz] == 555))
{
2635 GZ[gz] = GangZoneCreate(962,957, 985,8779,1154,294,1171,545);
GangZoneShowForAll(GZ[gz], playerCor);
gangZonaId[gz] = playerGang[playerid];
GZ_EXISTE[gz][0] = 1;
GZ_EXISTE[gz][1] = playerCor;
}
}
case 3:
{
if((!GZ[gz]) || (GZ[gz] == 555))
{
2646 GZ[gz] = GangZoneCreate(1015,975,-385,3699,1167,788,-268,5911);
GangZoneShowForAll(GZ[gz], playerCor);
gangZonaId[gz] = playerGang[playerid];
GZ_EXISTE[gz][0] = 1;
GZ_EXISTE[gz][1] = playerCor;
}
}
case 4:
{
if((!GZ[gz]) || (GZ[gz] == 555))
{
2657 GZ[gz] = GangZoneCreate(210,2018,2405,642,455,4371,2557,455 );
GangZoneShowForAll(GZ[gz], playerCor);
gangZonaId[gz] = playerGang[playerid];
GZ_EXISTE[gz][0] = 1;
GZ_EXISTE[gz][1] = playerCor;
}
}
default: return 1;
}
}
angels182 is offline  
Old 19/06/2010, 01:26 AM   #7
Rick_DR
Huge Clucker
 
Rick_DR's Avatar
 
Join Date: Mar 2010
Posts: 403
Reputation: 9
Default Re: [AJUDA]Corrigir Erros

assim é difícil a gente ajudar ! organiza as cenas

[ pawn ] texto [/ pawn ] sem espaço.
__________________
Hostname: [PB] Patos-Tugas V2 Host 24 H
Rick_DR is offline  
Old 19/06/2010, 03:03 AM   #8
RoamPT
High-roller
 
RoamPT's Avatar
 
Join Date: Nov 2007
Location: Toronto, Canada
Posts: 1,110
Reputation: 26
Default Re: [AJUDA]Corrigir Erros

Não respeitas as regras, locked!
__________________
RoamPT is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[AJUDA]Alguem me ajuda com esses erros!! matheusdrago Português/Portuguese 4 21/04/2010 03:10 PM
[AJUDA] ajuda com esses erros aki ! podunga Português/Portuguese 2 14/04/2010 08:41 PM
[AJUDA] Erros ;s cabelo Português/Portuguese 15 19/03/2010 11:29 PM
[AJUDA] Porque da esses erros..ajuda por favor Gabriel6 Português/Portuguese 4 12/02/2010 01:00 AM
[AJUDA] Em corrigir 43 Warnings bRn Português/Portuguese 18 20/01/2010 02:10 PM


All times are GMT. The time now is 05:33 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.