Help with IsPlayerInVehicle
#8

Quote:
Originally Posted by Fedee!
Quote:
Originally Posted by Niixie
Make a some functions that tells the script that if the player is in vehiclemodel blablabla its a lowrider and it will show menu 1 and so on.
Its not that hard?

Think logical
That is my point, but I dont know the function.

I was thinking:

Quote:
case 0:
{
new vehicleid = GetPlayerVehicleID(playerid);
if(IsPlayerInVehicle(playerid, vehicleid))
{
//Here should go the check model id, and depending on which model is, another menu comes up.
}

Exactly, now you just need to make a listing of all vehicle mods, and what type of garage they use, could just create yourself a simple array
new VehicleModelModType[212];(400+index = vehicle type)
and put 0,1,2,3 0-non 1-trans 2-arch 3-lowride
Reply


Messages In This Thread
Help with IsPlayerInVehicle - by Fedee! - 04.02.2010, 22:59
Re: Help with IsPlayerInVehicle - by mansonh - 04.02.2010, 23:07
Re: Help with IsPlayerInVehicle - by Fedee! - 04.02.2010, 23:14
Re: Help with IsPlayerInVehicle - by mansonh - 04.02.2010, 23:17
Re: Help with IsPlayerInVehicle - by Fedee! - 05.02.2010, 15:46
Re: Help with IsPlayerInVehicle - by Niixie - 05.02.2010, 15:49
Re: Help with IsPlayerInVehicle - by Fedee! - 05.02.2010, 15:57
Re: Help with IsPlayerInVehicle - by mansonh - 06.02.2010, 07:43

Forum Jump:


Users browsing this thread: 2 Guest(s)