likemike12 Posted April 21, 2016 Share Posted April 21, 2016 السلام عليكم ورحمة الله وبركاته يا اخوان انا محتاج مساعده لكيفية ربط كود بزر داخل مود الي لمني اشغل المود يكون عند كل اللاعبين مو بس عندي وياريت حد يساعدني وانا منزل موضوع قبل كذا بس حسبو اني ابي اتعلم كيف اربط كود داخل السيرفر لي انا وبس مدري محتاج مساعده وبس وشكراً Link to comment
#|_oskar_|# Posted April 21, 2016 Share Posted April 21, 2016 getElementsByType --- سوي لوب لكل اللاعبين Link to comment
#|_oskar_|# Posted April 21, 2016 Share Posted April 21, 2016 ممكن توضح اكثر اقتح الرابط وانت تفهم كل شئ Link to comment
likemike12 Posted April 21, 2016 Author Share Posted April 21, 2016 ممكن تعطيني كود وبس مثان كود اعطاء سياره على زر Link to comment
likemike12 Posted April 21, 2016 Author Share Posted April 21, 2016 ياخي انا مبتدئ بعرف كثير اشياء وبجهل كثير اشياء Link to comment
Abdul KariM Posted April 21, 2016 Share Posted April 21, 2016 لو تبحث بالقسم , بتلاقي طلبك , وفيه امثلة قد انتطرحت زي كذا Link to comment
likemike12 Posted April 21, 2016 Author Share Posted April 21, 2016 --Server bindKey ياخي ابي الكووود جاهز الكود وش Link to comment
YourMind Posted April 21, 2016 Share Posted April 21, 2016 function gg(plr) -- end for i,k in ipairs (getElementsByType("player")) do bindKey (k,"Key","down",gg) end Link to comment
#Soking Posted April 21, 2016 Share Posted April 21, 2016 function Function( Plr ) -- Your Functions end function addBindKey( ) for i,v in ipairs (getElementsByType("player")) do bindKey (v,"Key","down",Function) end end addEventHandler("onPlayerJoin",getRootElement( ),addBindKey ) addEventHandler("onClientResourceStart", resourceRoot,addBindKey ) Link to comment
likemike12 Posted April 21, 2016 Author Share Posted April 21, 2016 function Function( Plr ) -- Your Functions end function addBindKey( ) for i,v in ipairs (getElementsByType("player")) do bindKey (v,"Key","down",Function) end end addEventHandler("onPlayerJoin",getRootElement( ),addBindKey ) addEventHandler("onClientResourceStart", resourceRoot,addBindKey ) شكراً اخي ذا كود صح وانا صنعت كود صح ياخي وينك من زمان عني ممكن تضيفني صديق Link to comment
Abdul KariM Posted April 21, 2016 Share Posted April 21, 2016 function Function( Plr ) -- Your Functions end function addBindKey( ) for i,v in ipairs (getElementsByType("player")) do bindKey (v,"Key","down",Function) end end addEventHandler("onPlayerJoin",getRootElement( ),addBindKey ) addEventHandler("onClientResourceStart", resourceRoot,addBindKey ) كلينت مع سيرفر ؟ لول 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