Detect if a player drives Forwards or Backwards
#3

try comparing GetVehicleZAngle with the direction hes moving.

check his coords every second, then calculate the direction hes going and convert it into map angle then compare with vehicleZangle. It will always be either the same or 180 degrees difference.
Reply


Messages In This Thread
Detect if a player drives Forwards or Backwards - by sean5874 - 12.06.2010, 11:09
Re: Detect if a player drives Forwards or Backwards - by deather - 12.06.2010, 11:14
Re: Detect if a player drives Forwards or Backwards - by Sjitty - 12.06.2010, 11:14
Re: Detect if a player drives Forwards or Backwards - by Sjitty - 12.06.2010, 11:14
Re: Detect if a player drives Forwards or Backwards - by sean5874 - 12.06.2010, 11:27
Re: Detect if a player drives Forwards or Backwards - by deather - 13.06.2010, 03:46

Forum Jump:


Users browsing this thread: 1 Guest(s)