Code: Show/Hide String msg = "*objset "; for (int x = scoreZeroOnesStart; x < scoreZeroOnesStart + 10;++x) { msg += "-" + (String)x + ","; } becomes for (int x = scoreZeroOnesStart; x < scoreZeroOnesStart + 10;++x) queue_disable(x); |
Code: Show/Hide object_target(p); // set player objects will get sent to object_target(NULL); // set all players to get objects queue_enable(20); // put object id 20 (turn on) in queue to get sent queue_disable(34); // put object id 34 (turn off) in queue to get sent // both enable/disable automatically send if theres 20 objects (max) already in queue when u call them toggle_objects(); // send all the objects in the queue |