yonutzz Posted June 10, 2011 Posted June 10, 2011 salut. cand compilez un gm imi da urmatoarele erori : C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\JunkBuster.inc(2003) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\JunkBuster.inc(2350) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\JunkBuster.inc(2351) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\JunkBuster.inc(2352) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\yom_buttons.inc(99) : warning 219: local variable "Speed" shadows a variable at a preceding levelC:\Documents and Settings\extasy\Desktop\NVL.pwn(40) : warning 201: redefinition of constant/macro (symbol "MAX_ZONE_NAME")C:\Documents and Settings\extasy\Desktop\NVL.pwn(385) : error 025: function heading differs from prototypeC:\Documents and Settings\extasy\Desktop\NVL.pwn(386) : error 025: function heading differs from prototypeC:\Documents and Settings\extasy\Desktop\NVL.pwn(387) : error 025: function heading differs from prototypeC:\Documents and Settings\extasy\Desktop\NVL.pwn(388) : error 021: symbol already defined: "IsPlayerInZone"C:\Documents and Settings\extasy\Desktop\NVL.pwn(391) : error 029: invalid expression, assumed zeroC:\Documents and Settings\extasy\Desktop\NVL.pwn(391) : error 001: expected token: ";", but found "sizeof"C:\Documents and Settings\extasy\Desktop\NVL.pwn(391) : error 036: empty statementC:\Documents and Settings\extasy\Desktop\NVL.pwn(391) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase8 Errors.linile sunt acestea385: forward IsPlayerInZone(playerid, zoneid);386: forward IsPlayerInZone ( playerid, zoneid );387: public IsPlayerInZone ( playerid, zoneid ) // PUBLIC!!!388: {389: new TmpZone[ MAX_ZONE_NAME ];390: GetPlayer3DZone ( playerid, TmpZone, sizeof ( TmpZone ) );391: for ( new i = 0; != sizeof(gSAZones); i++ )392: {
yonutzz Posted June 10, 2011 Author Posted June 10, 2011 din 8 am mai ramas cu 4 erori sh nu stiu ce sa le mai fac C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\JunkBuster.inc(2003) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\JunkBuster.inc(2350) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\JunkBuster.inc(2351) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\JunkBuster.inc(2352) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\yom_buttons.inc(99) : warning 219: local variable "Speed" shadows a variable at a preceding levelC:\Documents and Settings\extasy\Desktop\NVL.pwn(40) : warning 201: redefinition of constant/macro (symbol "MAX_ZONE_NAME")C:\Documents and Settings\extasy\Desktop\NVL.pwn(388) : warning 219: local variable "TmpZone" shadows a variable at a preceding levelC:\Documents and Settings\extasy\Desktop\NVL.pwn(390) : error 029: invalid expression, assumed zeroC:\Documents and Settings\extasy\Desktop\NVL.pwn(390) : error 001: expected token: ";", but found "sizeof"C:\Documents and Settings\extasy\Desktop\NVL.pwn(390) : error 036: empty statementC:\Documents and Settings\extasy\Desktop\NVL.pwn(390) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase4 Errors.390: for ( new i = 0; != sizeof(gSAZones); i++ );
Roach Posted June 10, 2011 Posted June 10, 2011 Incearca sa inlocuiesti for ( new i = 0; != sizeof(gSAZones); i++ ); cufor ( new i = 0; != sizeof(gSAZones); i++ ) Underground-GFX
yonutzz Posted June 10, 2011 Author Posted June 10, 2011 tot erorile acestea mi le da C:\Documents and Settings\extasy\Desktop\aaaaaaaa.pwn(388) : warning 219: local variable "TmpZone" shadows a variable at a preceding levelC:\Documents and Settings\extasy\Desktop\aaaaaaaa.pwn(390) : error 029: invalid expression, assumed zeroC:\Documents and Settings\extasy\Desktop\aaaaaaaa.pwn(390) : error 001: expected token: ";", but found "sizeof"C:\Documents and Settings\extasy\Desktop\aaaaaaaa.pwn(390) : error 036: empty statementC:\Documents and Settings\extasy\Desktop\aaaaaaaa.pwn(390) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase4 Errors.de la linile acestea :390: for ( new i = 0; != sizeof(gSAZones); i++ )391: {392: if ( strfind ( TmpZone, zone, true ) != -1 )393: return 1;394: }395: return 0;396: }
IstuntmanI Posted June 10, 2011 Posted June 10, 2011 Incearca sa inlocuiesti for ( new i = 0; != sizeof(gSAZones); i++ ); cufor ( new i = 0; != sizeof(gSAZones); i++ )cufor ( new i = 0; i != sizeof(gSAZones); i++ )sau cufor ( new i = 0; i < sizeof(gSAZones); i++ )
yonutzz Posted June 10, 2011 Author Posted June 10, 2011 acum imi da urmatoarele eroriC:\Documents and Settings\extasy\Desktop\aaaaaaaa.pwn(390) : error 017: undefined symbol "gSAZones"C:\Documents and Settings\extasy\Desktop\aaaaaaaa.pwn(390) : error 036: empty statementC:\Documents and Settings\extasy\Desktop\aaaaaaaa.pwn(390) : error 017: undefined symbol "i"C:\Documents and Settings\extasy\Desktop\aaaaaaaa.pwn(390) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase4 Errors.
angel Posted June 11, 2011 Posted June 11, 2011 Incearca asa:forward IsPlayerInZone(playerid, zoneid);public IsPlayerInZone ( playerid, zoneid ) // PUBLIC!!!{new TmpZone[ MAX_ZONE_NAME ];GetPlayer3DZone ( playerid, TmpZone, sizeof ( TmpZone ) )for ( new i = 0; != sizeof(gSAZones); i++ ){ Daca ti-am fost de ajutor +1 Respect!Multumesc
Question
yonutzz
salut. cand compilez un gm imi da urmatoarele erori :
C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\JunkBuster.inc(2003) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\JunkBuster.inc(2350) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\JunkBuster.inc(2351) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")
C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\JunkBuster.inc(2352) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
C:\DOCUME~1\extasy\Desktop\nvls\pawno\include\yom_buttons.inc(99) : warning 219: local variable "Speed" shadows a variable at a preceding level
C:\Documents and Settings\extasy\Desktop\NVL.pwn(40) : warning 201: redefinition of constant/macro (symbol "MAX_ZONE_NAME")
C:\Documents and Settings\extasy\Desktop\NVL.pwn(385) : error 025: function heading differs from prototype
C:\Documents and Settings\extasy\Desktop\NVL.pwn(386) : error 025: function heading differs from prototype
C:\Documents and Settings\extasy\Desktop\NVL.pwn(387) : error 025: function heading differs from prototype
C:\Documents and Settings\extasy\Desktop\NVL.pwn(388) : error 021: symbol already defined: "IsPlayerInZone"
C:\Documents and Settings\extasy\Desktop\NVL.pwn(391) : error 029: invalid expression, assumed zero
C:\Documents and Settings\extasy\Desktop\NVL.pwn(391) : error 001: expected token: ";", but found "sizeof"
C:\Documents and Settings\extasy\Desktop\NVL.pwn(391) : error 036: empty statement
C:\Documents and Settings\extasy\Desktop\NVL.pwn(391) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
8 Errors.
linile sunt acestea
385: forward IsPlayerInZone(playerid, zoneid);
386: forward IsPlayerInZone ( playerid, zoneid );
387: public IsPlayerInZone ( playerid, zoneid ) // PUBLIC!!!
388: {
389: new TmpZone[ MAX_ZONE_NAME ];
390: GetPlayer3DZone ( playerid, TmpZone, sizeof ( TmpZone ) );
391: for ( new i = 0; != sizeof(gSAZones); i++ )
392: {
6 answers to this question
Recommended Posts