Hakimovic Posted July 25, 2014 Share Posted July 25, 2014 (edited) السلام وعليكم ابي كود لما لاعب يلمس الماركر يجيه صوت ------------------------------------------- وكود اخر اذا كتبت كلمة ب ف8 يطلع صوت 5 ثواني ويتوقف Edited July 25, 2014 by Guest Link to comment
shwaeki Posted July 25, 2014 Share Posted July 25, 2014 "onClientMarkerHit" addCommandHandler playSound setTimer createMarker Link to comment
Hakimovic Posted July 25, 2014 Author Share Posted July 25, 2014 "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
MhLoSs Posted July 25, 2014 Share Posted July 25, 2014 -- 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
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