Eject problem
#1

Код:
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
Reply
#2

well post ur SetPlayerCriminalsFunction 'cuz nutin in ur script says sumthin like ejecting
and that function u got there i dunno
Reply
#3

Well, i don't see RemovePlayerFromVehicle in your code.
Reply
#4

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 )
Reply
#5

up
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)