Jump to content
Sign in to follow this  
marez12

Script to start music

Recommended Posts

Hello, 

I'm quite new to scripting, and I'd like to know if this is correct: 

player enterArea = { _this = _this select 0;

if (isServer) then {

if (isPlayer _this) then {

_song = "music\song.ogg";

_sound = [_this, _song, false] call BIS_fnc_spawn; } }; };

Thanks for your feedback!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×