Unknown Command
#1

This is the command for the job Pizza Boy.
Код:
CMD:pizza(playerid,params[])
{
	new newcar = GetPlayerVehicleID(playerid);
	if(vehicleVariables[newcar][vVehicleJob] == 6 && playerVariables[playerid][pJob] == 6)
	{
		if(playerVariables[playerid][pPiz] == 0)
		{
			IsDeliveringPizza[playerid] = 1;
			new house;
			house = random(systemVariables[houseCount]);
			SetPlayerCheckpoint(playerid, houseVariables[house][hHouseExteriorPos][0], houseVariables[house][hHouseExteriorPos][1], houseVariables[house][hHouseExteriorPos][2], 5.0);
			SendClientMessage(playerid, COLOR_WHITE, "Your working hours is up! Go to red checkpoint.");
			playerVariables[playerid][pPiz] = 120;
		}
		else return SCM(playerid,-1,"You can use pizza every 2 minutes.");
	}
	else return SCM(playerid,-1,"You are not a pizza boy.");
	return 1;
}
After entering the pizza vehicle, and use /pizza, I get the error Unkown Command.
How can I fix this?
Reply


Messages In This Thread
Unknown Command - by danielpalade - 15.04.2016, 23:10
Re: Unknown Command - by StR_MaRy - 15.04.2016, 23:31
Re: Unknown Command - by danielpalade - 16.04.2016, 00:44
Respuesta: Unknown Command - by DragonZafiro - 16.04.2016, 01:23
Re: Unknown Command - by xTURBOx - 16.04.2016, 07:53
Re: Unknown Command - by Konstantinos - 16.04.2016, 08:45
Re: Unknown Command - by danielpalade - 16.04.2016, 20:20
Re: Unknown Command - by Konstantinos - 16.04.2016, 20:27
Re: Unknown Command - by danielpalade - 16.04.2016, 20:31
Re: Unknown Command - by Konstantinos - 16.04.2016, 20:37

Forum Jump:


Users browsing this thread: 1 Guest(s)