Liberty Unleashed
Scripting => Script Help => Topic started by: mimomohamed on November 05, 2011, 12:25:46 pm
-
w_sound <- null;
function onScriptLoad()
{
w_Sound <- null;
}
function onPlayerJoin( player )
{
if ( !w_Sound )
{
w_Sound = FindSound( "welcome.mp3" );
if ( w_Sound )
{
w_Sound.Open();
w_Sound.Play();
return 1;
}
}
else
{
w_Sound.Open();
w_Sound.Play();
return 1;
}
}
-
;D THANKS WORKS NOW
-
NO man i don't think like that but thanks ;D