19.11.2009, 15:45
Hi i have a Problem:
A Player dont have licenses they Wil be trown Out of the car.. How can i fix that they dont trow out of the car i already have deleted the RemovePlayerFromVehicle Part...
A Part Of The Script:
It stil removes Player Out the Vec.. Even The RemovePlayerFromVehilce Part is deleted
A Player dont have licenses they Wil be trown Out of the car.. How can i fix that they dont trow out of the car i already have deleted the RemovePlayerFromVehicle Part...
A Part Of The Script:
Код:
if(IsABoat(newcar)) { if(PlayerInfo[playerid][pBoatLic] < 1) { SendClientMessage(playerid, COLOR_GREY, "You Dont Have A License Look Out For The Cops! "); // RemovePlayerFromVehicle(playerid); } } else if(IsAPlane(newcar)) { if(PlayerInfo[playerid][pFlyLic] < 1) { if(TakingLesson[playerid] == 1) { } else { SendClientMessage(playerid, COLOR_GREY, "You Dont Have A License Look Out For The Cops! "); // RemovePlayerFromVehicle(playerid); } } } else { 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 Dont Have A License Look Out For The Cops! !"); //RemovePlayerFromVehicle(playerid); } } else if(PlayerDrunk[playerid] >= 5) { WantedPoints[playerid] += 1; SetPlayerCriminal(playerid,255, "Drunk Driving"); } }
![confused](images/smilies/confused.gif)