Pomoc

Započeo HugoBoss12, Decembar 17, 2021, 10:45:03 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Ovako pokusavam da sredim ove paketice i jelke al ne ide, iskacu mi errori... Ako moze neko da pomogne.
Deo skripte: [pawn]Pawno[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn]/[/pawn]
Slika/video ingame problema(obavezno ako je ingame problem): /

[pawn]//==============================================================================-> [SISTEM]JELKA

#define MAX_CTREES         100
#define F_CTREES          "Jelke/Jelka_%d.ini"
enum C_Tree {

   Float:ctPos[ 6 ],
   bool:ctPlaced,
   ctObject,
   Text3D:ct3d
};
new CTree[ MAX_CTREES ][ C_Tree];

//==============================================================================-> [SISTEM]POKLONI

#define MAX_PRESENTS          200
#define F_PRESENTS          "Pokloni/Poklon_%d.ini"

enum Presents {

   Float:presPos[ 6 ],
   bool:presPlaced,
   bool:presTaken,
   Text3D:pres3d,
   presObject
};
new presentsInfo[ MAX_PRESENTS ][ Presents ];[/pawn]

Iskacu mi ovi errori:

[pawn]warning 201: redefinition of constant/macro (symbol "C_Tree")
error 021: symbol already defined: "ctPos"
error 021: symbol already defined: "CTree"
warning 201: redefinition of constant/macro (symbol "MAX_PRESENTS")
warning 201: redefinition of constant/macro (symbol "Presents")
error 021: symbol already defined: "presPos"
error 021: symbol already defined: "presentsInfo"[/pawn]

posto je ovo vec definisano jel zna neko kako nekako drugo da definisem il sta vec

Imaš već takve nazive varijabli, promjeni samo