A huge problem
#8

Quote:
Originally Posted by Keyhead
Посмотреть сообщение
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.
Well,it's not actualy a command.When you enter in the car it will appear that SCM for multiple times

And that code is after
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
All my faction and job cars are after this line
For an example,another code with cars
pawn Код:
if(newcar == med1 || newcar == med2 || newcar == med3 || newcar == med4 || newcar == med5)
        {
            if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { }
            else
            {
               
                SendClientMessage(playerid,COLOR_PINK,"   You don't have the keys of this car !");
                RemovePlayerFromVehicle(playerid);
            }
        }
Reply


Messages In This Thread
A huge problem - by Yookku - 28.10.2013, 15:38
AW: A huge problem - by BigETI - 28.10.2013, 15:42
Re: A huge problem - by Yookku - 28.10.2013, 16:03
Re: A huge problem - by Yookku - 29.10.2013, 13:21
Re: A huge problem - by Keyhead - 29.10.2013, 13:28
AW: Re: A huge problem - by BigETI - 29.10.2013, 13:33
Re: A huge problem - by Scrillex - 29.10.2013, 13:37
Re: A huge problem - by Yookku - 29.10.2013, 14:05
Re: A huge problem - by Pottus - 29.10.2013, 14:07
Re: A huge problem - by Yookku - 29.10.2013, 14:10

Forum Jump:


Users browsing this thread: 3 Guest(s)