Jump to content
  • 0

Cateva erori/warning-uri


Ex15xE

Question

Sall. Am incercat sa schimb niste linii si sa adaug 3D Text Label la case de exemplu sa le arate statusul si pretul si tot in 3DTextLabel si am primit o gramada de erori , am rezolvat din ele dar la astea nu ma descurc si de-aia va cer ajutorul :) :

C:\Program Files\Pawno\include\streamer.inc(376) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Program Files\Pawno\include\streamer.inc(408) : warning 202: number of arguments does not match definition
Desktop......CU.pwn(451) : error 017: undefined symbol "HouseInfo"
....(452) : error 017: undefined symbol "BizzInfo"
...(453) : error 017: undefined symbol "bInfo"
..(453) : error 009: invalid array size (negative, zero or out of bounds)
.(41790) : error 017: undefined symbol "id"
(41791) : error 017: undefined symbol "id"
(41792) : error 017: undefined symbol "id"
(41796) : error 017: undefined symbol "id"
(41797) : error 017: undefined symbol "id"
(41798) : error 017: undefined symbol "id"

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

Alea din include nu le  pun ca n-are rost.

452-453

new Text3D:BizzLabel[sizeof(BizzInfo)];
new BizzInfo[255][bInfo];
41790-41798
						    Delete3DTextLabel(BizzLabel[id]);
						    format(PropertyString,sizeof(PropertyString),"Bizz-ul este liber! \n %s \n Bizz ID: %d \n Pret: $%d \n Level : %d \n Pentru a il cumpara scrie: /buybiz",BizzInfo[id][bMessage], BizzInfo[id][bVirWorld], BizzInfo[id][bBuyPrice], BizzInfo[id][bLevelNeeded]);
							BizzLabel[id] = Create3DTextLabel(PropertyString ,0x00FF00AA,BizzInfo[id][bEntranceX], BizzInfo[id][bEntranceY], BizzInfo[id][bEntranceZ],50, 0, 1);
						}
						else
						{
						    Delete3DTextLabel(BizzLabel[id]);
							format(PropertyString,sizeof(PropertyString),"%s \n Proprietar: %s \n Bizz ID: %d \n Extortion: %s \n Taxa de intrare: $%d. \n Pentru a intra: /enter.",BizzInfo[id][bMessage],BizzInfo[id][bOwner], BizzInfo[id][bVirWorld], BizzInfo[id][bExtortion], BizzInfo[id][bEntranceCost]);
							BizzLabel[id] = Create3DTextLabel(PropertyString ,0x00FFFFAA,BizzInfo[id][bEntranceX], BizzInfo[id][bEntranceY], BizzInfo[id][bEntranceZ],50, 0, 1);

Link to comment
Share on other sites

C:\Program Files\Pawno\include\streamer.inc(376) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Program Files\Pawno\include\streamer.inc(408) : warning 202: number of arguments does not match definition
C:\Users\Robert\Desktop\Virtual Universe GF\gamemodes\VU.pwn(453) : error 017: undefined symbol "bInfo"
C:\Users\Robert\Desktop\Virtual Universe GF\gamemodes\VU.pwn(453) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Robert\Desktop\Virtual Universe GF\gamemodes\VU.pwn(42380) : error 017: undefined symbol "id"
C:\Users\Robert\Desktop\Virtual Universe GF\gamemodes\VU.pwn(42381) : error 017: undefined symbol "id"
C:\Users\Robert\Desktop\Virtual Universe GF\gamemodes\VU.pwn(42382) : error 017: undefined symbol "id"
C:\Users\Robert\Desktop\Virtual Universe GF\gamemodes\VU.pwn(42386) : error 017: undefined symbol "id"
C:\Users\Robert\Desktop\Virtual Universe GF\gamemodes\VU.pwn(42387) : error 017: undefined symbol "id"
C:\Users\Robert\Desktop\Virtual Universe GF\gamemodes\VU.pwn(42388) : error 017: undefined symbol "id"

Alte solutii pls??

Link to comment
Share on other sites

@Ex15xE ai bagat ceva un FS dupa cum vad in GM si nu ai pus din FS tot ce trebuie...

ca sa rezolvi ar trebuii sa pui asta(dupa cum vad in errors):

enum bInfo

{

    bMessage,

    bVirWorld,

    bBuyPrice,

    bLevelNeeded,

    bEntranceX,

    bEntranceY,

    bEntranceZ,

};

new BizzInfo[ MAX_PLAYERS ][ bInfo ];

Fara reclama in semnatura!

Link to comment
Share on other sites

@heker : liniile sunt mai sus.

@Ex15xE ai bagat ceva un FS dupa cum vad in GM si nu ai pus din FS tot ce trebuie...

ca sa rezolvi ar trebuii sa pui asta(dupa cum vad in errors):

enum bInfo

{

    bMessage,

    bVirWorld,

    bBuyPrice,

    bLevelNeeded,

    bEntranceX,

    bEntranceY,

    bEntranceZ,

};

new BizzInfo[ MAX_PLAYERS ][ bInfo ];

Da am vrut sa fac detaliile casei si bizz-ului (owner/pret/level...etc) cu 3Dtext .

Am bagat ce ai scris mai sus dar :

C:\Program Files\Pawno\include\streamer.inc(376) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Program Files\Pawno\include\streamer.inc(408) : warning 202: number of arguments does not match definition
gamemodes\VU.pwn(466) : error 021: symbol already defined: "BizzInfo"
gamemodes\VU.pwn(1271) : warning 201: redefinition of constant/macro (symbol "bInfo")
gamemodes\VU.pwn(1274) : error 021: symbol already defined: "bMessage"
gamemodes\VU.pwn(1732) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(1745) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(1750) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(6982) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(6984) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(7929) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(7930) : warning 213: tag mismatch
gamemodes\VU.pwn(7931) : warning 213: tag mismatch
gamemodes\VU.pwn(7932) : warning 213: tag mismatch
gamemodes\VU.pwn(7933) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(7934) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(7935) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(7938) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(7939) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(7940) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(7941) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(7942) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(7943) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(7944) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(7945 -- 7949) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(11770 -- 11774) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(15697) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(15875) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(15877) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(18184) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(18188) : error 032: array index out of bounds (variable "BizzInfo")
gamemodes\VU.pwn(18190) : error 032: array index out of bounds (variable "BizzInfo")

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.