{"id":90139,"date":"2024-07-04T17:15:17","date_gmt":"2024-07-04T15:15:17","guid":{"rendered":"https:\/\/five-rp.de\/?p=90139"},"modified":"2025-06-16T10:48:51","modified_gmt":"2025-06-16T08:48:51","slug":"geschwindigkeits-begrenzer","status":"publish","type":"post","link":"https:\/\/five-rp.de\/en\/geschwindigkeits-begrenzer\/","title":{"rendered":"speed limiter"},"content":{"rendered":"<p class=\"wp-block-paragraph\">The script is a simple speed limiter script that sets a speed limit of 232 km\/h on all vehicles in your server. It is perfect for realism servers that want to make sure that no vehicles are driving unrealistically fast.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"#anpassung\">But you can easily change the speed. I&#039;ll explain how to do that here.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">functions<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>speed limit<\/strong>: Sets the maximum speed of all vehicles to 232 km\/h.<\/li>\n\n\n\n<li><strong>compatibility<\/strong>: Works with ESX LEGACY version 1.3 to 1.6. But also with <a href=\"https:\/\/five-rp.de\/en\/qbcore\/\" type=\"link\" id=\"https:\/\/five-rp.de\/qbcore\/\">QBCore<\/a>!<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">installation<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Download<\/strong>: <a href=\"https:\/\/linkvertise.com\/1197882\/fivem-speed-limit?o=sharing\" target=\"_blank\" type=\"link\" id=\"https:\/\/link-hub.net\/1197882\/fivem-speed-limit\" rel=\"noreferrer noopener\">Download the script<\/a> and unpack it into your\u00a0<code>resources<\/code>\u00a0folder on your FiveM server.<\/li>\n\n\n\n<li><strong>Server.cfg Update<\/strong>: Add\u00a0<code>ensure Global-Speed-Limit-FiveM<\/code>\u00a0to your\u00a0<code>server.cfg<\/code>\u00a0File to load the script when the server starts:<code>ensure Global-Speed-Limit-FiveM<\/code><\/li>\n\n\n\n<li><strong>Restart<\/strong>: Restart your server to activate the script.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">advantages and benefits<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>security check<\/strong>: Prevents driving at extremely high speeds, increasing control and security on your server.<\/li>\n\n\n\n<li><strong>Easy to use<\/strong>: Quick installation and low configuration requirements make the script easy to use. Ready to use right away!<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Download Global-Speed-Limit-FiveM<\/h2>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/linkvertise.com\/1197882\/fivem-speed-limit?o=sharing\" target=\"_blank\" rel=\"noreferrer noopener\">Download script<\/a><\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"anpassung\">Change maximum speed<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">change speed<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Open the script<\/strong>: Open the file you <a href=\"https:\/\/linkvertise.com\/1197882\/fivem-speed-limit?o=sharing\" target=\"_blank\" type=\"link\" id=\"https:\/\/link-hub.net\/1197882\/fivem-speed-limit\" rel=\"noreferrer noopener\">from the download<\/a> received in a text editor.<\/li>\n\n\n\n<li><strong>Find the relevant code section<\/strong>:<code> if math.floor(currentcarspeed*mph) == 230 then --&lt;&lt;&lt;&lt;&lt; Change this value setspeed = GetEntitySpeed(GetVehiclePedIsIn(PlayerPedId(), false)) SetVehicleMaxSpeed(GetVehiclePedIsIn(PlayerPedId(), false), setspeed) end<\/code><\/li>\n\n\n\n<li><strong>Change the speed<\/strong>: Replace\u00a0<code>230<\/code>\u00a0by the desired maximum speed. For example, if you want to change the speed to 200 km\/h:<code> if math.floor(currentcarspeed*mph) == 200 then setspeed = GetEntitySpeed(GetVehiclePedIsIn(PlayerPedId(), false)) SetVehicleMaxSpeed(GetVehiclePedIsIn(PlayerPedId(), false), setspeed) end<\/code><\/li>\n\n\n\n<li><strong>Save and Restart<\/strong>: Save the file and restart the server for the change to take effect.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>if math.floor(currentcarspeed*mph) == 230 then --&lt;&lt;&lt;&lt;&lt; Change this value setspeed = GetEntitySpeed(GetVehiclePedIsIn(PlayerPedId(), false)) SetVehicleMaxSpeed(GetVehiclePedIsIn(PlayerPedId(), false), setspeed) end<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>Das\u00a0Skript ist ein einfaches Geschwindigkeits-Begrenzer-Skript, das eine Geschwindigkeitsbegrenzung von 232 km\/h auf alle Fahrzeuge in deinem Server setzt. Es ist [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":90140,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ai_generated_summary":"","footnotes":""},"categories":[1795],"tags":[],"class_list":["post-90139","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fivem-mods-scripts"],"_links":{"self":[{"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/posts\/90139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/comments?post=90139"}],"version-history":[{"count":2,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/posts\/90139\/revisions"}],"predecessor-version":[{"id":98114,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/posts\/90139\/revisions\/98114"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/media\/90140"}],"wp:attachment":[{"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/media?parent=90139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/categories?post=90139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/five-rp.de\/en\/wp-json\/wp\/v2\/tags?post=90139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}