IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Post mod/code requests in the Mod Requests topic

Post mod releases in the Mod Showroom

Read the Modding Rules BEFORE posting!

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 [Scripthook C++] Independent Multi Thread

 
MOrdecki  
Posted: Sunday, Jul 29 2012, 16:36
Quote Post


Scripter
Group Icon
Group: Members
Joined: Jul 10, 2006

pl.gif

XXXXX



Hi, is there any way to make an independent threat runing beside the script?
Something like with Speedo thread, the texurerender script is runing independ from the main thread ?

I belive its runing with some special class like this:
CODE
class SpeedoRender :
   public ID3DDeviceHook


But game crashes whenever i try to create second ScriptThread in the project
CODE
class SpeedoRender :
   public ScriptThread


Thanks!

This post has been edited by MOrdecki on Sunday, Jul 29 2012, 16:39
Users WebsitePMMSNXbox Live
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG