Speedtrap
#3

Quote:
Originally Posted by Bessensap
Посмотреть сообщение
Get dcallbacks (search forum), make the area,
pawn Код:
OnPlayerEnterArea(playerid,areaid)
{
     if(areaid == (yourareaidhere))
     {    
          new Float:vx,Float:vy,Float:vz;
          GetPlayerVelocity(playerid,vx,vy,vz);
          if(vx > yourmaxspeedhere || vy > yourmaxspeedhere)
         { //You do the math
What is vx and vy?
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: 1 Guest(s)