Undefined symbol
#1

C:\Documents and Settings\Lisa\Mijn documenten\VLRP\SXRP.pwn(1356) : warning 217: loose indentation
C:\Documents and Settings\Lisa\Mijn documenten\VLRP\SXRP.pwn(1371) : error 017: undefined symbol "PlayerVehicleInfo"
C:\Documents and Settings\Lisa\Mijn documenten\VLRP\SXRP.pwn(1374) : error 017: undefined symbol "PlayerVehicleInfo"
C:\Documents and Settings\Lisa\Mijn documenten\VLRP\SXRP.pwn(1392) : error 017: undefined symbol "PlayerVehicleInfo"
C:\Documents and Settings\Lisa\Mijn documenten\VLRP\SXRP.pwn(1392) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Mijn documenten\VLRP\SXRP.pwn(1392) : warning 215: expression has no effect
C:\Documents and Settings\Lisa\Mijn documenten\VLRP\SXRP.pwn(1392) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Lisa\Mijn documenten\VLRP\SXRP.pwn(1392) : fatal error 107: too many error messages on one line

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


6 Errors.


This is the line
Код:
stock UpdatePlayerVehicleMods(playerid, playervehicleid)
{
	if(PlayerVehicleInfo[playerid][playervehicleid][pvImpounded] == 0 || PlayerVehicleInfo[playerid][playervehicleid][pvSpawned] == 1) {
		new playername[MAX_PLAYER_NAME];
		GetPlayerName(playerid, playername, sizeof(playername));
		new carid = PlayerVehicleInfo[playerid][playervehicleid][pvId];
		new exhaust, frontbumper, rearbumper, roof, spoilers, sideskirt1,
			sideskirt2, wheels, hydraulics, nitro, hood, lamps, stereo, ventright, ventleft;
		exhaust = GetVehicleComponentInSlot(carid, CARMODTYPE_EXHAUST);
		frontbumper = GetVehicleComponentInSlot(carid, CARMODTYPE_FRONT_BUMPER);
		rearbumper = GetVehicleComponentInSlot(carid, CARMODTYPE_REAR_BUMPER);
		roof = GetVehicleComponentInSlot(carid, CARMODTYPE_ROOF);
		spoilers = GetVehicleComponentInSlot(carid, CARMODTYPE_SPOILER);
		sideskirt1 = GetVehicleComponentInSlot(carid, CARMODTYPE_SIDESKIRT);
		sideskirt2 = GetVehicleComponentInSlot(carid, CARMODTYPE_SIDESKIRT);
		wheels = GetVehicleComponentInSlot(carid, CARMODTYPE_WHEELS);
		hydraulics = GetVehicleComponentInSlot(carid, CARMODTYPE_HYDRAULICS);
		nitro = GetVehicleComponentInSlot(carid, CARMODTYPE_NITRO);
		hood = GetVehicleComponentInSlot(carid, CARMODTYPE_HOOD);
		lamps = GetVehicleComponentInSlot(carid, CARMODTYPE_LAMPS);
		stereo = GetVehicleComponentInSlot(carid, CARMODTYPE_STEREO);
		ventright = GetVehicleComponentInSlot(carid, CARMODTYPE_VENT_RIGHT);
		ventleft = GetVehicleComponentInSlot(carid, CARMODTYPE_VENT_LEFT);
		if(spoilers >= 1000)    PlayerVehicleInfo[playerid][playervehicleid][pvMods][0] = spoilers;
		if(hood >= 1000)        PlayerVehicleInfo[playerid][playervehicleid][pvMods][1] = hood;
		if(roof >= 1000)        PlayerVehicleInfo[playerid][playervehicleid][pvMods][2] = roof;
		if(sideskirt1 >= 1000)  PlayerVehicleInfo[playerid][playervehicleid][pvMods][3] = sideskirt1;
		if(lamps >= 1000)       PlayerVehicleInfo[playerid][playervehicleid][pvMods][4] = lamps;
		if(nitro >= 1000)       PlayerVehicleInfo[playerid][playervehicleid][pvMods][5] = nitro;
		if(exhaust >= 1000)     PlayerVehicleInfo[playerid][playervehicleid][pvMods][6] = exhaust;
		if(wheels >= 1000)      PlayerVehicleInfo[playerid][playervehicleid][pvMods][7] = wheels;
		if(stereo >= 1000)      PlayerVehicleInfo[playerid][playervehicleid][pvMods][8] = stereo;
		if(hydraulics >= 1000)  PlayerVehicleInfo[playerid][playervehicleid][pvMods][9] = hydraulics;
		if(frontbumper >= 1000) PlayerVehicleInfo[playerid][playervehicleid][pvMods][10] = frontbumper;
		if(rearbumper >= 1000)  PlayerVehicleInfo[playerid][playervehicleid][pvMods][11] = rearbumper;
		if(ventright >= 1000)   PlayerVehicleInfo[playerid][playervehicleid][pvMods][12] = ventright;
		if(ventleft >= 1000)    PlayerVehicleInfo[playerid][playervehicleid][pvMods][13] = ventleft;
		if(sideskirt2 >= 1000)  PlayerVehicleInfo[playerid][playervehicleid][pvMods][14] = sideskirt2;
	}
}
And yes i have this
Код:
enum pvInfo
{
	Float:pvPosX,
	Float:pvPosY,
	Float:pvPosZ,
	Float:pvPosAngle,
	pvId,
	pvModelId,
	pvLock,
	pvLocked,
	pvPaintJob,
	pvColor1,
	pvColor2,
	pvMods[MAX_MODS],
	pvAllowPlayer[MAX_PLAYER_NAME],
	pvAllowedPlayerId,
	pvPark,
	//pvNumberPlate[32], // sz
	pvPrice,
	pvTicket,
	pvDisabled,
	pvSpawned,
	pvWeapons[3],
	pvWepUpgrade,
	pvImpounded,
	pvSpawned,
	pvDisabled
	Float: pvFuel,
};
new PlayerVehicleInfo[MAX_PLAYERS+1][MAX_PLAYERVEHICLES][pvInfo];
line 1392
Код:
		if(spoilers >= 1000)    PlayerVehicleInfo[playerid][playervehicleid][pvMods][0] = spoilers;
line 1374
Код:
		new carid = PlayerVehicleInfo[playerid][playervehicleid][pvId];
line 1371
Код:
	if(PlayerVehicleInfo[playerid][playervehicleid][pvImpounded] == 0 || PlayerVehicleInfo[playerid][playervehicleid][pvSpawned] == 1) {
Reply


Messages In This Thread
Undefined symbol - by Lisaax - 04.09.2013, 18:30
Re: Undefined symbol - by Konstantinos - 04.09.2013, 18:53
Re: Undefined symbol - by Lisaax - 04.09.2013, 19:00
Re: Undefined symbol - by Konstantinos - 04.09.2013, 19:17
Re: Undefined symbol - by Lisaax - 04.09.2013, 19:53
Re: Undefined symbol - by Konstantinos - 04.09.2013, 20:18
Re: Undefined symbol - by Lisaax - 05.09.2013, 13:04
Re: Undefined symbol - by Konstantinos - 05.09.2013, 13:39
Re: Undefined symbol - by Lisaax - 05.09.2013, 13:44
Re: Undefined symbol - by Konstantinos - 05.09.2013, 15:03

Forum Jump:


Users browsing this thread: 1 Guest(s)