Driving license
#1

Hello. I wanted to remind myself how it's done when getting into a vehicle, it popped up the message that "You do not have a driving license, you decide to leave the vehicle!". How to make it work well?

Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) //test123
{
	if(playerid == vehicleid)
	{
		if(PlayerInfo[playerid][DrivingLicense] == 0)
		{
			SendClientMessage(playerid, -1, "You do not have a driving license, you decide to leave the vehicle!");
			ClearAnimations(playerid);
		}
	}

	return 1;
}
Reply


Messages In This Thread
Driving license - by KamilPolska - 16.06.2019, 16:00
Re: Driving license - by Zipfer247 - 16.06.2019, 16:11
Re: Driving license - by KamilPolska - 16.06.2019, 16:32
Re: Driving license - by Stev - 16.06.2019, 16:36
Re: Driving license - by KamilPolska - 16.06.2019, 16:41
Re: Driving license - by SiaReyes - 16.06.2019, 21:02
Re: Driving license - by KamilPolska - 16.06.2019, 22:33
Re: Driving license - by SiaReyes - 17.06.2019, 08:12

Forum Jump:


Users browsing this thread: 1 Guest(s)