Jump to content

تصحيح كودد


Recommended Posts

تاكد انه كلنت

marker = createMarker( 2133.59,-1149.29, 23.3, "cylinder", 3, 255, 0, 0, 127 ) 
    addEventHandler('onClientMarkerHit',marker, 
    function(hitElement) 
if(getElementType(hitElement)=="player")then 
    sound = playSound( i.wav ) 
    setTime(4,00) 
    end 
end) 
    addEventHandler('onClientMarkerLeave',marker, 
    function() 
    stopSound(sound) 
    end) 

Link to comment
تاكد انه كلنت
marker = createMarker( 2133.59,-1149.29, 23.3, "cylinder", 3, 255, 0, 0, 127 ) 
    addEventHandler('onClientMarkerHit',marker, 
    function(hitElement) 
if(getElementType(hitElement)=="player")then 
    sound = playSound( i.wav ) 
    setTime(4,00) 
    end 
end) 
    addEventHandler('onClientMarkerLeave',marker, 
    function() 
    stopSound(sound) 
    end) 

local sound 
marker = createMarker( 2133.59,-1149.29, 23.3, "cylinder", 3, 255, 0, 0, 127 ) 
addEventHandler('onClientMarkerHit',marker, 
    function(hitElement) 
        if(getElementType(hitElement)=="player")then 
            sound = playSound("i.wav") 
            setTime(4,00) 
        end 
    end 
) 
  
addEventHandler('onClientMarkerLeave',marker, 
    function() 
        stopSound(sound) 
     end 
) 

Link to comment
marker = createMarker(2133.59,-1149.29, 23.3, "cylinder", 3, 255, 0, 0, 127) 
  
addEventHandler("onClientMarkerHit", marker, 
function(hitElement) 
    if getElementType(hitElement) == "player" and hitElement == localPlayer then 
        sound = playSound("i.wav") 
        setTime(4,0) 
    end 
end) 
  
addEventHandler("onClientMarkerLeave", marker, 
function(leaveElement) 
    if getElementType(leaveElement) == "player" and leaveElement == localPlayer then 
        if isElement(sound) then stopSound(sound) end 
    end 
end) 

Link to comment
marker = createMarker(2133.59,-1149.29, 23.3, "cylinder", 3, 255, 0, 0, 127) 
  
addEventHandler("onClientMarkerHit", marker, 
function(hitElement) 
    if getElementType(hitElement) == "player" and hitElement == localPlayer then 
        sound = playSound("i.wav") 
        setTime(4,0) 
    end 
end) 
  
addEventHandler("onClientMarkerLeave", marker, 
function(leaveElement) 
    if getElementType(leaveElement) == "player" and leaveElement == localPlayer then 
        if isElement(sound) then stopSound(sound) end 
    end 
end) 

يسسسسسسسسسسسسسلمو يا شنب يسسسسسسسلمو والله انك رجال ظبط 100% ولكن تعديل بسيط اذا ممكن انه الصوت مايتوقف يتكرر كذا مرة

تسسسسسسلم يشيخ يسسسسسسسسسلمو الجميع تعبتكم معاي يسسسسسلمو وقسم انك شنب

اشكركم من كل قلبي :$:$:$:$:$:$:$

Link to comment
  
marker = createMarker(2133.59,-1149.29, 23.3, "cylinder", 3, 255, 0, 0, 127) 
  
addEventHandler("onClientMarkerHit", marker, 
function(hitElement) 
    if getElementType(hitElement) == "player" and hitElement == localPlayer then 
        sound = playSound("i.wav", true) 
        setTime(4,0) 
    end 
end) 
  
addEventHandler("onClientMarkerLeave", marker, 
function(leaveElement) 
    if getElementType(leaveElement) == "player" and leaveElement == localPlayer then 
        if isElement(sound) then destroyElement(sound) end 
    end 
end) 
  

جرب

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...