SA-MP Forums Archive
[FilterScript] Simple Plate System by Roperr (5/6/2012) - 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] Simple Plate System by Roperr (5/6/2012) (/showthread.php?tid=348355)



Simple Plate System by Roperr (5/6/2012) - Roperr - 05.06.2012


Hello

Today I'm releasing my Simple Plate System.


Introduction
This is just a basic Filterscript with two commands.
- /setplate - This can be used by administrators to set the plate names/numbers of other players
- /plate - This can be used by players to set their plate name/number.

How it works
Basically, when using SetVehicleNumberPlate, the plate does not change instantly, but instead you have to wait for the vehicle to respawn.

So in this Filterscript, you set the plate number/name, save the location you changed it at, respawn the car and teleport it back to you & place you inside.

Notice
To save the colors you'd need to use GetVehicleColor
Found here: https://sampforum.blast.hk/showthread.php?tid=235398

If requested I'll add that function to the code and make your car's colors get saved also.


Download
PlateSystem.pwn - http://www.solidfiles.com/d/e59ca94114/
PlateSystem.amx - http://www.solidfiles.com/d/f4baef6e09/

Full code - pastebin.
http://pastebin.com/eFDxYwEb


Re: Simple Plate System by Roperr (5/6/2012) - pasha97 - 05.06.2012

nice job! Very simple


Re: Simple Plate System by Roperr (5/6/2012) - Roperr - 05.06.2012

Quote:
Originally Posted by pasha97
Посмотреть сообщение
nice job! Very simple
Thank you.


Re: Simple Plate System by Roperr (5/6/2012) - NeymarJr - 05.06.2012

Very nice work! Keep it up!


Re: Simple Plate System by Roperr (5/6/2012) - Roperr - 05.06.2012

Quote:
Originally Posted by NeymarJr
Посмотреть сообщение
Very nice work! Keep it up!
Thanks, I will.


AW: Simple Plate System by Roperr (5/6/2012) - Youtube12 - 05.06.2012

Nice one Roperr


Respuesta: Simple Plate System by Roperr (5/6/2012) - Dx2 - 05.06.2012

Nice work Roperr, thank you


Re: Simple Plate System by Roperr (5/6/2012) - DjoleRazbijac - 29.06.2012

Nice job bro.
Keep with good work.