Nitro Bar System like in NFS -
SpiritEvil - 30.01.2012
●Introduction:
A few days ago I was looking for some Filterscript that uses the Nitro system from Need for Speed but I couldn't find any on the forums so I thought I could make one myself. I decided to publish it because other people might find it useful too.
●Features:
This FilterScript brings the Nitro feature from the Need For Speed series to SA-MP. You basically give NOS to the vehicle by holding the Fire key (LMB/LAlt by default) and stop it by releasing the key. As you hold the fire key the nitro amount will lower until it's completely empty. If you need to refill it again you can purchase different amounts of Nitro using /buynos. The filterscript is available in 2 versions: ProgressBar version and TextDraw Version so you can choose which fits best for you.
●Installation and Usage:
- Download the files from the links included below.
- Open NitroBar.pwn and edit the following lines to your needs, or leave them as they are:
pawn Код:
#define NosConsumSpeed 2 // Increase to loose Nitro faster or decrase to loose it slower (the number must NOT contain period or comma).
#define NitroBarColor 1340286975 // Change this to the color of progressbar you want to use (you can also put hex numbers e.g. 0xFF0000FF).
#define NOS_DIALOG 1596 // The nitro purchase dialog ID (list style)
#define NOS_INPUT 1597 // The custom Nitro purchase dialog ID (input style)
#undef MAX_PLAYERS
#define MAX_PLAYERS 100 // Change to the maximum players of your server
- Put the 2 files NitroBar.pwn and NitroBar.amx in your filterscripts folder
- Open server.cfg and on the "filterscript" line add NitroBar OR login as Rcon in your server and type "/rcon loadfs NitroBar" (I suggest relogging or restarting the server after doing this).
- Go in the server and get a vehicle which can use NOS (the bar is not desplayed on (most) vehicles which cannot use NOS).
- Type /buynos if you need more Nitro.
- Have fun!
●Disclaimer:
- If you are going to use this FS you MUST NOT remove the credits!
- Mirrors are ALLOWED!
- You may edit it to your needs as long as you keep the credits.
- You may NOT claim it as your own!
●Current known Bugs:
No bugs are currently known! If you find any you are pleased to report it here so I can try to fix it.
●Screen Shots:
Progress Bar version:
Text Draw version:
Nitro Purchase dialog (same on both versions):
Custom Nitro purchase dialog (same on both versions):
●Download:
Download from Mediafire (Both Versions)
Pastebin Download (ProgressBar Version)
Pastebin Download (TextDraw Version)
NOTE: If you are going to download the ProgressBar Version through Pastebin, you must have this include in your "pawno\include" folder.
●Credits:
-SpiritEvil (Me xP) for creating the script (doh!).
-Toribio for making the PorgressBar include.
P.S This is my first public filterscript :P .
Re: Nitro Bar System like in NFS -
nacimbogoss - 30.01.2012
Ok but you have made a mistake :
/RCON login Nitrobar
it's /rcon loadfs Nitrobar
Re: Nitro Bar System like in NFS -
System64 - 30.01.2012
Cool, I like the textdraw version more, may I use that textdraws from textdraw version for my server?
Re: Nitro Bar System like in NFS -
Kontrol - 30.01.2012
Cool great idea! something like this would be good for the racing gm im doing!
Respuesta: Nitro Bar System like in NFS -
[DOG]irinel1996 - 30.01.2012
You could find one here:
https://sampforum.blast.hk/showthread.php?tid=256782
Anyway, not bad.
Good job. In NFS, you haven't to buy nitro, but well... It's OK.
PD: I think I was the first one that released a Nitro Bar, haha... xD
Re: Nitro Bar System like in NFS -
Adzdon - 30.01.2012
Very good [ Keep it up ]
Re: Nitro Bar System like in NFS -
SpiritEvil - 30.01.2012
Thanks for the great feedbacks guys, I really appreciate it
Quote:
Ok but you have made a mistake :
/RCON login Nitrobar
it's /rcon loadfs Nitrobar
|
Oops, my bad
fixing it now :P
Quote:
Cool, I like the textdraw version more, may I use that textdraws from textdraw version for my server?
|
Sure you can
Well, I guess, I haven't searched enough :P Anyway the idea was to make something original, not to copy whole thing from NFS.
Re: Nitro Bar System like in NFS -
Kaperstone - 30.01.2012
i thought its the circle nitro bar.
well,anyway,nice too
the second looks cool.
Re: Nitro Bar System like in NFS -
SpiritEvil - 30.01.2012
Quote:
i thought its the circle nitro bar
|
As far as I know it is not currently possible to make a circle bar in SAMP (correct me if I'm wrong) but if it was, it would be really cool though...
Re: Nitro Bar System like in NFS -
NeTuddMeg - 30.01.2012
I added my version long time ago, to my housemade server. (>.<)
But the Design is very good
Good work Bro.
Re: Nitro Bar System like in NFS -
SpiritEvil - 31.01.2012
Quote:
Originally Posted by NeTuddMeg
I added my version long time ago, to my housemade server. (>.<)
But the Design is very good
Good work Bro.
|
Thank you
Re: Nitro Bar System like in NFS -
Edvin - 31.01.2012
Very nice, good job!
Re: Nitro Bar System like in NFS -
SpiritEvil - 31.01.2012
I'm glad you people like it
Re: Nitro Bar System like in NFS -
arjanforgames - 31.01.2012
Nice, gonna use it!
Re: Nitro Bar System like in NFS -
SpiritEvil - 02.02.2012
Quote:
Originally Posted by arjanforgames
Nice, gonna use it!
|
Nice, thanks
Also if you find any bugs, please let me know.
Re: Nitro Bar System like in NFS -
SpiritEvil - 08.02.2012
Bump....
Re: Nitro Bar System like in NFS -
POSEID0N - 02.05.2012
When i want put the Inc. to PAWN (my Script) #include <progress> it Says: Unkown directly.
Re: Nitro Bar System like in NFS -
megafunfreeroam - 28.06.2013
it does not want to work with LuxAdmin, why?