Want Some Help.. -
kamaldeepcool - 19.07.2012
Hello Guys ,
here is kamal

, guys i want a FS of speed boost with works with a click

, but i can't find 1

can you guys help me in this , all the FS works with Accelerate....
Please help me

, i am not a good scripter , so please make s FS for me If Possible
Thanks , RegarDs,
Kamal
Re: Want Some Help.. -
SA-MPDrifter - 19.07.2012
Could it be nitrous? To accelerate the car faster?
Re: Want Some Help.. -
kamaldeepcool - 19.07.2012
Yea i want a nitro system which works with a click , (for which you don't need to press ^ or W)
Re: Want Some Help.. -
SA-MPDrifter - 19.07.2012
pawn Код:
#include <a_samp>
/*------------------------------[ Infinitife Nitro ]-----------------------------------
This filterscript is made by bert aka boemeles
Vehicle with nos check made by [Fackin']Luke.
How does it work: simply press and hold the left mousebutton (or any other key you
defined for start nos and keep the fun going :D
---------------------------------------------------------------------------------------*/
public OnFilterScriptInit()
{
print("\n-----------------------------------");
print("Infinite nitro by Bert aka boemeles"); //me!
print("-----------------------------------\n");
SetTimer("NitroReset", 1000, 1);
return 1;
}
forward NitroReset();
public NitroReset()
{
for(new i = 0; i<MAX_PLAYERS; i++)
{
if(!IsPlayerInInvalidNosVehicle(i,GetPlayerVehicleID(i))) //ty @ [fackin'] luke //notice the "!"
{
new vehicle = GetPlayerVehicleID(i);
AddVehicleComponent(vehicle, 1010);
}
}
}
//-------------------------[ IsPlayerInValidNosVehicle ]-------------------------------
IsPlayerInInvalidNosVehicle(playerid,vehicleid)
{
#define MAX_INVALID_NOS_VEHICLES 29
new InvalidNosVehicles[MAX_INVALID_NOS_VEHICLES] =
{
581,523,462,521,463,522,461,448,468,586,
509,481,510,472,473,493,595,484,430,453,
452,446,454,590,569,537,538,570,449
};
vehicleid = GetPlayerVehicleID(playerid);
if(IsPlayerInVehicle(playerid,vehicleid))
{
for(new i = 0; i < MAX_INVALID_NOS_VEHICLES; i++)
{
if(GetVehicleModel(vehicleid) == InvalidNosVehicles[i])
{
return true;
}
}
}
return false;
}
// end of it!
This is one of my favourite scripts for this. No command is required to execute it, only the KEY_FIRE button which is the left mouse button. The nitrous will stop after the button is released.
Re: Want Some Help.. -
Dan. - 19.07.2012
Add this under OnPlayerKeyStateChange:
pawn Код:
if(PRESSED(KEY_FIRE))
{
if(IsPlayerInAnyVehicle(playerid))
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
}
}
}
And this below your includes:
pawn Код:
#define PRESSED(%0) \
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
Re: Want Some Help.. -
kamaldeepcool - 19.07.2012
Aww , It Doesn't Work For Me
I want you guys to make me a FS !!
Thanks A Lot

For Helping.....
Re: Want Some Help.. -
SA-MPDrifter - 19.07.2012
I have posted you a full FS there, just create a new .pwn file, delete everything then paste what I put and compile. Done.
Re: Want Some Help.. -
kamaldeepcool - 19.07.2012
Well, sorry guys I forget to tell you that I want a boost system not notro
And drifter I checked your fs , it's really good but I want Boost