Jump to content

مشكل عندي في البرمجة وابي حللللل


Recommended Posts

السلاام عليكم ورحة الله وبركاته

شباااب انا عندي مشكل في الموود بتاع الراديو

انا عامل قناة راديو على الانترنت وعاملها على شكل مود

بس لما اشغله يقوولوو لي في اف8

BASS ERROR 0 in PlayStream b3D = false path = http://xstraradio.listen2myradio.com/

وهاده الكلنت

local sound = "http://xstraradio.listen2myradio.com/" 
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) 

وهاده السيرفر

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) 

في انتضاار المسااعده

وشكراا :fadein:

Link to comment

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.

×
×
  • Create New...