OnPlayerEnterVehicle Question...
#5

Quote:
Originally Posted by selten98
Посмотреть сообщение
what do you want IsTrailerAttachedToVehicle to do??
Something like this: But should i run "IsTrailerAttachedToVehicle" through a timer to check it every "something" seconds.

I want it to do something like this:

pawn Код:
if (IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)) == 1)
{
     if (GetVehicleModel(GetVehicleTrailer(GetPlayerVehicleID(playerid))) == 591)
     {
          //Set some checkpoints, send some client text and whatever else.
      }
}
Reply


Messages In This Thread
OnPlayerEnterVehicle Question... - by Ash. - 25.07.2010, 08:15
Re: OnPlayerEnterVehicle Question... - by selten98 - 25.07.2010, 08:52
Re: OnPlayerEnterVehicle Question... - by Ash. - 25.07.2010, 08:55
Re: OnPlayerEnterVehicle Question... - by selten98 - 25.07.2010, 08:59
Re: OnPlayerEnterVehicle Question... - by Ash. - 25.07.2010, 09:43

Forum Jump:


Users browsing this thread: 1 Guest(s)