error 004: function "LoadHouseCars" is not implemented
#1

Can anyone please tell me wat does this error mean error 004: function "LoadHouseCars" is not implemented
Reply
#2

What script are you using?
Reply
#3

my own one im making from scractch im making the dynamic housing http://forum.sa-mp.com/index.php?topic=120757.0 i added al the things it said add
Reply
#4

Re-check if you added the LoadHouseCars correctly.
Reply
#5

yes it is here it is
Code:
				else if(strcmp(x_nr,"car",true) == 0)
				{
					if(GetPlayerInterior(playerid) != 0) return SendClientMessage(playerid,COLOR_GREY,"You must be outside to use this command."), SendClientMessage(playerid,COLOR_GREY,"If this is a error in the script, please Contact a Admin/Scripter.");
					else if (PlayerInfo[playerid][pHouseX] == 0 && PlayerInfo[playerid][pHouseY] == 0 && PlayerInfo[playerid][pHouseZ] == 0) return SendClientMessage(playerid,COLOR_GREY,"You have skipped a step by failing to place your entrance!"), SendClientMessage(playerid,COLOR_GREY,"Please start over by typing /buyhouse and following the instructions.");
					else if (PlayerInfo[playerid][pGotCar] != 0) return SendClientMessage(playerid,COLOR_GREY,"You've already placed your house car.");
	  			else if (GetPlayerMoney(playerid) <= 9999) return SendClientMessage(playerid,COLOR_GREY,"You cannot afford a car.");
					else
					{
						SendClientMessage(playerid, COLOR_GREY, "Your house car has been placed. If you placed it wrong, stand in the");
						SendClientMessage(playerid, COLOR_GREY, "appropriate place and type /buyhouse car again. As you did with your house entrance," );
						SendClientMessage(playerid, COLOR_GREY, "be sure your house car is placed in an appropriate location. To complete this process,");
						SendClientMessage(playerid, COLOR_GREY, "type /buyhouse level [level you want]. Level must exceed your character level.");
						SendClientMessage(playerid, COLOR_GREY, "Houses cost $50000 per level. Doing this will confirm the purchase of your house.");
						SendClientMessage(playerid, COLOR_GREY, "If you do not wish to purchase a house, type /buyhouse cancel now.");
						new Float:pX,Float:pY,Float:pZ;
	  					GetPlayerPos(playerid,pX,pY,pZ);
			  		new Float:pAngle;
			  		GetPlayerFacingAngle(playerid,pAngle);
						PlayerInfo[playerid][pHouseCarX] = Float:pX; // The co-ords for car
						PlayerInfo[playerid][pHouseCarY] = Float:pY; // The co-ords for car
						PlayerInfo[playerid][pHouseCarZ] = Float:pZ; // The co-ords for car
						PlayerInfo[playerid][pHouseCarAngle] = Float:pAngle; // The co-ords for car
						PlayerInfo[playerid][pEnterHouse] = 0;
						PlayerInfo[playerid][pGotEntrance] = 1;
						PlayerInfo[playerid][pMakingHouse] = 1;
						if(PlayerInfo[playerid][pHouseCarId] == 0)
						{
							PlayerInfo[playerid][pHouseCarId] = 542; // The Model ID for car
						}
					}
					return 1;
				}
				else if(strcmp(x_nr,"level",true) == 0) // Made by Keondre Harris
				{
					if (PlayerInfo[playerid][pHouseCarX] == 0 && PlayerInfo[playerid][pHouseCarY] == 0 && PlayerInfo[playerid][pHouseCarZ] == 0) return SendClientMessage(playerid,COLOR_GREY,"You have skipped a step by failing to place your car!"), SendClientMessage(playerid,COLOR_GREY,"Please type /buyhouse car and carry on with your purchase.");
					x_nr = strtok(cmdtext, idx);
	 				if(!strlen(x_nr))
	 				{
						SendClientMessage(playerid, COLOR_GREY, "Type /buyhouse level [level you want]. Level must exceed your character level.");
						SendClientMessage(playerid, COLOR_GREY, "Houses cost $50000 per level. Doing this will confirm the purchase of your house.");
						SendClientMessage(playerid, COLOR_GREY, "If you do not wish to purchase a house, type /buyhouse cancel now.");
						return 1;
	 				}
					if(strcmp(x_nr,"1",true) == 0)
					{
						new mylevel = PlayerInfo[playerid][pHouseLevel];
						new Range = 1-mylevel;
						new cost = Range*50000;
	 					if(GetPlayerMoney(playerid) < cost) return SendClientMessage(playerid,COLOR_GREY,"You can't afford a house of that level!");
						GivePlayerMoney(playerid,-cost);
						PlayerInfo[playerid][pEnterHouse] = 1;
						SendClientMessage(playerid, COLOR_GREY, "Congratulations! You have purchased a level 1 house for $50,000");
				 		SendClientMessage(playerid, COLOR_GREY, "type /househelp for a list of the housing commands.");
						new VirtualWorldHouse = 1 + random(255);  // Random number for VW
		  			PlayerInfo[playerid][pHouseVW] = VirtualWorldHouse; // The Virtual World for House Interior
				  	PlayerInfo[playerid][pHouseIntX] = 244.411987;// The co-ords for House Interior
				  	PlayerInfo[playerid][pHouseIntY] = 305.032989;// The co-ords for House Interior
					  PlayerInfo[playerid][pHouseIntZ] = 999.148437;// The co-ords for House Interior
					  PlayerInfo[playerid][pHouseInt] = 1;// The Interor id for House Interior
					  PlayerInfo[playerid][pHouseLevel] = 1;// house level
						PlayerInfo[playerid][pGotCar] = 1;
						PlayerInfo[playerid][pMakingHouse] = 0;
						PlayerInfo[playerid][pHouseSpawn] = 1;
						PlayerInfo[playerid][pOwnsHouse] = 1;
						LoadHouseCars(playerid);
						return 1;
	 				}
					if(strcmp(x_nr,"2",true) == 0)
					{
						if(PlayerInfo[playerid][pLevel] <= 1) return SendClientMessage(playerid, COLOR_GREY, "You must be level 2 to buy this house!");
						else if(PlayerInfo[playerid][pHouseLevel] >= 3) return SendClientMessage(playerid, COLOR_GREY, "You cannot buy a lower level house");
						new mylevel = PlayerInfo[playerid][pHouseLevel];
						new Range = 2-mylevel;
						new cost = Range*50000;
	 					if(GetPlayerMoney(playerid) < cost) return SendClientMessage(playerid,COLOR_GREY,"You can't afford a house of that level!");
						GivePlayerMoney(playerid,-cost);
						PlayerInfo[playerid][pEnterHouse] = 1;
						SendClientMessage(playerid, COLOR_GREY, "Congratulations! You have purchased a level 2 house for $100,000");
				 		SendClientMessage(playerid, COLOR_GREY, "type /househelp for a list of the housing commands.");
						new VirtualWorldHouse = 1 + random(255);  // Random number for VW
		  			PlayerInfo[playerid][pHouseVW] = VirtualWorldHouse; // The Virtual World for House Interior
						PlayerInfo[playerid][pHouseIntX] = 328.493988;// The co-ords for House Interior
	  				PlayerInfo[playerid][pHouseIntY] = 1480.589966;// The co-ords for House Interior
			  	 		PlayerInfo[playerid][pHouseIntZ] = 1084.449951;// The co-ords for House Interior
				  	PlayerInfo[playerid][pHouseInt] = 15;
				  	PlayerInfo[playerid][pHouseLevel] = 2;
						PlayerInfo[playerid][pGotCar] = 1;
						PlayerInfo[playerid][pMakingHouse] = 0;
						PlayerInfo[playerid][pHouseSpawn] = 1;
						PlayerInfo[playerid][pOwnsHouse] = 1;
						LoadHouseCars(playerid);
						return 1;
	 				}
					else if(strcmp(x_nr,"3",true) == 0)
					{
						if(PlayerInfo[playerid][pLevel] <= 2) return SendClientMessage(playerid, COLOR_GREY, "You must be level 3 to buy this house!");
						else if(PlayerInfo[playerid][pHouseLevel] >= 4) return SendClientMessage(playerid, COLOR_GREY, "You cannot buy a lower level house");
						new mylevel = PlayerInfo[playerid][pHouseLevel];
						new Range = 3-mylevel;
						new cost = Range*50000;
	 					if(GetPlayerMoney(playerid) < cost) return SendClientMessage(playerid,COLOR_GREY,"You can't afford a house of that level!");
	 					GivePlayerMoney(playerid,-cost);
						PlayerInfo[playerid][pEnterHouse] = 1;
						SendClientMessage(playerid, COLOR_GREY, "Congratulations! You have purchased a level 3 house for $150,000");
				 		SendClientMessage(playerid, COLOR_GREY, "type /househelp for a list of the housing commands.");
						new VirtualWorldHouse = 1 + random(255);  // Random number for VW
			  			PlayerInfo[playerid][pHouseVW] = VirtualWorldHouse; // The Virtual World for House Interior
						PlayerInfo[playerid][pHouseIntX] = 385.4470;// The co-ords for House Interior
	  				PlayerInfo[playerid][pHouseIntY] = 1471.7687;// The co-ords for House Interior
			  	 		PlayerInfo[playerid][pHouseIntZ] = 1080.1875;// The co-ords for House Interior
			  		PlayerInfo[playerid][pHouseInt] = 15;
				  	PlayerInfo[playerid][pHouseLevel] = 3;
						PlayerInfo[playerid][pGotCar] = 1;
						PlayerInfo[playerid][pMakingHouse] = 0;
						PlayerInfo[playerid][pHouseSpawn] = 1;
						PlayerInfo[playerid][pOwnsHouse] = 1;
						LoadHouseCars(playerid);
						return 1;
	 				}
	 				else if(strcmp(x_nr,"4",true) == 0)
					{
						if(PlayerInfo[playerid][pLevel] <= 3) return SendClientMessage(playerid, COLOR_GREY, "You must be level 4 to buy this house!");
						else if(PlayerInfo[playerid][pHouseLevel] >= 5) return SendClientMessage(playerid, COLOR_GREY, "You cannot buy a lower level house");
						new mylevel = PlayerInfo[playerid][pHouseLevel];
						new Range = 4-mylevel;
						new cost = Range*50000;
	 					if(GetPlayerMoney(playerid) < cost) return SendClientMessage(playerid,COLOR_GREY,"You can't afford a house of that level!");
						GivePlayerMoney(playerid,-cost);
						PlayerInfo[playerid][pEnterHouse] = 1;
						SendClientMessage(playerid, COLOR_GREY, "Congratulations! You have purchased a level 4 house for $200,000");
				 		SendClientMessage(playerid, COLOR_GREY, "type /househelp for a list of the housing commands.");
						new VirtualWorldHouse = 1 + random(255);  // Random number for VW
		  			PlayerInfo[playerid][pHouseVW] = VirtualWorldHouse; // The Virtual World for House Interior
						PlayerInfo[playerid][pHouseIntX] = 295.5083;// The co-ords for House Interior
	  				PlayerInfo[playerid][pHouseIntY] = 1473.2737;// The co-ords for House Interior
			  	 		PlayerInfo[playerid][pHouseIntZ] = 1080.2578;// The co-ords for House Interior
				  	PlayerInfo[playerid][pHouseInt] = 15;
				  	PlayerInfo[playerid][pHouseLevel] = 4;
						PlayerInfo[playerid][pGotCar] = 1;
						PlayerInfo[playerid][pMakingHouse] = 0;
						PlayerInfo[playerid][pHouseSpawn] = 1;
						PlayerInfo[playerid][pOwnsHouse] = 1;
						LoadHouseCars(playerid);
						return 1;
	 				}
	 				else if(strcmp(x_nr,"5",true) == 0)
					{
						if(PlayerInfo[playerid][pLevel] <= 4) return SendClientMessage(playerid, COLOR_GREY, "You must be level 5 to buy this house!");
						else if(PlayerInfo[playerid][pHouseLevel] >= 6) return SendClientMessage(playerid, COLOR_GREY, "You cannot buy a lower level house");
						new mylevel = PlayerInfo[playerid][pHouseLevel];
						new Range = 5-mylevel;
						new cost = Range*50000;
	 					if(GetPlayerMoney(playerid) < cost) return SendClientMessage(playerid,COLOR_GREY,"You can't afford a house of that level!");
						GivePlayerMoney(playerid,-cost);
						PlayerInfo[playerid][pEnterHouse] = 1;
						SendClientMessage(playerid, COLOR_GREY, "Congratulations! You have purchased a level 5 house for $250,000");
				 		SendClientMessage(playerid, COLOR_GREY, "type /househelp for a list of the housing commands.");
						new VirtualWorldHouse = 1 + random(255);  // Random number for VW
		  			PlayerInfo[playerid][pHouseVW] = VirtualWorldHouse; // The Virtual World for House Interior
						PlayerInfo[playerid][pHouseIntX] = 447.3141;// The co-ords for House Interior
	  				PlayerInfo[playerid][pHouseIntY] = 1398.6111;// The co-ords for House Interior
			  	 		PlayerInfo[playerid][pHouseIntZ] = 1084.3120;// The co-ords for House Interior
				  	PlayerInfo[playerid][pHouseInt] = 2;
				  	PlayerInfo[playerid][pHouseLevel] = 5;
						PlayerInfo[playerid][pGotCar] = 1;
						PlayerInfo[playerid][pMakingHouse] = 0;
						PlayerInfo[playerid][pHouseSpawn] = 1;
						PlayerInfo[playerid][pOwnsHouse] = 1;
						LoadHouseCars(playerid);
						return 1;
	 				}
	 				else if(strcmp(x_nr,"6",true) == 0)
					{
						if(PlayerInfo[playerid][pLevel] <= 5) return SendClientMessage(playerid, COLOR_GREY, "You must be level 6 to buy this house!");
						else if(PlayerInfo[playerid][pHouseLevel] >= 7) return SendClientMessage(playerid, COLOR_GREY, "You cannot buy a lower level house");
						new mylevel = PlayerInfo[playerid][pHouseLevel];
						new Range = 6-mylevel;
						new cost = Range*50000;
	 					if(GetPlayerMoney(playerid) < cost) return SendClientMessage(playerid,COLOR_GREY,"You can't afford a house of that level!");
				 		GivePlayerMoney(playerid,-cost);
						PlayerInfo[playerid][pEnterHouse] = 1;
						SendClientMessage(playerid, COLOR_GREY, "Congratulations! You have purchased a level 6 house for $300,000");
				 		SendClientMessage(playerid, COLOR_GREY, "type /househelp for a list of the housing commands.");
						new VirtualWorldHouse = 1 + random(255);  // Random number for VW
		  			PlayerInfo[playerid][pHouseVW] = VirtualWorldHouse; // The Virtual World for House Interior
						PlayerInfo[playerid][pHouseIntX] = 2324.4246;// The co-ords for House Interior
	  				PlayerInfo[playerid][pHouseIntY] = -1147.4802;// The co-ords for House Interior
			  	 		PlayerInfo[playerid][pHouseIntZ] = 1050.7101;// The co-ords for House Interior
				  	PlayerInfo[playerid][pHouseInt] = 12;
				  	PlayerInfo[playerid][pHouseLevel] = 6;
						PlayerInfo[playerid][pGotCar] = 1;
						PlayerInfo[playerid][pMakingHouse] = 0;
						PlayerInfo[playerid][pHouseSpawn] = 1;
						PlayerInfo[playerid][pOwnsHouse] = 1;
						LoadHouseCars(playerid);
						return 1;
	 				}
	 				else if(strcmp(x_nr,"7",true) == 0)
					{
						if(PlayerInfo[playerid][pLevel] <= 6) return SendClientMessage(playerid, COLOR_GREY, "You must be level 7 to buy this house!");
						else if(PlayerInfo[playerid][pHouseLevel] >= 8) return SendClientMessage(playerid, COLOR_GREY, "You cannot buy a lower level house");
						new mylevel = PlayerInfo[playerid][pHouseLevel];
						new Range = 7-mylevel;
						new cost = Range*50000;
	 					if(GetPlayerMoney(playerid) < cost) return SendClientMessage(playerid,COLOR_GREY,"You can't afford a house of that level!");
						GivePlayerMoney(playerid,-cost);
						PlayerInfo[playerid][pEnterHouse] = 1;
						SendClientMessage(playerid, COLOR_GREY, "Congratulations! You have purchased a level 7 house for $350,000");
				 		SendClientMessage(playerid, COLOR_GREY, "type /househelp for a list of the housing commands.");
						new VirtualWorldHouse = 1 + random(255);  // Random number for VW
			  			PlayerInfo[playerid][pHouseVW] = VirtualWorldHouse; // The Virtual World for House Interior
						PlayerInfo[playerid][pHouseIntX] = 491.0594;// The co-ords for House Interior
	  				PlayerInfo[playerid][pHouseIntY] = 1400.3870;// The co-ords for House Interior
			  	 		PlayerInfo[playerid][pHouseIntZ] = 1080.2645;// The co-ords for House Interior
				  	PlayerInfo[playerid][pHouseInt] = 2;
				  	PlayerInfo[playerid][pHouseLevel] = 7;
						PlayerInfo[playerid][pGotCar] = 1;
						PlayerInfo[playerid][pMakingHouse] = 0;
						PlayerInfo[playerid][pHouseSpawn] = 1;
						PlayerInfo[playerid][pOwnsHouse] = 1;
						LoadHouseCars(playerid);
						return 1;
	 				}
	 				else if(strcmp(x_nr,"8",true) == 0)
					{
						if(PlayerInfo[playerid][pLevel] <= 7) return SendClientMessage(playerid, COLOR_GREY, "You must be level 8 to buy this house!");
						else if(PlayerInfo[playerid][pHouseLevel] >= 9) return SendClientMessage(playerid, COLOR_GREY, "You cannot buy a lower level house");
						new mylevel = PlayerInfo[playerid][pHouseLevel];
						new Range = 8-mylevel;
						new cost = Range*50000;
	 					if(GetPlayerMoney(playerid) < cost) return SendClientMessage(playerid,COLOR_GREY,"You can't afford a house of that level!");
						GivePlayerMoney(playerid,-cost);
						PlayerInfo[playerid][pEnterHouse] = 1;
						SendClientMessage(playerid, COLOR_GREY, "Congratulations! You have purchased a level 8 house for $400,000");
				 		SendClientMessage(playerid, COLOR_GREY, "type /househelp for a list of the housing commands.");
						new VirtualWorldHouse = 1 + random(255);  // Random number for VW
		  			PlayerInfo[playerid][pHouseVW] = VirtualWorldHouse; // The Virtual World for House Interior
						PlayerInfo[playerid][pHouseIntX] = 227.7922;// The co-ords for House Interior
	  				PlayerInfo[playerid][pHouseIntY] = 1114.3696;// The co-ords for House Interior
			  	 		PlayerInfo[playerid][pHouseIntZ] = 1080.9922;// The co-ords for House Interior
				  	PlayerInfo[playerid][pHouseInt] = 5;
				  	PlayerInfo[playerid][pHouseLevel] = 8;
						PlayerInfo[playerid][pGotCar] = 1;
						PlayerInfo[playerid][pMakingHouse] = 0;
						PlayerInfo[playerid][pHouseSpawn] = 1;
						PlayerInfo[playerid][pOwnsHouse] = 1;
						LoadHouseCars(playerid);
						return 1;
	 				}
	 				else if(strcmp(x_nr,"9",true) == 0)
					{
	 					if(PlayerInfo[playerid][pLevel] <= 8) return SendClientMessage(playerid, COLOR_GREY, "You must be level 9 to buy this house!");
						else if(PlayerInfo[playerid][pHouseLevel] >= 10) return SendClientMessage(playerid, COLOR_GREY, "You cannot buy a lower level house");
						new mylevel = PlayerInfo[playerid][pHouseLevel];
						new Range = 9-mylevel;
						new cost = Range*50000;
	 					if(GetPlayerMoney(playerid) < cost) return SendClientMessage(playerid,COLOR_GREY,"You can't afford a house of that level!");
						GivePlayerMoney(playerid,-cost);
						PlayerInfo[playerid][pEnterHouse] = 1;
						SendClientMessage(playerid, COLOR_GREY, "Congratulations! You have purchased a level 9 house for $450,000");
				 		SendClientMessage(playerid, COLOR_GREY, "type /househelp for a list of the housing commands.");
						new VirtualWorldHouse = 1 + random(255);  // Random number for VW
		  			PlayerInfo[playerid][pHouseVW] = VirtualWorldHouse; // The Virtual World for House Interior
						PlayerInfo[playerid][pHouseIntX] = 234.1625;// The co-ords for House Interior
	  				PlayerInfo[playerid][pHouseIntY] = 1064.2280;// The co-ords for House Interior
			  	 		PlayerInfo[playerid][pHouseIntZ] = 1084.2115;// The co-ords for House Interior
				  	PlayerInfo[playerid][pHouseInt] = 6;
				  	PlayerInfo[playerid][pHouseLevel] = 9;
						PlayerInfo[playerid][pGotCar] = 1;
						PlayerInfo[playerid][pMakingHouse] = 0;
						PlayerInfo[playerid][pHouseSpawn] = 1;
						PlayerInfo[playerid][pOwnsHouse] = 1;
						LoadHouseCars(playerid);
						return 1;
	  				}
Reply
#6

C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(896) : warning 235: public function lacks forward declaration (symbol "SetPlayerRandomSpawn")
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(1129) : error 004: function "LoadHouseCars" is not implemented
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(1155) : error 004: function "LoadHouseCars" is not implemented
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(1181) : error 004: function "LoadHouseCars" is not implemented
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(1207) : error 004: function "LoadHouseCars" is not implemented
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(1233) : error 004: function "LoadHouseCars" is not implemented
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(1259) : error 004: function "LoadHouseCars" is not implemented
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(1285) : error 004: function "LoadHouseCars" is not implemented
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(1311) : error 004: function "LoadHouseCars" is not implemented
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(1337) : error 004: function "LoadHouseCars" is not implemented
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(1363) : error 004: function "LoadHouseCars" is not implemented
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(1691) : error 029: invalid expression, assumed zero
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(170 : error 029: invalid expression, assumed zero
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(3406) : error 004: function "LoadHouseCars" is not implemented
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(365 : warning 203: symbol is never used: "CashScoreOld"
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(365 : warning 203: symbol is never used: "ChangePos"
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(365 : warning 203: symbol is never used: "ChangePos2"
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(365 : warning 203: symbol is never used: "TeleportDest"
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(365 : warning 203: symbol is never used: "dcmd_changepass"
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(365 : warning 203: symbol is never used: "dollah"
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(365 : warning 203: symbol is never used: "gActivePlayers"
C:\UsersKeeBooDesktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes \gtarp.pwn(365 : warning 203: symbol is never used: "gLastGaveCash"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


13 Errors.
Reply
#7

As I said, you don't have the function.
Look in the topic for the function itself.
something like public AddHouseCar or stock AddHouseCar

Edit:
Oh and that looks like you missed a bracket somewhere
Reply
#8

okay now i got this problem

Code:
C:\Users\\Desktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes\gtarp.pwn(1705) : error 029: invalid expression, assumed zero
C:\Users\\Desktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes\gtarp.pwn(1722) : error 029: invalid expression, assumed zero
C:\Users\\Desktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes\gtarp.pwn(954) : warning 204: symbol is assigned a value that is never used: "playername"
C:\Users\\Desktop\SZR GTA ROLEPLAY\RealityRolePlay\RealityRolePlay\gamemodes\gtarp.pwn(3458) : error 029: invalid expression, assumed zero
with this code
Code:
	if(strcmp(cmd, "/lock", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
			if(PlayerInfo[playerid][pHouseCarX] == 0 && PlayerInfo[playerid][pHouseCarY] == 0) return SendClientMessage(playerid,COLOR_LIGHTBLUE, " You do not have a house car!");
	    if(PlayerInfo[playerid][pHouseCarLocked] == 0) // if its unlocked
	    {
	      SendClientMessage(playerid,COLOR_GREY, "You have locked your car. Use /unlock to remotely unlock it.");
       	for (new i=0; i<MAX_POINTS; i++)
				{
	  			SetVehicleParamsForPlayer(playercarid[playerid],i,0,1);
	  			PlayerInfo[playerid][pHouseCarLocked] = 1; // locked
				}
	    }
 		}
		return 1;
	}
	if(strcmp(cmd, "/unlock", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
			if(PlayerInfo[playerid][pHouseCarX] == 0 && PlayerInfo[playerid][pHouseCarY] == 0) return SendClientMessage(playerid,COLOR_LIGHTBLUE, " You do not have a house car!");
	    if(PlayerInfo[playerid][pHouseCarLocked] == 1) // if its locked
	    {
	      SendClientMessage(playerid,COLOR_GREY, "You have unlocked your car. Use /lock to remotely lock it.");
       	for (new i=0; i<MAX_POINTS; i++)
				{
	  			SetVehicleParamsForPlayer(playercarid[playerid],i,0,0);
	  			PlayerInfo[playerid][pHouseCarLocked] = 0; // unlocked
				}
				return 1;
	    }
 		}
		return 1;
	}
Reply
#9

can someone plz help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)