Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Broadcasting playsound to a side  (Read 6208 times)

0 Members and 1 Guest are viewing this topic.

Offline Iceman77

  • Members
  • *
Broadcasting playsound to a side
« on: 05 Feb 2013, 08:27:18 »
How do I get the server to broadcast playsound to any given side only? This doesn't work, and broadcasts it to everyone anyhow.

Code: [Select]
{If (Side _x == East) Then {[_x,nil,rPLAYSOUND,"Captured"] call RE;}} ForEach PlayableUnits;
{If (Side _x == West) Then {[_x,nil,rPLAYSOUND,"LostZone"] call RE;}} ForEach PlayableUnits;