a problem :s - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: a problem :s (
/showthread.php?tid=109351)
a problem :s -
GforceNL - 19.11.2009
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:
Код:
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");
}
}
It stil removes Player Out the Vec.. Even The RemovePlayerFromVehilce Part is deleted
Re: a problem :s -
ExoSanty - 19.11.2009
compiled, uploaded/overrided and restarted?
i forget one of these sometimes...