#Heshan||eUNLOCK||

[HELP] how to add more round end music to stealth gamemode

Recommended Posts

addEvent( 'clientRoundEnd', true )
addEventHandler( 'clientRoundEnd', localPlayer,
    --function( camPosX, camPosY, camPosZ, camLookX, camLookY, camLookZ, winTeamName )
	function( table )
		local camPosX, camPosY, camPosZ, camLookX, camLookY, camLookZ, winTeamName
		camPosX = table[ 1 ]
		camPosY = table[ 2 ]
		camPosZ = table[ 3 ]
		camLookX = table[ 4 ]
		camLookY = table[ 5 ]
		camLookZ = table[ 6 ]
		winTeamName = table[ 7 ]
	    w = winTeamName
	    setGameSpeed( 0.02 )
		guiSetVisible( gui.images['intro'], true )
		showPlayerHudComponent( 'radar', false )
		guiSetVisible( weaponsGui.window[1], false )
		guiSetVisible( weaponsGui.window[2], false )
		guiSetVisible( gui.images[ winTeamName ], true )
		fadeCamera( true )
		setElementData( localPlayer, 'State', 'Dead' )
		setTimer(
		    function( )
			    attachRotatingCamera( false, localPlayer )
			    guiSetVisible( gui.images[ winTeamName ], false )
				fadeCamera( false, 0.01 )
				setCameraMatrix( camPosX, camPosY, camPosZ, camLookX, camLookY, camLookZ )
				setGameSpeed( 1 )
				setTimer( fadeCamera, 500, 1, true, 1.0 )
			end,
		5500,1 )
		setTimer(
		    function( )
				triggerServerEvent( 'takeClientWeapons', resourceRoot )
				setGameSpeed( 1 )
			end,
		6000,1 )
		showCursor( true )
		updateBestKiller( )
		gdyRundaSieSkonczy( )
		endRoundOgg = playSound( "audio/round_end.ogg" );
	end
)

how to add random round end music to stealth pro ? i want to add 5 random select musics to round end music pls help me guys.

sorry about my bad english

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.