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 07:40 PM.. Reason: auto-merged double post
slayerxyz0 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:18 AM.