Skip to content

mrkuko/MKR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MKR - mr__Kuko's Racing

Requirements

How to install:

Discription:

  • Custom race events
  • Config options:
    • Enable/Disable chat announcements
    • Name, position & color
    • Size & type of marker
    • Car model for race
    • Reward
    • Time to finish
    • Checkpoints

Adding new route for race example pattern:

  • paste this code under last route in your config.lua file
Route_x = {	
		Name = 'example', --name of the event
		Pos = {x = -132.008, y = 613.817, z = 204.460},--coords of enter mark
		Heading = 35.2909, --heading of spawned car
		Color = {r = 97, g = 6, b = 109},--color of markers, gps route, https://www.rapidtables.com/web/color/RGB_Color.html
		BColor = 58,--blipcolor, https://docs.fivem.net/docs/game-references/blips/
		Btype = 430,--blip's sprite
		Size  = {x = 2.0, y = 2.0, z = 2.0},--size of marker
        Marker = 5,--type of entrance marker, https://docs.fivem.net/docs/game-references/markers/
		Car = 'freecrawler',--car model for race, https://gta.fandom.com/wiki/Vehicles_in_GTA_V
		Character = 'CHAR_HUNTER', --photo of character which will send you the message https://wiki.gtanet.work/index.php?title=Notification_Pictures
		Entry = 500, --price to enter the race
		Reward = 30000, --$ ,rewarded when finished sooner than ttf will runned away
		ttf = 480000,--time to fail, in miliseconds
		Points = {{x = float, y = float, z = float},{x = float, y = float, z = float}, --coords of checkpoints
		{x = float, y = float, z = float},{x = float, y = float, z = float},{x = float, y = float, z = float},
		{x = float, y = float, z = float},{x = float, y = float, z = float},{x = float, y = float, z = float},
		{x = float, y = float, z = float},{x = float, y = float, z = float},{x = float, y = float, z = float},
		{x = float, y = float, z = float},{x = float, y = float, z = float},{x = float, y = float, z = float},
		{x = float, y = float, z = float},{x = float, y = float, z = float},{x = float, y = float, z = float},
		{x = float, y = float, z = float},{x = float, y = float, z = float},{x = float, y = float, z = float},
		{x = float, y = float, z = float},{x = float, y = float, z = float},{x = float, y = float, z = float},
        },
	},

Preview

About

Customizable race events for your fivem server...

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages