Eject problem - 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: Eject problem (
/showthread.php?tid=89780)
Eject problem -
Anthony Wolf - 04.08.2009
Код:
if(PlayerInfo[playerid][pCarLic] < 1)
{
if(PlayerDrunk[playerid] >= 5)
{
WantedPoints[playerid] += 1;
SetPlayerCriminal(playerid,255, "Conduite en йtat d'ivresse");
}
if(TakingLesson[playerid] == 1) { }
else {
SendClientMessage(playerid, COLOR_GREY, "[INFO] : Tu roules sans permis, attention au shйrif !"); // = no lic.
SendClientMessage(playerid, COLOR_GREY, "[INFO] : Tu peux roulez avec les vйhicules йlectrique а l'hopital !");
}
}
else if(PlayerDrunk[playerid] >= 5)
{
WantedPoints[playerid] += 1;
SetPlayerCriminal(playerid,255, "Conduite en йtat d'ivresse"); // = You drive drunk
}
}
I don't want to eject
But The player was eject when he don't have license
Thank
Re: Eject problem -
saiberfun - 04.08.2009
well post ur SetPlayerCriminalsFunction 'cuz nutin in ur script says sumthin like ejecting
and that function u got there i dunno
Re: Eject problem -
Correlli - 04.08.2009
Well, i don't see RemovePlayerFromVehicle in your code.
Re: Eject problem -
Anthony Wolf - 04.08.2009
Quote:
Originally Posted by Don Correlli
Well, i don't see RemovePlayerFromVehicle in your code.
|
The problm is here
I delet the code, ( it's the but ),
but i'm eject !
There are no problem with carid ( I test with License )
Re: Eject problem -
Anthony Wolf - 05.08.2009
up