PersonalCar
#1

Quote:

C:\Users\Cbu-Samp\Desktop\filterscripts\carownership.pwn(272) : error 028: invalid subscript (not an array or too many subscripts): "CarInfo"
C:\Users\Cbu-Samp\Desktop\filterscripts\carownership.pwn(272) : warning 215: expression has no effect
C:\Users\Cbu-Samp\Desktop\filterscripts\carownership.pwn(272) : error 001: expected token: ";", but found "]"
C:\Users\Cbu-Samp\Desktop\filterscripts\carownership.pwn(272) : error 029: invalid expression, assumed zero
C:\Users\Cbu-Samp\Desktop\filterscripts\carownership.pwn(272) : fatal error 107: too many error messages on one line

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


4 Errors.


Quote:

public OnFilterScriptInit()
{
printf("Filterscript carownership.amx Initiated\n");
LoadCar();

for(new h = carsonserver; h < sizeof(CarInfo); h++)
{
AddStaticVehicleEx(CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);
LoadComponents(h);
}
return 1;
}

This Are
Quote:

AddStaticVehicleEx(CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);

Reply
#2

new CarInfo;
Reply
#3

so??
Reply
#4

pawn Код:
enum vInfo
{
vThing1,
vThing2,
vThing3,
};
new VehicleInfo[MAX_VEHICLES][vInfo];
Reply
#5

eDz0r da add al dj_one20 pls . ms
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)