Skip to content

Instantly share code, notes, and snippets.

View Whoeza's full-sized avatar
:electron:
Available XP

Chuck Whoeza

:electron:
Available XP
View GitHub Profile
@Whoeza
Whoeza / _improve_fivem_resources.md
Created April 18, 2023 09:52 — forked from nnsdev/_improve_fivem_resources.md
How to improve FiveM resource performance

How to fix resource performance

Showing by example of "disc-base" exempts

This is an example of a resource called "disc-base", I have only taken parts of it and removed the mentions of ESX, because I am running this on an empty server. The part we are looking at here especially is the marker drawing. This is also an outdated version of this resource before they applied performance improvements, but we are also going to go deeper than their changes.

Base of this tutorial: https://github.com/DiscworldZA/gta-resources/blob/54a2aaf7080286c8d49bbd7b1978b6cc430ec755/disc-base/client/markers.lua (client.lua here)

Assessment