Using rg_set_user_model without delay

Сообщения
219
Реакции
42
Replacing the old API about changing models: https://forums.alliedmods.net/showthread.php?t=161255

I use rg_set_user_model massively.
I had understood that the delay is not needed anymore.

But using the native in a direct call, some problems appears.
For example:
  • There is a HUD to announce every player, at the same time rg_set_user_model is called, and that HUD won't appear.
It seems some messages aren't shown at the same time you call rg_set_user_model.

Have you experienced this problem?
 
Сообщения
673
Реакции
242
Помог
11 раз(а)
Attempts of self-search solutions should be published in the topic. Send your solution attempts.
Which HUD are we talking about?
 
Сообщения
219
Реакции
42
Attempts of self-search solutions should be published in the topic. Send your solution attempts.
Which HUD are we talking about?
It's a simple HUD on the middle screen when mode starts on ZP at the same time models are changed.

An attempt to fix it, I already use cs_set_user_model fixed:
https://forums.alliedmods.net/showpost.php?p=2319821&postcount=30

which also has the same problem, not showing the HUD. Probably because we can't send too much msg at the same time.

Another attempt to fix can be send the HUD on the next frame with RequestFrame or a task.
But I want to avoid that option.


I open the topic to discuss about the use of native without delay, and asking if someone has same or similar problems with it.
 
Последнее редактирование:
Сообщения
219
Реакции
42
Tested the two attempts, none of them working...

Waiting here if someone has an idea.
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу