Professional Posted February 27, 2015 Share Posted February 27, 2015 السلام عليكم ابي فنكش يغير صوت سياره شرطه او سيارات الثانيه ابي الفنكشات كامله لاهنتو وشكرااااا Link to comment
Max+ Posted February 27, 2015 Share Posted February 27, 2015 السلام عليكمابي فنكش يغير صوت سياره شرطه او سيارات الثانيه ابي الفنكشات كامله لاهنتو وشكرااااا function testSirene( player, cmd ) local commandant = createVehicle ( 554, 1227.746, -1422.281, 13.5432, 0, 0, 0, "COMM1" ) triggerClientEvent ( "startSirene", player, commandant ) end addCommandHandler ( "testsirene", testSirene) function startSirene ( vehicle ) local x,y,z = getElementPosition( vehicle ) local sound = playSound3D( "sons\\sirene1.wav", x, y, z, true) attachElements ( sound, vehicle) end addEvent( "startSirene", true ) addEventHandler("startSirene", getResourceRootElement(), startSirene) Link to comment
khalid-mks Posted February 28, 2015 Share Posted February 28, 2015 https://wiki.multitheftauto.com/wiki/Cl ... _functions Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now