#1

C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(14) : error 017: undefined symbol "MAX_BUSINESSSALES"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(15) : error 017: undefined symbol "MAX_BUSINESSES"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(15) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(16) : error 017: undefined symbol "MAX_BUSINESSSALES"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53876 ) : error 017: undefined symbol "pBusiness"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53880 ) : error 017: undefined symbol "pBusiness"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53885 ) : error 017: undefined symbol "pBusiness"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53886 ) : error 017: undefined symbol "pBusiness"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53887 ) : error 017: undefined symbol "pBusiness"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53896 ) : error 017: undefined symbol "pBusiness"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53897 ) : error 017: undefined symbol "pBusiness"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53901 ) : error 017: undefined symbol "pBusiness"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53904 ) : error 017: undefined symbol "pBusiness"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53907 ) : error 017: undefined symbol "pBusiness"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53908 ) : error 017: undefined symbol "pBusiness"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53909 ) : error 017: undefined symbol "IsBusinessGasAble"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53913 ) : error 017: undefined symbol "pBusiness"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53913 ) : error 029: invalid expression, assumed zero
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53913 ) : warning 215: expression has no effect
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53913 ) : error 001: expected token: ";", but found "]"
C:\Users\Linus\Desktop\PZG\gamemodes\PZG.pwn(53913 ) : fatal error 107: too many error messages on one line

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


20 Errors.



LINES from top and down:
new Selected[MAX_PLAYERS][MAX_BUSINESSSALES];
new Businesses[MAX_BUSINESSES][eBiz];
new BusinessSales[MAX_BUSINESSSALES][BusinessSale];
if (PlayerInfo[playerid][pBusiness] == INVALID_BUSINESS_ID || PlayerInfo[playerid][pBusinessRank] < 5)
if (Businesses[PlayerInfo[playerid][pBusiness]][bLevel] >= 5)
new newLevel = Businesses[PlayerInfo[playerid][pBusiness]][bLevel] + 1;
new totalSales = Businesses[PlayerInfo[playerid][pBusiness]][bTotalSales];
new totalProfits = Businesses[PlayerInfo[playerid][pBusiness]][bTotalProfits];

new cost = Businesses[PlayerInfo[playerid][pBusiness]][bLevel] * 100000;
if(Businesses[PlayerInfo[playerid][pBusiness]][bSafeBalance] < cost)
Businesses[PlayerInfo[playerid][pBusiness]][bSafeBalance] -= cost;
format(string, sizeof(string), "~g~BUSINESS LEVEL UP~n~~w~Current Level %d", ++Businesses[PlayerInfo[playerid][pBusiness]][bLevel]);
Businesses[PlayerInfo[playerid][pBusiness]][bLevelProgress] = 0;
Businesses[PlayerInfo[playerid][pBusiness]][bInventoryCapacity] *= 2;
if(IsBusinessGasAble(Businesses[PlayerInfo[playerid][pBusiness]][bType]))
Businesses[PlayerInfo[playerid][pBusiness]][GasPumpCapacity][i] *= 2;
Reply
#2

anyone?
Reply
#3

Read this ! and use [pawn] [ /pawn]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)