Errors by compiling!
#1

Look i try to compile an script and i've got the next errors on one line here the line and the errors:
Код:
C:\Users\wim\Desktop\SARP\gamemodes\sarp.pwn(3281) : error 029: invalid expression, assumed zero
C:\Users\wim\Desktop\SARP\gamemodes\sarp.pwn(3281) : warning 215: expression has no effect
C:\Users\wim\Desktop\SARP\gamemodes\sarp.pwn(3281) : error 001: expected token: ";", but found "]"
C:\Users\wim\Desktop\SARP\gamemodes\sarp.pwn(3281) : error 029: invalid expression, assumed zero
C:\Users\wim\Desktop\SARP\gamemodes\sarp.pwn(3281) : fatal error 107: too many error messages on one line

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


4 Errors.
Код:
building[i] = CreateDynamic3DTextLabel(string, COLOR_DCHAT, BInfo[i][bExteriorX], BInfo[i][bExteriorY], BInfo[i][bExteriorZ]+0.75,40.0,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,0,0,-1,-1, 100.0);
Reply
#2

Please show where you define the building and BInfo arrays.
Reply
#3

what you want to do?
Reply
#4

Код:
enum bInfo
{
	bName[64],
	bOwned,
	bOwner[MAX_PLAYER_NAME],
	Float:bOutsideX,
	Float:bOutsideY,
	Float:bOutsideZ,
	Float:bOutsideAng,
	bOutsideWorld,
	bOutsideInt,
	bOutsidePickup,
	Float:bInsideX,
	Float:bInsideY,
	Float:bInsideZ,
	Float:bInsideAng,
	bInsideInt,
	bInsidePickup,
	bEntryFee,
	bValue,
	bTill,
	bLocked,
	bType,
	bProducts
}
new BizInfo[MAX_BIZ][bInfo];
//===============================[A Info]=======================================
enum aInfo
{
    bName[255],
    bPickupID,
    bLocked,
    bVIP,
	bInteriorID,
	bExteriorID,
	bVirWorld,
	Float: bInteriorX,
	Float: bInteriorY,
	Float: bInteriorZ,
	Float: bExteriorX,
	Float: bExteriorY,
	Float: bExteriorZ,
};
new BInfo[MAX_BUILDINGS][aInfo];
#define buildings
#define MAX_BUILDINGS 1000
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
Reply
#5

show line 3281
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)