Prevent carparking?
#6

Use GetClosestVehicle() (might be in useful functions thread(s)), to determine the closest vehicle, determine the offset between the player and the vehicle in OnPlayerTakeDamage and try to determine if the car is stationary on top of the player (by checking the velocity), then clear the player's animations and they should get back up, but be in the middle of a car.
Reply


Messages In This Thread
Prevent carparking? - by Face9000 - 18.12.2011, 18:37
Re: Prevent carparking? - by Basssiiie - 18.12.2011, 19:47
Re: Prevent carparking? - by Face9000 - 18.12.2011, 20:50
Re: Prevent carparking? - by Face9000 - 19.12.2011, 20:11
Re: Prevent carparking? - by Rob_Maate - 19.12.2011, 22:30
Re: Prevent carparking? - by Calgon - 19.12.2011, 22:41
Re: Prevent carparking? - by Rob_Maate - 19.12.2011, 22:42
Re: Prevent carparking? - by Gamer_Z - 19.12.2011, 22:45
Re: Prevent carparking? - by Calgon - 19.12.2011, 23:04

Forum Jump:


Users browsing this thread: 1 Guest(s)