IsPlayerInVehicle -- problems
#2

pawn Код:
new vehicleid = GetPlayerVehicleID(playerid);
if(GetVehicleModel(vehicleid) == 498)
    {
Add this to your command
and maybe,
pawn Код:
if(GetVehicleModel(vehicleid) != 498)
{
     SendClientMessage(playerid, COLOR_RED, "You must be in the correct vehicle in order to do this job.");
     return 1;
}
Reply


Messages In This Thread
IsPlayerInVehicle -- problems - by Heisenbergx2 - 13.08.2013, 18:09
Re: IsPlayerInVehicle -- problems - by Vanter - 13.08.2013, 20:17
Re: IsPlayerInVehicle -- problems - by Heisenbergx2 - 13.08.2013, 20:23
Re: IsPlayerInVehicle -- problems - by Heisenbergx2 - 14.08.2013, 04:51
Re: IsPlayerInVehicle -- problems - by Vanter - 14.08.2013, 10:54

Forum Jump:


Users browsing this thread: 1 Guest(s)