Simple License Plate System [V2.0 R1] -
nmader - 30.09.2012
Simple License Plate System
By: Nmader
I, Nmader, have scripted a rather simple and efficient license plate system. This script is not complicated to implement into your gamemode whatsoever as it consists of very few lines.
Features- Four letters followed by the vehicle ID. (IE: AVIF 432) NOTE: Letters change on vehicle respawn, numbers remain the same.
- Random four letters to the plate per vehicle respawn
- Wide variety of four letters that cover the alphabet completely
- Easily editable four-letter possibilities
- Option to make all numbers not the vehicle id and three digits
Screenshots
http://filesmelt.com/dl/sa-mp-0467.png
http://filesmelt.com/dl/sa-mp-0478.png
http://filesmelt.com/dl/sa-mp-0488.png
Want to edit the vehicle id numbers to assure three digits?
This is rather simple as well to do. All you will need to do is as follows:
- Uncomment the Three+ Digit Number System
- Comment the Traditional Number Plate System
Known Bugs
Код:
None at this time - Send me any you do find and I will make improvements!
Future Versions?
If this FilterScript does generate a decent interest and/or some suggestions are provided via comment or PM there will be as many updates as it takes to make the community satisfied!
Download
Instructions
If you have used the Pastebin file use these instructions:- Copy the text
- Paste in your compiler (Any should work)
- Press Compile as "SimpleLicensePlate"
- Add the line "SimpleLicensePlate" to your filterscript line in your server.cfg
If you have used the Solidfiles file use there instructions:- Open the .pawn file with your compiler
- Add the line "SimpleLicensePlate" to your filterscript line in your server.cfg
Have fun!
~Nmader
Re: Simple License Plate System -
Live+ - 30.09.2012
Pictures ? Will would leads me to download.
Re: Simple License Plate System -
nmader - 30.09.2012
You can really just look at the script and see what it is going to do.
Also a bug fix has been added and links have been updated.
Re: Simple License Plate System -
ThatGuy - 01.10.2012
Good Job
Re: Simple License Plate System -
Alcatraz Gaming - 01.10.2012
Good job, although there are other license plates system
Re: Simple License Plate System -
nmader - 01.10.2012
Quote:
Originally Posted by Vinnie Robardo
Good job, although there are other license plates system
|
I have tested at least one of them to find out they do not work as properly as many people wish.
Re: Simple License Plate System -
Eugene. - 01.10.2012
Nice effort but it does have some issues. Goob Job!
Re: Simple License Plate System -
Ghost_Boii - 01.10.2012
Nice
Re: Simple License Plate System -
NoahF - 01.10.2012
It's not bad.
Re: Simple License Plate System -
nmader - 01.10.2012
Quote:
Originally Posted by Eugene.
Nice effort but it does have some issues. Goob Job!
|
Well, I would love to be aware of those issues so I could improve the script!
Re: Simple License Plate System -
Marricio - 02.10.2012
This is not good at all. You could place 4 random letters from the vocab and three random numbers, it will lead you to a neverending possibilites of plates!
Re: Simple License Plate System -
lilmar - 02.10.2012
Not bad.
Re: Simple License Plate System - Patrick - 02.10.2012
I Downloaded The Solid Files And It Shows Me Error I Still Did Not Edit Something
Error:
Код:
C:\Users\GMZeus\Desktop\Cops Robbers Project\filterscripts\SimpleLicensePlate.pwn(21) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
And This Is In The Line #21
Код:
public OnFilterScriptInit(vehicleid)
Re: Simple License Plate System -
nmader - 02.10.2012
Quote:
Originally Posted by pds2012
I Downloaded The Solid Files And It Shows Me Error I Still Did Not Edit Something
Error:
Код:
C:\Users\GMZeus\Desktop\Cops Robbers Project\filterscripts\SimpleLicensePlate.pwn(21) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
And This Is In The Line #21
Код:
public OnFilterScriptInit(vehicleid)
|
Remove (vehicleid) from in the callback, don't know why it downloaded with that on there.
To whomever said it wasn't good at all, you do not get the point of this. The point is that
whenever the vehicle is spawned, part of the attributes of the plate remain the same, in this case; the vehicle ID in
every situation. This can be used in roleplay scripts so cops can properly identify a vehicle.
Re: Simple License Plate System -
Flashhiee - 02.10.2012
Nice bro.
Re: Simple License Plate System -
nmader - 03.10.2012
Thanks for all your comments. I have decided to begin on a V2, basically fixing a single bug as well as making it to where there are for letters, all randomly selected out of the 26 letter alphabet and a simple formula for the number; Vehicle ID + 126. Also a saving system for these plates will be added into these. Hopefully this should be completed within two days.
Re: Simple License Plate System -
SupaVZ - 03.10.2012
Wow amazing :P
Re: Simple License Plate System -
nmader - 12.01.2013
Updated to Version 2.0 including of multiple bug fixes that I had not noticed and were not found, especially those within comments by default.
Also removed the four-letter possibilities and made individual letters that will now select a random 4 letters throughout the 26-letter alphabet.
If any bugs are found please report them directly to me through PMs or a comment on this thread.