Jump to content

Recommended Posts

Posted (edited)

asta e codu

enum binfo {
    bID,
    bOwned, 
    bOwner[25], 
    bMessage[32], 
    Float:bEntranceX, 
    Float:bEntranceY, 
    Float:bEntranceZ,
    Float:bExitX, 
    Float:bExitY, 
    Float:bExitZ,
    bLevelNeeded, 
    bPrice, 
    bBuyPrice, 
    bEntranceCost, 
    bTill, 
    bLocked, 
    bInterior, 
    bVirtual, 
    bSbiz, 
    bType
};
new BizzInfo[MAX_BUSINESS][bInfo],
    Text3D:BizzLabel[sizeof(BizzInfo)],
    bPickup[MAX_BUSINESS];

 

eroarea:

C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(178) : error 017: undefined symbol "MAX_BUSINESS"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(179) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(180) : error 017: undefined symbol "MAX_BUSINESS"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(178) : warning 203: symbol is never used: "BizzInfo"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(179) : warning 203: symbol is never used: "BizzLabel"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(180) : warning 203: symbol is never used: "bPickup"
Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
[Finished in 0.4s]

s]

Edited by ImDariusHere
Posted (edited)

#define MAX_BUSINESS numar

In loc de numar pui cate bizzuri vrei tu sa fie maxim pe serever, daca adaugi un biz in plus si uiti sa modifici valoarea, o sa ti iei backtrace 

 

EDIT: a si sa adaugi acel #define inainte de enum

Edited by AlexxAdv
Posted (edited)

C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(179) : error 017: undefined symbol "bInfo"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(179) : warning 203: symbol is never used: "BizzInfo"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(180) : warning 203: symbol is never used: "BizzLabel"
C:\Users\dariu\OneDrive\Desktop\fresh gm\gamemodes\gm.pwn(181) : warning 203: symbol is never used: "bPickup"

Edited by ImDariusHere
Posted

enum binfo { inlocuiestee cu enum bInfo {

 

celelalte sunt doar warning-uri care nu te deranjeaza cu nimic, te anunta doar ca nu-s folosite nicaieri, daca doresti sa dezactivezi acest timp de warning, pui asta #pragma warning disable 203 ca prima linie in gm

Posted

ai copiat de undeva variabilele si nu le folosesti, de ce crezi ca ai warning-urile alea? macar copiaza toata logica

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.