Plant cmd
#3

For a simple solution use GetPlayerVelocity and calculate the velocity vector using VectorSize.

It's extremely unlikely that someone is mid-air without any velocity, as they will fall or at least move.
Furthermore only allow planting on-foot.

For a better and reliable solution use MapAndreas or ColAndreas, this also lets you adjust the plant's position so that it's always perfectly on the ground (even with rotation, if using CA).
Reply


Messages In This Thread
Plant cmd - by KinderClans - 08.09.2018, 09:07
Re: Plant cmd - by Hunud - 08.09.2018, 10:08
Re: Plant cmd - by NaS - 08.09.2018, 13:01
Re: Plant cmd - by KinderClans - 08.09.2018, 13:42
Re: Plant cmd - by NaS - 08.09.2018, 15:52
Re: Plant cmd - by KinderClans - 08.09.2018, 17:41
Re: Plant cmd - by NaS - 08.09.2018, 17:51
Re: Plant cmd - by Shinja - 08.09.2018, 19:35
Re: Plant cmd - by KinderClans - 09.09.2018, 07:57

Forum Jump:


Users browsing this thread: 1 Guest(s)