khalid-mks Posted January 16, 2015 Share Posted January 16, 2015 السلام عليكم شباب ابي كود او فنكشن انا عندي قناة راديو خاصة بي وابي اعمل سكربت عبارة عن راديو مباشر الكل الي داخل اللعبة يسمعه بس ابيكم تساعدووني بكود او فنكشن __________________________ ياريت تساعدووني هاي المرة وشككككككككككككككككررا Link to comment
nxFairlywell Posted January 16, 2015 Share Posted January 16, 2015 سيرفر function startSound ( player ) if getElementData(player,"isRunning") == false then setElementData(player,"isRunning", true) triggerClientEvent( getRootElement( ), "startSound", getRootElement ( ) ) else setElementData(player,"isRunning", false) triggerClientEvent( getRootElement( ), "stopSound", getRootElement( ) ) end end addCommandHandler("sound", startSound) كلينت local sound = "مسار او رابط تشغيل الصوت المباشر" addEvent("startSound",true) addEvent("stopSound",true) function start ( ) isPlay = playSound( sound, true ) end addEventHandler("startSound", root, start) function stop ( ) stopSound( isPlay ); end addEventHandler("stopSound", root, stop) Link to comment
ALw7sH Posted January 17, 2015 Share Posted January 17, 2015 لول ليه كلاينت وسيرفر onClientPlayerJoin playSound Link to comment
nxFairlywell Posted January 17, 2015 Share Posted January 17, 2015 لول ليه كلاينت وسيرفر onClientPlayerJoin playSound هذي طريقتي ^^ دائما اذا ابي اشغل صوت لكل اللاعبين اسوي كذا Link to comment
iMr.TZ[W]ER Posted January 17, 2015 Share Posted January 17, 2015 كيف اذاعة الراديو اللي عندك ؟ على لواقط ولا على انترنت ؟ Link to comment
#MFGR7OM Posted January 22, 2015 Share Posted January 22, 2015 عل الانترنت استخدم حقت تابل او اذا تبي على احداثيات playSound3D 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