Jump to content
Sign in to follow this  
ZiRo

Global arrays

Recommended Posts

I have a script that has a global array.

It looks like this:

- Script

MAIN SCRIPT - Script

- Script

I defined a global array in MAIN SCRIPT (vehicle name) for use in the 3 secoundry scripts, after each of the secoundry scripts has finished, they refur back to the main script.

My script works perfectly, but i have the problem of running 2 instances of the script, having both scripts effect the same vehicle...

Any ideas on how i can allow myself to use more than one instance of the script at the same time without conflict?

i cant move all into one .sqs cus i used 3 addactions..

any input welcome, if you need more info or the files please tell me and i will add them...

-ZiRo

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×