Jump to content
Sign in to follow this  
mattxr

How to Make a Script Act On All Clients

Recommended Posts

can't you

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">call compile preprocessFile "weatherthingy.sqf"If the code is function

OR

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[] execVM "weatherThingy.sqf"if your code is a script? (ie contains "sleep" commands, things like that)

Share this post


Link to post
Share on other sites

in my opinion a spawn compile command can't compile the preproccesed code immediadly because the script is not compiled yet smile_o.gif

Maybe you need to prepocces first, save the content in a variable and call it later.

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  

×