Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   play() not working. (https://forums.graalonline.com/forums/showthread.php?t=134260541)

Jiroxys7 09-14-2010 06:43 PM

play() not working.
 
Simple problem: I have play("<filename.wav>"); in one of my scripts, but it doesnt seem to do anything. Am I somehow using it wrong, or is it not supported anymore?

xAndrewx 09-14-2010 06:48 PM

add

//#CLIENTSIDE

at the top :)

Liberated 09-14-2010 07:08 PM

make sure the file is there? you can check in some tab if it gets any error. I don't know which tab though.

MrOmega 09-14-2010 07:15 PM

or see if it's downloadable, in RC use /find filename.wav

Jiroxys7 09-14-2010 08:06 PM

Thanks, yeah, it turned out that i had forgotten to move my sounds over when i changed the folder that was used. :rolleyes:

benpoke103 09-14-2010 08:37 PM

URLs work too.


All times are GMT +2. The time now is 05:36 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.