Why this script dont work and all players can enter in the cars ?
#6

Try this:
pawn Код:
else if(IsTaxiVehicle(vehicleid) && PlayerInfo[playerid][pJob] != JOB_TAXIDRIVER)
        {
            new engine,lights,alarm,doors,bonnet,boot,objective;
            GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
        SetVehicleParamsEx(vehicleid,engine,lights,alarm,VEHICLE_PARAMS_ON,bonnet,boot,objective);
            SendClientMessage(playerid, COLOR_ORANGE, " You can't start the engine as it belongs to the Taxi Drivers.");
        }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)