Hakimovic Posted June 30, 2014 Share Posted June 30, 2014 السلام و علييكم ابي كود لما لاعب يروح للماركر تطلعلو لوحة يقدر يشتري منها الاسلحة ابيها للجميع مو تيم خاص و شرح كيف استخدم الكود اذا كان جاهز بس انا اغير الاحداثيات و كدا يكون احسن Link to comment
Simba Posted June 30, 2014 Share Posted June 30, 2014 createMarker -- صنع ماركر guiGetVisible -- عشان يتحقق اذا كانت اللوحة ظاهرة ما يظهرها مرة ثانيه او يخفيها guiSetVisible -- عشان تظهر اللوحة onClientMarkerHit -- حدث عند لمس الماركر Link to comment
Hakimovic Posted June 30, 2014 Author Share Posted June 30, 2014 تسلم ممكن تسوي الكود جاهز و بغير عليه اني حاولة و مازبط Link to comment
Simba Posted June 30, 2014 Share Posted June 30, 2014 تسلمممكن تسوي الكود جاهز و بغير عليه اني حاولة و مازبط هات الكود الي حاولت فيه وما زبط Link to comment
Hakimovic Posted June 30, 2014 Author Share Posted June 30, 2014 انا ما فهمت كيف اسوي guiSetVisible معاهم Link to comment
ALw7sH Posted June 30, 2014 Share Posted June 30, 2014 addEventHandler('onClientGUIClick',getRootElement(), function() if source == buttonName then guiSetVisible(window,true) end end ) Link to comment
Hakimovic Posted June 30, 2014 Author Share Posted June 30, 2014 الماركر موجود بس ما يطلعلي شي في غلط ? او اضيف شي اخر ? local theMarker = createMarker ( -2395.26685,-577.64258,131.11719, "cylinder", 1.5, 255, 255, 0, 255 ) addEventHandler('onClientGUIClick',getRootElement(), function() if source == buttonName then guiSetVisible(window,true) end end ) Link to comment
acount deleted Posted June 30, 2014 Share Posted June 30, 2014 addEventHandler('onClientGUIClick',getRootElement(), function() if source == buttonName then guiSetVisible(window,true) end end ) السلام و علييكم ابي كود لما لاعب يروح للماركر تطلعلو لوحة يقدر يشتري منها الاسلحة ابيها للجميع مو تيم خاص و شرح كيف استخدم الكود اذا كان جاهز بس انا اغير الاحداثيات و كدا يكون احسن Link to comment
ALw7sH Posted June 30, 2014 Share Posted June 30, 2014 الماركر موجود بس ما يطلعلي شي في غلط ?او اضيف شي اخر ? local theMarker = createMarker ( -2395.26685,-577.64258,131.11719, "cylinder", 1.5, 255, 255, 0, 255 ) addEventHandler('onClientGUIClick',getRootElement(), function() if source == buttonName then guiSetVisible(window,true) end end ) local theMarker = createMarker ( -2395.26685,-577.64258,131.11719, "cylinder", 1.5, 255, 255, 0, 255 ) addEventHandler("onClientMarkerHit",getRootElement(), function() if source == theMarker then guiSetVisible(window,true) end end ) Link to comment
ALw7sH Posted June 30, 2014 Share Posted June 30, 2014 addEventHandler('onClientGUIClick',getRootElement(), function() if source == buttonName then guiSetVisible(window,true) 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