SA-MP Forums Archive
[FilterScript] System Cars Fly & Nitros & SpeedBoost - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] System Cars Fly & Nitros & SpeedBoost (/showthread.php?tid=180235)



System Cars Fly & Nitros & SpeedBoost - Awesome_Scripter - 30.09.2010

SpeedBooster With CarFly & Nitros
________________________________

Hello,
My Name Is: Mahde
In Game: Boom

________________________________


Okay,Before Anything im Talking about me this FilterScripting has been created by Me {BOOM} , im using it at my server and im loved to Upload it here to anyone love this script use it , Enjoy it .
What is SpeedBooster... ?

This FilterScript When u was in your car just press + and you'r car will be flyed when you press Alt? YOUR CAR WILL BE SPEEDES!! When u press [H]? Your car will be repaired!! Enjoy !!


Download!?


Yeah , Download at here:

http://www.2shared.com/file/EUZD_Z3_...peedboost.html

Look here:

Please Don't Romove the Credits that's will beeing NotFear!

Sorry For My Bad English Comment Please


---------------------------------------------------------------------

xXx Stunt Pardise Awesome




Re: System Cars Fly & Nitros & SpeedBoost - Awesome_Scripter - 30.09.2010

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if(newkeys == KEY_CROUCH)
	{
		if(IsPlayerInAnyVehicle(playerid))
		{
			{
    			RepairVehicle(GetPlayerVehicleID(playerid));
			}
		}
	}
	if (PRESSED(KEY_FIRE))
	{
		new
			vehicleid = GetPlayerVehicleID(playerid);
		if (vehicleid)
		{
			AddVehicleComponent(vehicleid, 1010);
		}
	}
	if(newkeys & KEY_FIRE && IsPlayerInAnyVehicle(playerid))
	{
		if(!IsNosVehicle(GetPlayerVehicleID(playerid))) return
		AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
		PlayerPlaySound(playerid, 1133 ,0, 0, 0);
	}
	if(newkeys & KEY_SUBMISSION && IsPlayerInAnyVehicle(playerid))
    {
  		if(IsPlayerInAnyVehicle(playerid))
		{
  			new Float:x, Float:y, Float:z;
			GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
			SetVehicleVelocity(GetPlayerVehicleID(playerid) ,x ,y ,z+0.3);
		}
    }
	if (IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	{
		if (newkeys & KEY_FIRE)
		{
		    new Float:vx, Float:vy, Float:vz;
		    GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz);

		    if (floatabs(vx) < 3 && floatabs(vy) < 3 && floatabs(vz) < 3)
		    {
		    	SetVehicleVelocity(GetPlayerVehicleID(playerid), vx * SpeedBoostMultiplier[playerid], vy * SpeedBoostMultiplier[playerid], vz * SpeedBoostMultiplier[playerid]);
		    }
		    return 1;
		}
	}
	return 1;
}



Re: System Cars Fly & Nitros & SpeedBoost - Scenario - 30.09.2010

Seriously? You could at least of used correct grammar in your language, then translated it. I'm sure this will be handy for stunt/freeroam servers, but it's very simple to create.


Re: System Cars Fly & Nitros & SpeedBoost - Awesome_Scripter - 30.09.2010

Thanks ...


Re: System Cars Fly & Nitros & SpeedBoost - Lookin - 30.09.2010

ill be honest its good but i dont like the idea but that's me personally but good job mate keep at it =D


Re: System Cars Fly & Nitros & SpeedBoost - Awesome_Scripter - 30.09.2010

Thanks :P


Re: System Cars Fly & Nitros & SpeedBoost - Tannz0rz - 01.10.2010

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Seriously? You could at least of used correct grammar in your language, then translated it. I'm sure this will be handy for stunt/freeroam servers, but it's very simple to create.
He might have used correct grammar in his language; web-based translators aren't 100%.

Nice job.


Re: System Cars Fly & Nitros & SpeedBoost - Awesome_Scripter - 01.10.2010

You are right , thanks


Re: System Cars Fly & Nitros & SpeedBoost - Lookin - 14.10.2010

I tested it and its pretty cool i know i said i dont like the idea but this is pretty fun xD


Re: System Cars Fly & Nitros & SpeedBoost - DevoLpeR - 07.02.2011

VERY BAD