I need help in my bizz system !
#1

Look I have so many errors I had to fix but this one I've never seen , Look :

Errors in that line :
Код:
switch(BusinessInfo[b][bType])//You should know what switch is.
How to fix it please ?



Код:
d:\Users\User\Desktop\SCript\gamemodes\NICRP.pwn(1508) : error 017: undefined symbol "BusinessInfo"
d:\Users\User\Desktop\SCript\gamemodes\NICRP.pwn(1508) : error 029: invalid expression, assumed zero
d:\Users\User\Desktop\SCript\gamemodes\NICRP.pwn(1508) : error 029: invalid expression, assumed zero
d:\Users\User\Desktop\SCript\gamemodes\NICRP.pwn(1508) : fatal error 107: too many error messages on one line

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


4 Errors.
Btw I tried : new BusinessInfo; , But that error didnt fix ...
Reply
#2

I'm not sure but this should with the BusinessInfo.

Код:
#define BusinessInfo
Please +rep if it helped :P
Reply
#3

pawn Код:
enum bInfo
{
    bOwned,
    bPrice,
    bOwner[MAX_PLAYER_NAME],
    bType,
    bLocked,
    bMoney,
    Float:bEntranceX,
    Float:bEntranceY,
    Float:bEntranceZ,
    Float:bEntranceA,
    Float:bExitX,
    Float:bExitY,
    Float:bExitZ,
    Float:bExitA,
    bInt,
    bWorld,
    bInsideInt,
    bInsideWorld,
    bInsideIcon,
    bOutsideIcon,
    bName[128]
}
new BusinessInfo[200][bInfo];
Reply
#4

are you sure that your script is passing values in you parameters and you BussinessInfo is a object with the same name because creating a new object with null values will make it compile but that code wont work inside the server
Reply
#5

In the start CMDs in the Bizz system were : YCMD , and I changed as my script CMD from zcmd Include so is that the problemita ?
Reply
#6

Add me on skype: jamel.garra and I'll help ya
Reply
#7

Quote:
Originally Posted by JhnzRep
Посмотреть сообщение
pawn Код:
enum bInfo
{
    bOwned,
    bPrice,
    bOwner[MAX_PLAYER_NAME],
    bType,
    bLocked,
    bMoney,
    Float:bEntranceX,
    Float:bEntranceY,
    Float:bEntranceZ,
    Float:bEntranceA,
    Float:bExitX,
    Float:bExitY,
    Float:bExitZ,
    Float:bExitA,
    bInt,
    bWorld,
    bInsideInt,
    bInsideWorld,
    bInsideIcon,
    bOutsideIcon,
    bName[128]
}
new BusinessInfo[200][bInfo];
its simple you might be missing more
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)