04.08.2018, 02:01
since i basically needed a list of hte SAMP vehicle colors in a name format and i couldn't find it anywhere, i took use of the NTC JavaScript library (created by Chirag Mehta) and wrote a quick script to convert all vehicle hex colors to an array of names (pawn format)
https://api.hamiltondev.net/sampNTC.php
the script will automatically run and display the code when you visit. make sure to force SSL so that the document sends a HTTPS request to the jquery file.
quick example of its usage:
https://api.hamiltondev.net/sampNTC.php
the script will automatically run and display the code when you visit. make sure to force SSL so that the document sends a HTTPS request to the jquery file.
quick example of its usage:
