SA-MP Forums Archive
[HELP] BMX as CAR - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] BMX as CAR (/showthread.php?tid=510107)



[HELP] BMX as CAR - monster010 - 29.04.2014

I have a GodFather gamemode.

How i cand to do when I on BMX I have to know how to drive and lowers fuel, a bike behaves like a vehicle.
- How can I make I no longer require driving license and fuel?

pawn Код:
if(PlayerInfo[playerid][pCarLic] < 1)
            {
                if(PlayerDrunk[playerid] >= 5)
                {
                    WantedPoints[playerid] += 1;
                    SetPlayerCriminal(playerid,255, "Drunk Driving");
                }
                if(TakingLesson[playerid] == 1) { }
                else {
                SendClientMessage(playerid, COLOR_GREY, "   You don't know how to Drive yet, so you left the Car !");
                RemovePlayerFromVehicle(playerid); }
            }



AW: [HELP] BMX as CAR - Macronix - 29.04.2014

pawn Код:
if(PlayerInfo[playerid][pCarLic] < 1 && GetVehicleModel(GetPlayerVehicleID(playerid)) != 481)
            {
                if(PlayerDrunk[playerid] >= 5)
                {
                    WantedPoints[playerid] += 1;
                    SetPlayerCriminal(playerid,255, "Drunk Driving");
                }
                if(TakingLesson[playerid] == 1) { }
                else {
                SendClientMessage(playerid, COLOR_GREY, "   You don't know how to Drive yet, so you left the Car !");
                RemovePlayerFromVehicle(playerid); }
            }



Re: [HELP] BMX as CAR - monster010 - 21.05.2014

Is not work....is remove my of bmx...