@Krlos_Rokr I know this is an old post, but thanks for posting this. I prefer to code in VB.Net but was unable to migrate my working LemonUI to VB.Net using your example. In my code I spawn peds with component variations for example. This works in C# but in VB.Net it is inconsistent. For the most part it spawns multiples of the peds, 4 instead of 2, etc.
No sure if there is a fix. I'm very new to coding.