[FilterScript] [Filterscript] Speedboost
#1

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
Reply
#2

Aha! Coool. I liked your "Anti-Dugi" Too. xD
Reply
#3

This is nice. I very like the SetVehicle/PlayerVelocity.
Reply
#4

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);
				}
			}
Reply
#5

Nice, I really like this function in SA:MP 0.3
Reply
#6

When I am driving and pressing ALT my car isn't fast, why?
Reply
#7

Bloody Brilliant.

Stas92 hold down Left ALT.
Reply
#8

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.
Reply
#9

why is your code getting player keys twice?
Reply
#10

how to change keys?
Reply
#11

How can I replace the alt key to fire key in the script?
Reply
#12

cool

Quote:
Originally Posted by Drake_Peck
how to change keys?
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
Reply
#13

What to change here in pwn code for changing my key to fire key
Code:
	GetPlayerKeys(i,Keys,up,down);
  			if(Keys &= 4)
Reply
#14

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!
Reply
#15

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.
Reply
#16

nice
Reply
#17

Nice for stunt servers
Reply
#18

Good job!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)