Yea sorry I forgot about variables, I havn't had to do all of this from the beginning in some time. But yes, any time you want to modify a client side script, you have to move it from your dayz_code to your mission PBO, and completely redirect server call for that script.
You could also...