View Single Post
Old 10-26-2012   #1
slayerxyz0
SWAG MASTA
 
Join Date: Oct 2012
Posts: 2
slayerxyz0 is an unknown quantity at this point
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?

EDIT1:
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.

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

Last edited by slayerxyz0; 10-26-2012 at 08:40 PM.. Reason: auto-merged double post
slayerxyz0 is offline   Reply With Quote