Unknown Command
#5

try this
PHP код:
CMD:pizza(playerid,params[])
{
    new 
newcar GetPlayerVehicleID(playerid);
    if(
vehicleVariables[newcar][vVehicleJob] != && playerVariables[playerid][pJob] != 6) return SCM(playerid,-1,"You are not a pizza boy.");
    if(
playerVariables[playerid][pPiz] != 0) return SCM(playerid,-1,"You can use pizza every 2 minutes.");
    
IsDeliveringPizza[playerid] = 1;
    new 
house;
    
house random(systemVariables[houseCount]);
    
SetPlayerCheckpoint(playeridhouseVariables[house][hHouseExteriorPos][0], houseVariables[house][hHouseExteriorPos][1], houseVariables[house][hHouseExteriorPos][2], 5.0);
    
SendClientMessage(playeridCOLOR_WHITE"Your working hours is up! Go to red checkpoint.");
    
playerVariables[playerid][pPiz] = 120;
    return 
1;

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: 2 Guest(s)