CounterStrikeSharp icon indicating copy to clipboard operation
CounterStrikeSharp copied to clipboard

[Need Help] how do I transfer to the main thread?

Open ZWqPY opened this issue 2 years ago • 2 comments

image when I try to make a small delay before execution, I get a message that I need to somehow transfer this to the main thread. [21:34:46.740] CSSharp: Native 48eb2fc8 was invoked on a non-main thread

ZWqPY avatar Jun 11 '24 18:06 ZWqPY

Try AddTimer. That method is used for adding delays in CSS.

lengran avatar Jun 12 '24 09:06 lengran

thx! its work!

ZWqPY avatar Jun 12 '24 11:06 ZWqPY