Quote: you send it from function that runs only on client
Does it means if{}s that only run on client, too? For example: function function_sending() //only on server { send_var(var_a); } function main() { something; if(connection == 2) { while(var_a == 0) wait(1); etc; } if(connection == 3) { function_sending(); } }