GTAGaming Forums

GTAGaming Forums (
-   Grand Theft Auto IV Mods (
-   -   Add delay in .NET script? (

slayerxyz0 10-26-2012 06:01 PM

Add delay in .NET script?
Normally for a delay in .NET I would create a new thread and delay that thread so that it didn't interfere with the thread the application is running on. However, with GTA this seems to cause some crashing issues, so does anyone know a way to delay the script without freezing the game or causing the above error?

I got around the issue since it had to do with animations but I would still like to know if a simple delay is possible.

Never mind, I realized that there is a Wait() function.

All times are GMT -6. The time now is 12:41 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2016, vBulletin Solutions, Inc.