TriggerLatentServerEvent

Hi all, i write it here since i cannot write anymore in any channel in fivem discord :thinking: i don’t know who to ask why :sweat_smile:

Anyway… looking inside CitizenFX.Core in Visual Studio i found out a new native (maybe old but i never saw that before…)
i found this:
public static void TriggerLatentServerEvent(string eventName, int bytesPerSecond, params object[] args);

what is the difference between the classic TriggerServerEvent and this new one?

I belive it is same as TriggerServerEvent function but you can set the rate of data transfer. It is mainly for transfering large chunks of data without blocking the net channel so other Net events can be used while transfering large data

i see :thinking: