29.10.2013, 13:28
pawn Код:
if(IsAHarvest(newcar))
{
if(PlayerInfo[playerid][pJob] == 18)
{
if(FarmerVar[playerid] == 0)
{
SendClientMessage(playerid, COLOR_RED, "___________Farmer guide___________");
SendClientMessage(playerid, COLOR_WHITE, "** Farmer ** /startharvest, /stopharvest or /exit");
SendClientMessage(playerid, COLOR_RED, "__________________________________");
TogglePlayerControllable(playerid, 0);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You don't have keys of this vehicle !");
RemovePlayerFromVehicle(playerid);
}
}
Try that maybe, If it doesn't work then post the whole command and anything involved with it. I or someone may be able to help you then.