[FilterScript] FireNitro
#1

Fire from exhaust when you use nitro! If you lilke it give me rep+ thx!

Download FireNitro




Download FireNitro


PHP код:

  
#define FILTERSCRIPT
  #include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
    print(
"FS: FireNitro / Scripter skype: rev1se");
    return 
1;
}
public 
OnFilterScriptExit()
{
    return 
1;
}
#else
main()
{
    print(
"FS: FireNitro / Scripter skype: rev1se");
}
#endif
  
new CarFireObj[MAX_PLAYERS]; // top
 #define HOLDING(%0) \
     
((newkeys & (%0)) == (%0))
 
#define RELEASED(%0) \
     
(((newkeys & (%0)) != (%0)) && ((oldkeys & (%0)) == (%0)))
 public 
OnPlayerKeyStateChange(playeridnewkeysoldkeys)
 {
     if (
HOLDING))// if player start use nitro
     
{
         if(
IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
         {
             if(
IsValidObject(CarFireObj[playerid]) == 0)//add fire object when player use nitro
             
{
                 
GameTextForPlayer(playerid"~r~FireNitro! ~g~Skype: ~p~rev1se"10001);
                 
CarFireObj[playerid] = CreateObject(186940.00.00.00.00.00.0);
                 
AttachObjectToVehicle(CarFireObj[playerid], GetPlayerVehicleID(playerid), 0.0, -2.31.2180.00.00.0);
             }
         }
     }
     if (
RELEASED))// if player stop use nitro remove fire object
     
{
         if(
IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
         {
             if(
IsValidObject(CarFireObj[playerid]) == 1)DestroyObject(CarFireObj[playerid]);// delete fire object
         
}
     }
     return 
1;
 } 
Reply
#2

Nice, Useful for DM servers.
Reply
#3

Yeah, and for drift, race... or for any server like vip privilege
Reply
#4

Nice I like the affect Nicer than Normal Nitro
Reply
#5

Very Cool Filterscript
I like it very much and nice idea
Reply
#6

nice... good for stunt servers...
Reply
#7

Crazy Nos! Like!! <3
Reply
#8

Quote:
Originally Posted by Error000
Посмотреть сообщение
Nice, Useful for DM servers.
How is fire coming out of the exhaust useful for dm servers?
Reply
#9

Quote:
Originally Posted by RedFusion
Посмотреть сообщение
How is fire coming out of the exhaust useful for dm servers?
Because it looks pwetty man. Didn't you know? Every gangster needs to DM while looking pwetty or mommy will be upset.<33
Reply
#10

Looks good, ill give it a try when i get home.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)