Jump to content

طلب كود


Recommended Posts

السلام وعليكم

ابي كود لما لاعب يلمس الماركر يجيه صوت

-------------------------------------------

وكود اخر اذا كتبت كلمة ب ف8 يطلع صوت 5 ثواني ويتوقف

Edited by Guest
Link to comment
"onClientMarkerHit" 
addCommandHandler 
playSound 
setTimer 
createMarker 

سويت هرييسة مازبط ضض

    addCommandHandler ( "createmarker", onClientMarkerHit ) 
        local sound = playSound("Snd.mp3") 
            setTimer ( delayedChat, 1000, 1, ) 
    createMarker ( -711.23761,957.54730,11.37268, "cylinder", 1.5, 255, 255, 0, 255 ) 
        end 
    end 

ما ابي كودات جاهزة مشان اتعلم ابي اعرف وين الخطا..قصدي اخطـــاء ض

Link to comment
  
-- Client 
local marker = createMarker(2480,-1665.9,13,"cylinder",1.5,255,255,255,255) 
  
addEventHandler("onClientMarkerHit",root, 
function(plr) 
    if ( plr == localPlayer ) then 
        sound = playSound("MhLoSs.mp3") 
    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...