Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 community.

Guide How Is It Optimized In Clientside And Servers? (Fps Boost And Prevent Hitch Warning...)


Super Moderator
Jul 4, 2021
Reaction score
✌️Hello VAG Forum Family✌️
As you can see in the title, I will explain in detail the answer to the question "How to make FPS Optimization and Server Side optimization"


Most native loops work. If you ask what the word native is.
Native: They are the codes that enable the creation of events or events that you see used on GTA Single player or GTA Online.
To give an example of this;

🟣DrawMarker (create marker)
🟣SetEntityCoords (teleport player)
🟣CreateBlipForCoords (create blip)
(there are too many examples...)

Let's optimize the examples based on Draw Marker. Draw Marker is a code used in a loop. The code block of the loop;
       while true do
             --kod veya kod bloğu

What is ❓Citizen.Wait(milliseconds) ❓ : It is how many milliseconds the loop will repeat.

Let's say there is DrawMarker in the code or code block section, let's say Citizen.Wait(milliseconds) value is 10.

According to this information, the marker is drawn every 10 seconds. For example, let's make its MS value 50 instead of 10. The marker will flash, but there will be a very serious decrease in the resmon values. If we make 100, our marker will probably disappear and this will have a greater effect on FPS values.

❗You can apply this to the ms value of all *NON-SENSITIVE* code or code blocks in the loop, not just DrawMarker.


TriggerServerEvent... So a code or code block that runs on a serverside & a triggered serverside over the client.

Among them, as I explained on the client, it may be looped. This puts a lot of pressure on the server. You will notice the difference when you increase the ms value without exaggeration.

Login or register to get more out of the forum!

Login or register to get more out of the forum!


Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds