speedlimit = {
--["Road"] = Speedlimit,
["Joshua Rd"] = 50,
["East Joshua Road"] = 35,
["Marina Dr"] = 35,
["Alhambra Dr"] = 35,
["Niland Ave"] = 35,
["Zancudo Ave"] = 35,
["Armadillo Ave"] = 35,
["Algonquin Blvd"] = 35,
["Mountain View Dr"] = 35,
["Cholla Springs Ave"] = 35,
["Panorama Dr"] = 40,
["Lesbos Ln"] = 35,
["Calafia Rd"] = 30,
["North Calafia Way"] = 30,
["Cassidy Trail"] = 25,
["Seaview Rd"] = 35,
["Grapeseed Main St"] = 35,
["Grapeseed Ave"] = 35,
["Joad Ln"] = 35,
["Union Rd"] = 40,
["O'Neil Way"] = 25,
["Senora Fwy"] = 65,
["Catfish View"] = 35,
["Great Ocean Hwy"] = 65,
["Paleto Blvd"] = 35,
["Duluoz Ave"] = 35,
["Procopio Dr"] = 35,
["Cascabel Ave"] = 30,
["Procopio Promenade"] = 25,
["Pyrite Ave"] = 30,
["Fort Zancudo Approach Rd"] = 25,
["Barbareno Rd"] = 30,
["Ineseno Road"] = 30,
["West Eclipse Blvd"] = 35,
["Playa Vista"] = 30,
["Bay City Ave"] = 30,
["Del Perro Fw"] = 65,
["Equality Way"] = 30,
["Red Desert Ave"] = 30,
["Magellan Ave"] = 25,
["Sandcastle Way"] = 30,
["Vespucci Blvd"] = 40,
["Prosperity St"] = 30,
["San Andreas Ave"] = 40,
["North Rockford Dr"] = 35,
["South Rockford Dr"] = 35,
["Marathon Ave"] = 30,
["Boulevard Del Perro"] = 35,
["Cougar Ave"] = 30,
["Liberty St"] = 30,
["Bay City Incline"] = 40,
["Conquistador St"] = 25,
["Cortes St"] = 25,
["Vitus St"] = 25,
["Aguja Std"] = 25,
["Goma St"] = 25,
["Melanoma St"] = 25,
["Palomino Ave"] = 35,
["Invention Ct"] = 25,
["Imagination Ct"] = 25,
["Rub St"] = 25,
["Tug St"] = 25,
["Ginger St"] = 30,
["Lindsay Circus"] = 30,
["Calais Ave"] = 35,
["Adam's Apple Blvd"] = 40,
["Alta St"] = 40,
["Integrity Way"] = 30,
["Swiss St"] = 30,
["Strawberry Ave"] = 40,
["Capital Blvd"] = 30,
["Crusade Rd"] = 30,
["Innocence Blvd"] = 40,
["Davis Ave"] = 40,
["Little Bighorn Ave"] = 35,
["Roy Lowenstein Blvd"] = 35,
["Jamestown St"] = 30,
["Carson Ave"] = 35,
["Grove St"] = 30,
["Brouge Ave"] = 30,
["Covenant Ave"] = 30,
["Dutch London St"] = 40,
["Signal St"] = 30,
["Elysian Fields Fwy"] = 50,
["Plaice Pl"] = 30,
["Chum St"] = 40,
["Chupacabra St"] = 30,
["Miriam Turner Overpass"] = 30,
["Autopia Pkwy"] = 35,
["Exceptionalists Way"] = 35,
["La Puerta Fwy"] = 60,
["New Empire Way"] = 30,
["Runway1"] = "--",
["Greenwich Pkwy"] = 35,
["Kortz Dr"] = 30,
["Banham Canyon Dr"] = 40,
["Buen Vino Rd"] = 40,
["Route 68"] = 55,
["Zancudo Grande Valley"] = 40,
["Zancudo Barranca"] = 40,
["Galileo Rd"] = 40,
["Mt Vinewood Dr"] = 40,
["Marlowe Dr"] = 40,
["Milton Rd"] = 35,
["Kimble Hill Dr"] = 35,
["Normandy Dr"] = 35,
["Hillcrest Ave"] = 35,
["Hillcrest Ridge Access Rd"] = 35,
["North Sheldon Ave"] = 35,
["Lake Vinewood Dr"] = 35,
["Lake Vinewood Est"] = 35,
["Baytree Canyon Rd"] = 40,
["North Conker Ave"] = 35,
["Wild Oats Dr"] = 35,
["Whispymound Dr"] = 35,
["Didion Dr"] = 35,
["Cox Way"] = 35,
["Picture Perfect Drive"] = 35,
["South Mo Milton Dr"] = 35,
["Cockingend Dr"] = 35,
["Mad Wayne Thunder Dr"] = 35,
["Hangman Ave"] = 35,
["Dunstable Ln"] = 35,
["Dunstable Dr"] = 35,
["Greenwich Way"] = 35,
["Greenwich Pl"] = 35,
["Hardy Way"] = 35,
["Richman St"] = 35,
["Ace Jones Dr"] = 35,
["Los Santos Freeway"] = 65,
["Senora Rd"] = 40,
["Nowhere Rd"] = 25,
["Smoke Tree Rd"] = 35,
["Cholla Rd"] = 35,
["Cat-Claw Ave"] = 35,
["Senora Way"] = 40,
["Palomino Fwy"] = 65,
["Shank St"] = 25,
["Macdonald St"] = 35,
["Route 68 Approach"] = 55,
["Vinewood Park Dr"] = 35,
["Vinewood Blvd"] = 40,
["Mirror Park Blvd"] = 35,
["Glory Way"] = 35,
["Bridge St"] = 35,
["West Mirror Drive"] = 35,
["Nikola Ave"] = 25,
["East Mirror Dr"] = 35,
["Nikola Pl"] = 25,
["Mirror Pl"] = 35,
["El Rancho Blvd"] = 40,
["Olympic Fwy"] = 60,
["Fudge Ln"] = 25,
["Amarillo Vista"] = 25,
["Labor Pl"] = 35,
["El Burro Blvd"] = 35,
["Sustancia Rd"] = 45,
["South Shambles St"] = 30,
["Hanger Way"] = 30,
["Orchardville Ave"] = 30,
["Popular St"] = 40,
["Buccaneer Way"] = 45,
["Abattoir Ave"] = 35,
["Voodoo Place"] = 30,
["Mutiny Rd"] = 35,
["South Arsenal St"] = 35,
["Forum Dr"] = 35,
["Morningwood Blvd"] = 35,
["Dorset Dr"] = 40,
["Caesars Place"] = 25,
["Spanish Ave"] = 30,
["Portola Dr"] = 30,
["Edwood Way"] = 25,
["San Vitus Blvd"] = 40,
["Eclipse Blvd"] = 35,
["Gentry Lane"] = 30,
["Las Lagunas Blvd"] = 40,
["Power St"] = 40,
["Mt Haan Rd"] = 40,
["Elgin Ave"] = 40,
["Hawick Ave"] = 35,
["Meteor St"] = 30,
["Alta Pl"] = 30,
["Occupation Ave"] = 35,
["Carcer Way"] = 40,
["Eastbourne Way"] = 30,
["Rockford Dr"] = 35,
["Abe Milton Pkwyd"] = 35,
["Laguna Pl"] = 30,
["Sinners Passage"] = 30,
["Atlee St"] = 30,
["Sinner St"] = 30,
["Supply St"] = 30,
["Amarillo Way"] = 35,
["Tower Way"] = 35,
["Decker St"] = 35,
["Tackle St"] = 25,
["Low Power St"] = 35,
["Clinton Ave"] = 35,
["Fenwell Pl"] = 35,
["Utopia Gardens"] = 25,
["Cavalry Blvd"] = 35,
["South Boulevard Del Perro"] = 35,
["Americano Way"] = 25,
["Sam Austin Dr"] = 25,
["East Galileo Ave"] = 35,
["Galileo Park"] = 35,
["West Galileo Ave"] = 35,
["Tongva Dr"] = 40,
["Zancudo Rd"] = 35,
["Movie Star Way"] = 35,
["Heritage Way"] = 35,
["Perth St"] = 25,
["Chianski Passage"] = 30,
["Lolita Ave"] = 35,
["Meringue Ln"] = 35,
["Tragerine St"] = 30,
["York St"] = 30
}
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
local playerloc = GetEntityCoords(GetPlayerPed(-1))
local streethash = GetStreetNameAtCoord(playerloc.x, playerloc.y, playerloc.z)
street = GetStreetNameFromHashKey(streethash)
if IsPedInAnyVehicle(GetPlayerPed(-1)) then
if speedlimit[street] ~= nil then
speedlimit = speedlimit[street]
else
speedlimit = "N/A"
end
if IsControlJustPressed(0, 29) then
if speedlimitshow == true then
speedlimitshow = false
else
speedlimitshow = true
end
end
if speedlimitshow == true then
DrawTxt(1.160, 0.500, 1.0,1.0,0.55,"~p~Speedlimit: ~w~"..speedlimit.."~p~ mph", 255,255,255,255)
end
end
end
end)
i used the location script to get in above the map but how do i make it wo were it is above the road names?
DrawText(x - width/0.873, y - height/11 + 0.31)
change the x until its above the names. then change the y until its where you want it.
what??? No thats how you do it…
which one to change for the fontsize? want the letters to be smaller
line 446
DrawTxt(1.160, 0.500, 1.0,1.0,0.55,"~p~Speedlimit: ~w~"..speedlimit.."~p~ mph", 255,255,255,255)
change (0.55) to a smaller value.
![]()
This is what i see using resmon and i’m not even in a vehicle. What is the proper way to lower the ms. Anybody got a clue?
Can you share me this script that shows the discord in hud?
Hi! You mind telling me or sending a link to the script you use for your map that shows the road your on, with your plate, the discord and all that good stuff bc it looks really nice and would like it for my server! thanks!
so i dont see any line of code to move the text from the top screen towds the bodum anywhere and im looking in the config file all through it
never mind found it
I cant get it to work in my server. Could someone help me with this?
Download the resource, I renamed the folder Speed-Limit then drop the folder into your Resource folder for your server. Make sure you add (whatever you name your folder) to your server.cfg then restart your server and it should be working!
I believe you need to be in a vehicle for the speed limit to show up.
Hope this helps.
hello i have adjusted your code for easy change from km / h and mph
In addition, I also have the addition of GameMaster10009
taken along.
-- show/hide component
local HUD = {
Speed = 'mph', -- kmh or mph
}
local speedlimit = "~r~~h~You havent Done this street!"
local speedlimitshow = true
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
local playerloc = GetEntityCoords(GetPlayerPed(-1))
local streethash = GetStreetNameAtCoord(playerloc.x, playerloc.y, playerloc.z)
street = GetStreetNameFromHashKey(streethash)
if IsPedInAnyVehicle(GetPlayerPed(-1)) then
if street == "Joshua Rd" then
speedlimit = 80
elseif street == "East Joshua Road" then
speedlimit = 80
elseif street == "Marina Dr" then
speedlimit = 55
elseif street == "Alhambra Dr" then
speedlimit = 55
elseif street == "Niland Ave" then
speedlimit = 55
elseif street == "Zancudo Ave" then
speedlimit = 55
elseif street == "Armadillo Ave" then
speedlimit = 55
elseif street == "Algonquin Blvd" then
speedlimit = 55
elseif street == "Mountain View Dr" then
speedlimit = 55
elseif street == "Cholla Springs Ave" then
speedlimit = 55
elseif street == "Panorama Dr" then
speedlimit = 65
elseif street == "Lesbos Ln" then
speedlimit = 55
elseif street == "Calafia Rd" then
speedlimit = 50
elseif street == "North Calafia Way" then
speedlimit = 50
elseif street == "Cassidy Trail" then
speedlimit = 65
elseif street == "Seaview Rd" then
speedlimit = 55
elseif street == "Grapeseed Main St" then
speedlimit = 55
elseif street == "Grapeseed Ave" then
speedlimit = 55
elseif street == "Joad Ln" then
speedlimit = 55
elseif street == "Union Rd" then
speedlimit = 65
elseif street == "O'Neil Way" then
speedlimit = 40
elseif street == "Senora Fwy" then
speedlimit = 120
elseif street == "Catfish View" then
speedlimit = 55
elseif street == "Great Ocean Hwy" then
speedlimit = 60
elseif street == "Paleto Blvd" then
speedlimit = 55
elseif street == "Duluoz Ave" then
speedlimit = 55
elseif street == "Procopio Dr" then
speedlimit = 55
elseif street == "Cascabel Ave" then
speedlimit = 50
elseif street == "Procopio Promenade" then
speedlimit = 40
elseif street == "Pyrite Ave" then
speedlimit = 50
elseif street == "Fort Zancudo Approach Rd" then
speedlimit = 40
elseif street == "Barbareno Rd" then
speedlimit = 50
elseif street == "Ineseno Road" then
speedlimit = 50
elseif street == "West Eclipse Blvd" then
speedlimit = 55
elseif street == "Playa Vista" then
speedlimit = 50
elseif street == "Bay City Ave" then
speedlimit = 50
elseif street == "Del Perro Fwy" then
speedlimit = 65
elseif street == "Equality Way" then
speedlimit = 50
elseif street == "Red Desert Ave" then
speedlimit = 50
elseif street == "Magellan Ave" then
speedlimit = 40
elseif street == "Sandcastle Way" then
speedlimit = 50
elseif street == "Vespucci Blvd" then
speedlimit = 40
elseif street == "Prosperity St" then
speedlimit = 50
elseif street == "San Andreas Ave" then
speedlimit = 40
elseif street == "North Rockford Dr" then
speedlimit = 55
elseif street == "South Rockford Dr" then
speedlimit = 55
elseif street == "Marathon Ave" then
speedlimit = 50
elseif street == "Boulevard Del Perro" then
speedlimit = 55
elseif street == "Cougar Ave" then
speedlimit = 50
elseif street == "Liberty St" then
speedlimit = 50
elseif street == "Bay City Incline" then
speedlimit = 40
elseif street == "Conquistador St" then
speedlimit = 40
elseif street == "Cortes St" then
speedlimit = 40
elseif street == "Vitus St" then
speedlimit = 40
elseif street == "Aguja St" then
speedlimit = 40
elseif street == "Goma St" then
speedlimit = 40
elseif street == "Melanoma St" then
speedlimit = 40
elseif street == "Palomino Ave" then
speedlimit = 55
elseif street == "Invention Ct" then
speedlimit = 40
elseif street == "Imagination Ct" then
speedlimit = 40
elseif street == "Rub St" then
speedlimit = 40
elseif street == "Tug St" then
speedlimit = 40
elseif street == "Ginger St" then
speedlimit = 50
elseif street == "Lindsay Circus" then
speedlimit = 50
elseif street == "Calais Ave" then
speedlimit = 55
elseif street == "Adam's Apple Blvd" then
speedlimit = 40
elseif street == "Alta St" then
speedlimit = 40
elseif street == "Integrity Way" then
speedlimit = 50
elseif street == "Swiss St" then
speedlimit = 50
elseif street == "Strawberry Ave" then
speedlimit = 40
elseif street == "Capital Blvd" then
speedlimit = 50
elseif street == "Crusade Rd" then
speedlimit = 50
elseif street == "Innocence Blvd" then
speedlimit = 40
elseif street == "Davis Ave" then
speedlimit = 40
elseif street == "Little Bighorn Ave" then
speedlimit = 55
elseif street == "Roy Lowenstein Blvd" then
speedlimit = 55
elseif street == "Jamestown St" then
speedlimit = 50
elseif street == "Carson Ave" then
speedlimit = 35
elseif street == "Grove St" then
speedlimit = 50
elseif street == "Brouge Ave" then
speedlimit = 50
elseif street == "Covenant Ave" then
speedlimit = 50
elseif street == "Dutch London St" then
speedlimit = 40
elseif street == "Signal St" then
speedlimit = 50
elseif street == "Elysian Fields Fwy" then
speedlimit = 50
elseif street == "Plaice Pl" then
speedlimit = 50
elseif street == "Chum St" then
speedlimit = 40
elseif street == "Chupacabra St" then
speedlimit = 50
elseif street == "Miriam Turner Overpass" then
speedlimit = 50
elseif street == "Autopia Pkwy" then
speedlimit = 55
elseif street == "Exceptionalists Way" then
speedlimit = 55
elseif street == "La Puerta Fwy" then
speedlimit = 60
elseif street == "New Empire Way" then
speedlimit = 50
elseif street == "Runway1" then
speedlimit = "--"
elseif street == "Greenwich Pkwy" then
speedlimit = 55
elseif street == "Kortz Dr" then
speedlimit = 50
elseif street == "Banham Canyon Dr" then
speedlimit = 40
elseif street == "Buen Vino Rd" then
speedlimit = 40
elseif street == "Route 68" then
speedlimit = 110
elseif street == "Zancudo Grande Valley" then
speedlimit = 40
elseif street == "Zancudo Barranca" then
speedlimit = 40
elseif street == "Galileo Rd" then
speedlimit = 40
elseif street == "Mt Vinewood Dr" then
speedlimit = 40
elseif street == "Marlowe Dr" then
speedlimit = 40
elseif street == "Milton Rd" then
speedlimit = 55
elseif street == "Kimble Hill Dr" then
speedlimit = 55
elseif street == "Normandy Dr" then
speedlimit = 55
elseif street == "Hillcrest Ave" then
speedlimit = 55
elseif street == "Hillcrest Ridge Access Rd" then
speedlimit = 55
elseif street == "North Sheldon Ave" then
speedlimit = 55
elseif street == "Lake Vinewood Dr" then
speedlimit = 55
elseif street == "Lake Vinewood Est" then
speedlimit = 55
elseif street == "Baytree Canyon Rd" then
speedlimit = 55
elseif street == "North Conker Ave" then
speedlimit = 55
elseif street == "Wild Oats Dr" then
speedlimit = 55
elseif street == "Whispymound Dr" then
speedlimit = 55
elseif street == "Didion Dr" then
speedlimit = 55
elseif street == "Cox Way" then
speedlimit = 55
elseif street == "Picture Perfect Drive" then
speedlimit = 55
elseif street == "South Mo Milton Dr" then
speedlimit = 55
elseif street == "Cockingend Dr" then
speedlimit = 55
elseif street == "Mad Wayne Thunder Dr" then
speedlimit = 55
elseif street == "Hangman Ave" then
speedlimit = 55
elseif street == "Dunstable Ln" then
speedlimit = 55
elseif street == "Dunstable Dr" then
speedlimit = 55
elseif street == "Greenwich Way" then
speedlimit = 55
elseif street == "Greenwich Pl" then
speedlimit = 55
elseif street == "Hardy Way" then
speedlimit = 55
elseif street == "Richman St" then
speedlimit = 55
elseif street == "Ace Jones Dr" then
speedlimit = 55
elseif street == "Los Santos Freeway" then
speedlimit = 65
elseif street == "Senora Rd" then
speedlimit = 40
elseif street == "Nowhere Rd" then
speedlimit = 25
elseif street == "Smoke Tree Rd" then
speedlimit = 55
elseif street == "Cholla Rd" then
speedlimit = 55
elseif street == "Cat-Claw Ave" then
speedlimit = 55
elseif street == "Senora Way" then
speedlimit = 40
elseif street == "Palomino Fwy" then
speedlimit = 60
elseif street == "Shank St" then
speedlimit = 40
elseif street == "Macdonald St" then
speedlimit = 55
elseif street == "Route 68 Approach" then
speedlimit = 110
elseif street == "Vinewood Park Dr" then
speedlimit = 55
elseif street == "Vinewood Blvd" then
speedlimit = 40
elseif street == "Mirror Park Blvd" then
speedlimit = 55
elseif street == "Glory Way" then
speedlimit = 55
elseif street == "Bridge St" then
speedlimit = 55
elseif street == "West Mirror Drive" then
speedlimit = 55
elseif street == "Nikola Ave" then
speedlimit = 55
elseif street == "East Mirror Dr" then
speedlimit = 55
elseif street == "Nikola Pl" then
speedlimit = 25
elseif street == "Mirror Pl" then
speedlimit = 55
elseif street == "El Rancho Blvd" then
speedlimit = 40
elseif street == "Olympic Fwy" then
speedlimit = 60
elseif street == "Fudge Ln" then
speedlimit = 40
elseif street == "Amarillo Vista" then
speedlimit = 40
elseif street == "Labor Pl" then
speedlimit = 55
elseif street == "El Burro Blvd" then
speedlimit = 55
elseif street == "Sustancia Rd" then
speedlimit = 45
elseif street == "South Shambles St" then
speedlimit = 50
elseif street == "Hanger Way" then
speedlimit = 50
elseif street == "Orchardville Ave" then
speedlimit = 50
elseif street == "Popular St" then
speedlimit = 40
elseif street == "Buccaneer Way" then
speedlimit = 45
elseif street == "Abattoir Ave" then
speedlimit = 55
elseif street == "Voodoo Place" then
speedlimit = 30
elseif street == "Mutiny Rd" then
speedlimit = 55
elseif street == "South Arsenal St" then
speedlimit = 55
elseif street == "Forum Dr" then
speedlimit = 55
elseif street == "Morningwood Blvd" then
speedlimit = 55
elseif street == "Dorset Dr" then
speedlimit = 40
elseif street == "Caesars Place" then
speedlimit = 40
elseif street == "Spanish Ave" then
speedlimit = 50
elseif street == "Portola Dr" then
speedlimit = 50
elseif street == "Edwood Way" then
speedlimit = 40
elseif street == "San Vitus Blvd" then
speedlimit = 40
elseif street == "Eclipse Blvd" then
speedlimit = 55
elseif street == "Gentry Lane" then
speedlimit = 30
elseif street == "Las Lagunas Blvd" then
speedlimit = 40
elseif street == "Power St" then
speedlimit = 40
elseif street == "Mt Haan Rd" then
speedlimit = 40
elseif street == "Elgin Ave" then
speedlimit = 40
elseif street == "Hawick Ave" then
speedlimit = 55
elseif street == "Meteor St" then
speedlimit = 50
elseif street == "Alta Pl" then
speedlimit = 50
elseif street == "Occupation Ave" then
speedlimit = 55
elseif street == "Carcer Way" then
speedlimit = 40
elseif street == "Eastbourne Way" then
speedlimit = 50
elseif street == "Rockford Dr" then
speedlimit = 55
elseif street == "Abe Milton Pkwy" then
speedlimit = 55
elseif street == "Laguna Pl" then
speedlimit = 50
elseif street == "Sinners Passage" then
speedlimit = 50
elseif street == "Atlee St" then
speedlimit = 50
elseif street == "Sinner St" then
speedlimit = 50
elseif street == "Supply St" then
speedlimit = 50
elseif street == "Amarillo Way" then
speedlimit = 55
elseif street == "Tower Way" then
speedlimit = 55
elseif street == "Decker St" then
speedlimit = 55
elseif street == "Tackle St" then
speedlimit = 40
elseif street == "Low Power St" then
speedlimit = 55
elseif street == "Clinton Ave" then
speedlimit = 55
elseif street == "Fenwell Pl" then
speedlimit = 55
elseif street == "Utopia Gardens" then
speedlimit = 40
elseif street == "Cavalry Blvd" then
speedlimit = 55
elseif street == "South Boulevard Del Perro" then
speedlimit = 55
elseif street == "Americano Way" then
speedlimit = 40
elseif street == "Sam Austin Dr" then
speedlimit = 40
elseif street == "East Galileo Ave" then
speedlimit = 55
elseif street == "Galileo Park" then
speedlimit = 55
elseif street == "West Galileo Ave" then
speedlimit = 55
elseif street == "Tongva Dr" then
speedlimit = 40
elseif street == "Zancudo Rd" then
speedlimit = 55
elseif street == "Movie Star Way" then
speedlimit = 55
elseif street == "Heritage Way" then
speedlimit = 55
elseif street == "Perth St" then
speedlimit = 40
elseif street == "Chianski Passage" then
speedlimit = 50
elseif street == "Lolita Ave" then
speedlimit = 55
elseif street == "Meringue Ln" then
speedlimit = 55
elseif street == "Strangeways Dr" then
speedlimit = 40
else
speedlimit = "~r~~h~Contact Development!"
end
if IsControlJustPressed(0, 29) then
if speedlimitshow == true then
speedlimitshow = false
else
speedlimitshow = true
end
end
if speedlimitshow == true then
if HUD.Speed == 'kmh' then
DrawTxt(1.160, 0.500, 1.0,1.0,0.55,"~p~Speedlimit: ~w~"..speedlimit.."~p~ km/h", 255,255,255,255)
elseif HUD.Speed == 'mph' then
DrawTxt(1.160, 0.500, 1.0,1.0,0.55,"~p~Speedlimit: ~w~"..speedlimit.."~p~ mph", 255,255,255,255)
end
end
end
end
end)
function DrawTxt(x,y ,width,height,scale, text, r,g,b,a)
SetTextFont(6)
SetTextProportional(0)
SetTextScale(scale, scale)
SetTextColour(r, g, b, a)
SetTextDropShadow(0, 0, 0, 0,255)
SetTextEdge(1, 0, 0, 0, 255)
SetTextOutline()
SetTextEntry("STRING")
AddTextComponentString(text)
DrawText(x - width/1 + 0.300, y - height/2 + 0.955)
end
I am currently working even further on it.
@pieter_veld
great if you do some kind of update because I wish we had to play the highways too, it’s just a suggestion…
@shinorei Hey im having troubles moving it, can you send me the x and y location for where you have it? Also what line do I change to move the speedlimit. Thanks
I just downloaded your release about 2hrs ago and I love it but im having trouble with it disappearing off the screen and the only way to get it back is to restart the resource any ideas?
never mind im a retard and was pressing down on r3 which turned the display off
lol great release
Thank you for a great Script,
Just to let you know i got this 
Dont know if its to any help

Very nice <3
