Jump to content
  • 0

eroare compile


yonutzz

Question

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:  {

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

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 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(388) : warning 219: local variable "TmpZone" shadows a variable at a preceding level

C:\Documents and Settings\extasy\Desktop\NVL.pwn(390) : error 029: invalid expression, assumed zero

C:\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 statement

C:\Documents and Settings\extasy\Desktop\NVL.pwn(390) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

390:  for ( new i = 0; != sizeof(gSAZones); i++ );

Link to comment
Share on other sites

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 level

C:\Documents and Settings\extasy\Desktop\aaaaaaaa.pwn(390) : error 029: invalid expression, assumed zero

C:\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 statement

C:\Documents and Settings\extasy\Desktop\aaaaaaaa.pwn(390) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 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: }

Link to comment
Share on other sites

acum imi da urmatoarele erori

C:\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 statement

C:\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 line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.