aL.Kfo Posted October 3, 2013 Share Posted October 3, 2013 مرحبا شباب اليوم حاولت اسوي ماركر يفتح بلوحه بس م ضبط الاكواد client marker = createMarker ( 2458.7270507813,-1668.0413818359,13.479907989502, "cylinder", 2, 255, 0, 0, 170 ) addEventHandler("onClientMarkerHit",marker, function (player) if (getElementType (player) == "player") and (player == localPlayer) then showCursor(true) guiSetVisible(mmm,true) end end ) client1.lua GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(262, 200, 344, 289, "mmm", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(75, 113, 122, 68, "", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(144, 203, 116, 53, "", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(243, 94, 91, 68, "", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(61, 22, 168, 62, "", false, GUIEditor.window[1]) end ) meta.xml "mm" type="script" name="script" description="1.0" /> Link to comment
|Mr|-Talal07-| Posted October 3, 2013 Share Posted October 3, 2013 (edited) خله ملف واحد GUIEditor = { button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(262, 200, 344, 289, "mmm", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1],false) GUIEditor.button[1] = guiCreateButton(75, 113, 122, 68, "", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(144, 203, 116, 53, "", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(243, 94, 91, 68, "", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(61, 22, 168, 62, "", false, GUIEditor.window[1]) end ) marker = createMarker ( 2458.7270507813,-1668.0413818359,13.479907989502, "cylinder", 2, 255, 0, 0, 170 ) addEventHandler("onClientMarkerHit",marker, function (player) if player == localPlayer then showCursor(true) guiSetVisible(GUIEditor.window[1],true) end end ) و الميتا كذا اذا ما حددت النوع يكون سيرفر اذا كان كلينت لازم تكتب كلينت "mm" type="script" name="script" description="1.0" /> Edited October 3, 2013 by Guest Link to comment
فاّرس Posted October 3, 2013 Share Posted October 3, 2013 ^ اللوحه اساسا مفتوحه واذا لمس الماركر تفتحها ._. Link to comment
|Mr|-Talal07-| Posted October 3, 2013 Share Posted October 3, 2013 ^ اللوحه اساسا مفتوحه واذا لمس الماركر تفتحها ._. عدلت الكود جرب الحين Link to comment
فاّرس Posted October 3, 2013 Share Posted October 3, 2013 ^ اللوحه اساسا مفتوحه واذا لمس الماركر تفتحها ._. عدلت الكود جرب الحين شدخلني اجرب انا ؟ انا طالب الكود مثلا ؟ حبيت انبهك لا اكثر ذذ Link to comment
|Mr|-Talal07-| Posted October 3, 2013 Share Posted October 3, 2013 ^ اللوحه اساسا مفتوحه واذا لمس الماركر تفتحها ._. عدلت الكود جرب الحين شدخلني اجرب انا ؟ انا طالب الكود مثلا ؟ حبيت انبهك لا اكثر ذذ اوووهه والله ما انتبهت انه انت حسبتك الاخ الي طلب Link to comment
aL.Kfo Posted October 3, 2013 Author Share Posted October 3, 2013 م قصصرت طلال ضبط ي بعدي ولا هنت ي ذا بست ع التنبيه 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