[Filterscript] Speedboost - 
JaTochNietDan -  02.09.2009
This is a simple speedboost I made while testing 0.3. Killerkid gave me a hand with perfecting this so some credit goes to him.
It's simple really, just load the filterscript and hold down ALT while in a vehicle to speedboost, and also its possible while on foot.
http://jatochnietdan.pastebin.com/f7c8b6977
Re: [Filterscript] Speedboost - 
Burridge -  02.09.2009
Aha! Coool. I liked your "Anti-Dugi" Too. xD
Re: [Filterscript] Speedboost - 
MenaceX^ -  02.09.2009
This is nice. I very like the SetVehicle/PlayerVelocity.
Re: [Filterscript] Speedboost - 
mmrk -  02.09.2009
You know where to add it.
Simple car freeze 
(airbrake) with ctrl key.
Код:
			GetPlayerKeys(i,Keys,up,down);
  			if(Keys &= 1)
  			{
  				if (GetPlayerState(i) == PLAYER_STATE_DRIVER)
				{
					new Float:x,Float:y,Float:z;
					GetVehicleVelocity(GetPlayerVehicleID(i),x,y,z);
					SetVehicleVelocity(GetPlayerVehicleID(i), 0.0, 0.0, 0.0);
				}
			}
 
Re: [Filterscript] Speedboost - 
Mach37 -  18.09.2009
Nice, I really like this function in SA:MP 0.3 
 
Re: [Filterscript] Speedboost - 
Stas92 -  18.09.2009
When I am driving and pressing ALT my car isn't fast, why?
Re: [Filterscript] Speedboost - 
V1ceC1ty -  18.09.2009
Bloody Brilliant.
Stas92 hold down Left ALT.
Re: [Filterscript] Speedboost - 
decondelite -  18.09.2009
Quote:
| 
					Originally Posted by Stas92 
 When I am driving and pressing ALT my car isn't fast, why? | 
 Because it's maybe another key for you. For me it's the space key.
Re: [Filterscript] Speedboost - 
Daren_Jacobson -  26.10.2009
why is your code getting player keys twice?
Re: [Filterscript] Speedboost - 
Drake_Peck -  29.12.2009
how to change keys?
Re: [Filterscript] Speedboost - 
arjunaryas -  30.12.2009
How can I replace the alt key to fire key in the script?
Re: [Filterscript] Speedboost - 
Deat_Itself -  30.12.2009
cool
Quote:
| 
					Originally Posted by Drake_Peck 
 how to change keys? | 
 https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
Re: [Filterscript] Speedboost - 
arjunaryas -  30.12.2009
What to change here in pwn code for changing my key to fire key
Code:
	GetPlayerKeys(i,Keys,up,down);
  			if(Keys &= 4)
 
Re: [Filterscript] Speedboost - 
Crezy-Boy -  30.12.2009
Quote:
| 
					Originally Posted by BLACKMAMBA_007 
 What to change here in pwn code for changing my key to fire key 
Code: 	GetPlayerKeys(i,Keys,up,down);
 			if(Keys &= 4) | 
 https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
Nice! Good FS, im sure you are good in scripting! 
 
Re: [Filterscript] Speedboost - 
arjunaryas -  30.12.2009
Yes, I got the key from the include a_samp file and the key is 4 and I replaced the key 1024 to 4 and now I am having fun with fire key. NICE SCRIPT! man.
Re: [Filterscript] Speedboost - 
pikis112 -  30.12.2009
nice 
 
Re: [Filterscript] Speedboost - 
wolfcock -  09.07.2010
Nice for stunt servers 
 
Re: [Filterscript] Speedboost - 
hab2ever -  11.07.2010
Good job!