Speedtrap
#10

You don't use the X/Y velocity without doing calculations. Your velocity on the X axis will only be the full velocity if you are going north/south, Y would be going east/west. If you are going north east, your velocity would get halved between the two. Find the GetPlayerSpeed function, use that. Areas aren't really required, just a simple coordinate in the middle of the road along with IsPlayerInRangeOfPoint.

Hope this helped,

-Conroy.
Reply


Messages In This Thread
Speedtrap - by Typhome - 14.10.2010, 17:37
Re: Speedtrap - by Bessensap - 14.10.2010, 18:20
Re: Speedtrap - by Typhome - 14.10.2010, 18:44
Re: Speedtrap - by DeathOnaStick - 14.10.2010, 18:47
Re: Speedtrap - by Typhome - 14.10.2010, 18:50
Re: Speedtrap - by Typhome - 15.10.2010, 09:55
Re: Speedtrap - by LarzI - 15.10.2010, 10:05
Re: Speedtrap - by BrunoHP - 22.10.2010, 17:44
Re: Speedtrap - by Typhome - 23.01.2011, 17:39
Re: Speedtrap - by Conroy - 23.01.2011, 17:43

Forum Jump:


Users browsing this thread: 4 Guest(s)