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


Messages In This Thread
PersonalCar - by saringan_cs - 13.12.2011, 12:26
Re: PersonalCar - by saringan_cs - 13.12.2011, 12:39
Re: PersonalCar - by saringan_cs - 13.12.2011, 14:17
Re: PersonalCar - by eDz0r - 13.12.2011, 15:05
Re: PersonalCar - by saringan_cs - 13.12.2011, 15:23

Forum Jump:


Users browsing this thread: 2 Guest(s)