Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gin need help please!!
#5
int i n=EnumQmThreads(0 0 0 0)
QMTHREAD* a._new(n)
for i 0 EnumQmThreads(a n 0 0)
,if _s.getmacro(a[i].qmitemid 1)="Function1"
,,int x
,,x+1
if x=1
,str+ cf
,cf=w1
if x=2
,str+ cf2
,cf2=w1
if x=3
,str+ cf3
,cf3=w1
if x=4
,str+ cf4
,cf4=w1
this is the code i am using
what i need it 2 do is reset only the global that is working in this function.but keep in mind there may be 4 or more instances of this function running at the same time


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)