SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 19/07/2015, 11:10 AM   #1
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 252
Reputation: 27
Default Rainbow Neons

Rainbow Neons
Version 1.0

Hey guys i was bored and playing with code and i made a Rainbow car (Color Changer) and decided it would be cool if i could have
Rainbow Neons, so this is how i started making this code, anyway this code is pretty unique and i havent seen one yet.
This filterscript will apply the neons according to the vehicle you are driving, and it will automaticly change the neon colors every
10 seconds, there are 2 commands one of them commands is /rainbowneon and the other is /rneon (remove neons), you do not need to be in
The vehicle in order to use /rneon, and you dont have to use /rneon as neons will remove upon exiting the vehicle, dying or quitting
the server.

Features:
  • Each vehicle has its own neon offset cordinates to accomadate each vehicles ride hight
  • You can only have 1 set of neons on a vehicle at a time
  • Neons are destroyed upon exiting the vehicle, Leaving the server, and dying, i have even set it upon spawn aswell to prevent any bugs
  • Neons use a timer in order to change their colors
  • Only two commands
  • Only the driver can activate the neons
  • Only 20 vehicles have neons (Sports Catagory)
  • 3527 lines on code.
  • More vehicles to come

Current Vehicles Allowed Neons:
  • Alpha - Banshee - Blista Compact - Buffalo - Bullet - Cheetah
  • Club - Euros - Flash - Hotring Racer 1 - Hotring Race 2
  • Hotring Racer 3 - Infernus - Jester - Phoenix - Sarbe
  • Super GT - Turismo - Uranus - ZR-350

Commands:
  • /rainbowneons
  • /rneon

Requirements:
  • zcmd.inc
  • foreach.inc

Installation:
  • Download the RainbowNeons.zip
  • Copy and paste the files into the correct folders.
  • place 'RainbowNeons' on the filterscript line on the server.cfg
  • Start your server and enjoy.

Download:
RainbowNeons.zip (solidfiles)
RainbowNeons.pwn (pastebin)

Screenshots:





Last edited by Jakwob; 19/07/2015 at 05:44 PM.
Jakwob is offline   Reply With Quote
Old 19/07/2015, 11:14 AM   #2
SpikY_
High-roller
 
SpikY_'s Avatar
 
Join Date: Jul 2014
Posts: 1,262
Reputation: 128
Default Re: Rainbow Neons

Amazing, will use it

Code:
This forum requires that you wait 120 seconds between posts. Please try again in 42 seconds.
__________________
-
SpikY_ is offline   Reply With Quote
Old 19/07/2015, 11:16 AM   #3
TheRaGeLord
Banned
 
Join Date: Jun 2014
Posts: 317
Reputation: 24
Default Re: Rainbow Neons

Nice..
TheRaGeLord is offline   Reply With Quote
Old 19/07/2015, 04:23 PM   #4
LeXuZ
Huge Clucker
 
Join Date: Oct 2014
Location: United Kingdom
Posts: 305
Reputation: 12
Default Re: Rainbow Neons

Looking good, I will test and see what needs improving!
LeXuZ is offline   Reply With Quote
Old 19/07/2015, 04:38 PM   #5
Blacky4Life
Big Clucker
 
Blacky4Life's Avatar
 
Join Date: Apr 2015
Location: Japan
Posts: 53
Reputation: 11
Default Re: Rainbow Neons

Nice, good job!
__________________
Blacky4Life is offline   Reply With Quote
Old 19/07/2015, 05:47 PM   #6
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 252
Reputation: 27
Default Re: Rainbow Neons

Quote:
Originally Posted by SpikY_ View Post
Amazing, will use it
Thanks mate

Quote:
Originally Posted by TheRaGeLord View Post
Nice..
Thanks mate

Quote:
Originally Posted by LeXuZ View Post
Looking good, I will test and see what needs improving!
Thanks I will await your feed back.

Quote:
Originally Posted by Blacky4Life View Post
Nice, good job!
Thanks mate

Updated the topic with a pastebin link
Jakwob is offline   Reply With Quote
Old 22/07/2015, 03:46 AM   #7
Akzmal
Little Clucker
 
Join Date: Mar 2015
Location: Malaysia
Posts: 4
Reputation: 4
Default Re: Rainbow Neons

Good work :3
Akzmal is offline   Reply With Quote
Old 27/07/2015, 04:13 PM   #8
LeXuZ
Huge Clucker
 
Join Date: Oct 2014
Location: United Kingdom
Posts: 305
Reputation: 12
Default Re: Rainbow Neons

Your neons on some of the vehicles need tweeking abit as you can see them through the side of the car. Good work tho keep it up
LeXuZ is offline   Reply With Quote
Old 18/08/2017, 02:26 AM   #9
Miguelch1312
Big Clucker
 
Miguelch1312's Avatar
 
Join Date: Apr 2013
Location: Location goes here
Posts: 59
Reputation: 5
Default Respuesta: Rainbow Neons

Nice and Funny, Gonna use it
__________________
Code:
if(strcmp(cmd, "/help", true) == 0)
{
     SendClientMessage(playerid, -1, "[ERROR]Insufficient knowledgement");
     return 1;
}
Miguelch1312 is offline   Reply With Quote
Old 22/08/2017, 09:38 PM   #10
Jakwob
Huge Clucker
 
Jakwob's Avatar
 
Join Date: Jan 2014
Location: United Kingdom
Posts: 252
Reputation: 27
Default Re: Rainbow Neons

Thank you, this will be updated in the near future as I have other projects I'm working on that is not samp related.
Jakwob is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] Neons - Attach neons with ease! Psymetrix Includes 6 12/08/2014 11:09 PM
[HELP] Neons V4at Scripting Help 6 11/06/2012 08:50 AM
Neons.inc Mr.1337 Help Archive 5 23/08/2011 10:07 AM
Neons at day ? Shidony Help Archive 5 07/08/2011 01:01 PM
Help with neons Helius Help Archive 3 08/02/2011 06:03 PM


All times are GMT. The time now is 09:11 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.