04.08.2011, 15:25
I have the papers boy job, so he delivers at different houses!
by typing /paper on a bike i get a checkpoint to a house to deliver, after i deliver it to the house, it says NEXT HOUSE, but the next checkpoint is not here
Pawn
by typing /paper on a bike i get a checkpoint to a house to deliver, after i deliver it to the house, it says NEXT HOUSE, but the next checkpoint is not here
Pawn
Код:
if(Papering[playerid] == 1)
{
new model = GetVehicleModel(veh);
if(model == 510)
{
GameTextForPlayer(playerid, "~w~Next House...", 5000, 4);
GivePlayerCash(playerid, 100);
new rand = random(sizeof(HouseInfo));
SetPlayerCheckpoint(playerid,HouseInfo[rand][hEnterX],HouseInfo[rand][hEnterY],HouseInfo[rand][hEnterZ],10.0);
}
else
{
TogglePlayerControllable(playerid, 0);
DisablePlayerCheckpoint(playerid);
Papering[playerid] = 0;
SendClientMessage(playerid,COLOR_RED,"Your sidejob is canceled.");
}
}

