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: PBO : script.sqs->Playsound  (Read 1389 times)

0 Members and 1 Guest are viewing this topic.

Aeon

  • Guest
PBO : script.sqs->Playsound
« on: 01 Nov 2002, 20:00:47 »
I have an addon .pbo, inside there is a script.sqs, I can execute the script from EventHandlers new class in cpp or by writing exec command in the init field when edit mission. The script contain the command "Playsound" or "Playmusic", how could I determine the path to read the sound file?
I don't want to use external file such description.ext, everything must be inside the pbo. And I can't use sound[],soundHit[],etc...

Any suggestion?