[Include] Mil-Functions 0.1
#9

CMDeatbelt(playerid, params[])
{
if(GetVehicleType(vehicleid) != Model_Car) return SendClientMessage(playerid, COLOR_RED, "ERROR: You can only perform this command in a car.");
//rest of the code
}

can be easly

if(IsPlayerInAnyVehicle(playerid) ) return .....
Reply


Messages In This Thread
Mil-Functions 0.2 [SetVehicleSpeed, GetVehicleSpeed + More] - by milanosie - 31.07.2012, 16:53
Re: Mil-Functions 0.1 - by Kaperstone - 31.07.2012, 17:02
Re: Mil-Functions 0.1 - by Glint - 31.07.2012, 17:06
Re: Mil-Functions 0.1 - by milanosie - 31.07.2012, 17:13
Re: Mil-Functions 0.1 - by MP2 - 31.07.2012, 19:22
Re: Mil-Functions 0.1 - by milanosie - 01.08.2012, 01:56
Re : Mil-Functions 0.1 - by ricardo178 - 01.08.2012, 13:38
Re: Re : Mil-Functions 0.1 - by milanosie - 01.08.2012, 14:21
Re: Mil-Functions 0.1 - by TheArcher - 01.08.2012, 14:26
Re: Mil-Functions 0.1 - by milanosie - 01.08.2012, 14:35
Re: Mil-Functions 0.1 - by TheArcher - 01.08.2012, 14:36
Re: Mil-Functions 0.1 - by milanosie - 01.08.2012, 23:15
Re: Mil-Functions 0.1 - by milanosie - 02.08.2012, 10:24
Re: Mil-Functions 0.1 - by Jewelz - 04.08.2012, 12:54
Re: Mil-Functions 0.1 - by milanosie - 08.08.2012, 11:34
Re: Mil-Functions 0.1 - by Sanady - 08.08.2012, 14:01
Re: Mil-Functions 0.1 - by milanosie - 08.08.2012, 15:58
Re: Mil-Functions 0.1 - by Jewelz - 15.08.2012, 00:07
Re: Mil-Functions 0.1 - by RedWingz - 15.08.2012, 00:13

Forum Jump:


Users browsing this thread: 1 Guest(s)