Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/17/18 in all areas

  1. Version 1.0.0

    1020 downloads

    This script adds the colored xenon headlights feature from Arena War DLC. Installing Put coloredhlights into your server's client_packages directory, then add require('coloredhlights'); to client_packages/index.js. Using Set the headlightColor shared variable of a vehicle to the headlight color ID you want. Command example: // /hcolor 10 should make your vehicle's headlights pink mp.events.addCommand("hcolor", (player, _, colorId) => { if (player.vehicle) { player.vehicle.data.headlightColor = Number(colorId); } else { player.outputChatBox("You're not in a vehicle!"); } }); Headlight Colors Since Rockstar didn't make headlight colors RGB, you can only use a set of numbers as color IDs. 0 = White 1 = Blue 2 = Light Blue 3 = Green 4 = Light Green 5 = Light Yellow 6 = Yellow 7 = Orange 8 = Red 9 = Light Pink 10 = Pink 11 = Purple 12 = Light Purple Color IDs higher than 12 will force xenon headlights to use their default color. Notes Since this script toggles the xenon headlights mod (toggleMod 22), it may not work with your car customization script. Color IDs lower than 0 and color ID 255 will disable the feature (revert headlights back to normal from xenon) until you set a valid color again.
    1 point
  2. Well, its time to start private developing. I think, i did enough for new coders to understand rage mechanics. What about this server... I did few things since last update: - Inventory System Now player have a bag where he can keep some things Press I to open it. Also, every vehicle have trunk. To open it, you should be near vehicle and press I. - Commercial Car Dealership Place where you can buy vehicle for job... - Mule trucker job First of trucker jobs. Let you earn money for bigger truck. Here an example video
    1 point
×
×
  • Create New...