Jump to content
  • 0

7 warninguri


Don.Capone

Question

cum pot rezolva warningurile acestea ?

[pawn]C:\Documents and Settings\Bogdan\Desktop\f\pawno\include\k_functions.inc(132) : warning 219: local variable "Ammo" shadows a variable at a preceding level

C:\Documents and Settings\Bogdan\Desktop\f\gamemodes\blackpedia.pwn(2364) : warning 235: public function lacks forward declaration (symbol "adminbaseclose")

C:\Documents and Settings\Bogdan\Desktop\f\gamemodes\blackpedia.pwn(8901) : warning 204: symbol is assigned a value that is never used: "carkey"

C:\Documents and Settings\Bogdan\Desktop\f\gamemodes\blackpedia.pwn(22291) : warning 204: symbol is assigned a value that is never used: "string3"

C:\Documents and Settings\Bogdan\Desktop\f\gamemodes\blackpedia.pwn(22316) : warning 204: symbol is assigned a value that is never used: "string3"

C:\Documents and Settings\Bogdan\Desktop\f\gamemodes\blackpedia.pwn(45226) : warning 213: tag mismatch

C:\Documents and Settings\Bogdan\Desktop\f\gamemodes\blackpedia.pwn(45226) : warning 213: tag mismatch

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size:          10344 bytes

Code size:          2360420 bytes

Data size:          5565488 bytes

Stack/heap size:      16384 bytes; estimated max. usage=4359 cells (17436 bytes)

Total requirements: 7952636 bytes

7 Warnings.[/pawn]

uitati aici si randurile

a doua eroare am inceput de la randul 2363

[pawn]//casamea

public adminbaseclose()

{

MoveObject(adminbase,2888.01953125, -1980.51074219, 12.97242355,1.5);

return 1;

}[/pawn]

a 3-a eroare

[pawn]new carkey = PlayerInfo[targetid][pPcarkey];[/pawn]

a 4-a eroare

[pawn]new string3[256];[/pawn]

a 5-a eroare

[pawn]new string3[256];[/pawn] 

a6-a eroare

[pawn] if(!PlayerInfo[playerid][pMember] == 17 && !PlayerInfo[playerid][pLeader] == 17)[/pawn]

si la prima eroare cu include-ul acela ce trebuie sa fac sa mearga corect ?

I'm back haha !

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Pentru 2363:

baga

forward adminbaseclose( );
deasupra la
public adminbaseclose()
Pentru 8901, 22291 si 22316 sterge new carkey = PlayerInfo[targetid][pPcarkey];, new string3[256]; si new string3[256]; de la acele linii. Pentru linia 45226 incearca asa:
if(PlayerInfo[playerid][pMember] != 17 && PlayerInfo[playerid][pLeader] != 17)

Link to comment
Share on other sites

mam aincurcat asta la am 8901

[pawn]new name[MAX_PLAYER_NAME];[/pawn]

am rezolvat aia dar mai am problema cu inculdeul acela aia cum o rezolv ?

in randul 132 am asta

[pawn]#define COLOR_GREEN 0x33AA33AA[/pawn]

k_functions.inc, asta e ?

Schimba tot ce are in el cu "Ammo" in "AmmoKFC" xD

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.