αвυ-wαleed Posted November 30, 2013 Share Posted November 30, 2013 ابغى كود ماركر اذا دخلته تفتح نافذة احددها + ابغى اول ما اشغل المود النافذة ماتطلع الا بعد ما اخش الماركر Link to comment
jafar Posted November 30, 2013 Share Posted November 30, 2013 onClientMarkerHit guiSetVisible getLocalPlayer ( ) Link to comment
K1NG Posted November 30, 2013 Share Posted November 30, 2013 onClientMarkerHit guiSetVisible getLocalPlayer ( ) + showCursor Link to comment
Mr-M3AND Posted November 30, 2013 Share Posted November 30, 2013 createMarker guiSetVisible showCursor onClientMarkerHit Link to comment
αвυ-wαleed Posted December 1, 2013 Author Share Posted December 1, 2013 كيف كذا صح ؟؟ لان اللوحة ما اشتغلت guiSetVisible ( shop_1, false ) local marker1 = createMarker ( 1454.4311523438,-2218.5419921875,13.546875,'cylinder',2, 0,255, 0, 255) addEventHandler ( "onClientMarkerHit", marker1, function ( hitPlayer ) if hitPlayer == localPlayer then guiSetVisible ( shop_1, true ) showCursor ( true ) end end,false ) Link to comment
αвυ-wαleed Posted December 1, 2013 Author Share Posted December 1, 2013 هذا من اللوحة guiCreateStaticImage(352,27,309,261,"sss.png",false,shop_1 Link to comment
TAPL Posted December 1, 2013 Share Posted December 1, 2013 هذا صورة في اللوحة بس كود اللوحة نفسه وين؟ حط الكود كامل Link to comment
αвυ-wαleed Posted December 1, 2013 Author Share Posted December 1, 2013 GUIEditor_Label = {} GUIEditor_Image = {} shop_1 = guiCreateWindow(282,146,676,438,"المطعم",false) guiSetAlpha(shop_1,0.95999997854233) GUIEditor_Image[1] = guiCreateStaticImage(352,27,309,261,"sss.png",false,shop_1) guiSetAlpha(GUIEditor_Image[1],1) GUIEditor_Label[1] = guiCreateLabel(92,108,178,30,"aa ",false,shop_1) guiLabelSetColor(GUIEditor_Label[1],252,252,0) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Label[2] = guiCreateLabel(188,163,341,66,"#bb",false,shop_1) guiLabelSetColor(GUIEditor_Label[2],252,255,252) guiSetFont(GUIEditor_Label[2],"default-bold-small") GUIEditor_Label[3] = guiCreateLabel(178,195,245,44,"#aa",false,shop_1) guiLabelSetColor(GUIEditor_Label[3],0,255,252) guiSetFont(GUIEditor_Label[3],"default-bold-small") GUIEditor_Label[4] = guiCreateLabel(32,270,336,24,"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -",false,shop_1) GUIEditor_Label[5] = guiCreateLabel(34,139,336,24,"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -",false,shop_1) GUIEditor_Label[6] = guiCreateLabel(35,81,336,24,"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -",false,shop_1) GUIEditor_Label[7] = guiCreateLabel(26,254,204,35,"by abu-waleed",false,shop_1) guiLabelSetColor(GUIEditor_Label[7],0,0,255) guiSetFont(GUIEditor_Label[7],"clear-normal") h = guiCreateButton(92,332,225,76,"aa",false,shop_1) guiSetFont(h,"default-bold-small") a = guiCreateButton(382,332,225,76,"bb",false,shop_1) guiSetFont(a,"default-bold-small") X = guiCreateButton(9,25,26,29,"X",false,shop_1) guiSetFont(X,"default-bold-small") Link to comment
TAPL Posted December 1, 2013 Share Posted December 1, 2013 الكود شغال بس الظاهر انت مو حاطه بالترتيب الصحيح GUIEditor_Label = {} GUIEditor_Image = {} shop_1 = guiCreateWindow(282,146,676,438,"المطعم",false) guiSetAlpha(shop_1,0.95999997854233) GUIEditor_Image[1] = guiCreateStaticImage(352,27,309,261,"sss.png",false,shop_1) guiSetAlpha(GUIEditor_Image[1],1) GUIEditor_Label[1] = guiCreateLabel(92,108,178,30,"aa ",false,shop_1) guiLabelSetColor(GUIEditor_Label[1],252,252,0) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Label[2] = guiCreateLabel(188,163,341,66,"#bb",false,shop_1) guiLabelSetColor(GUIEditor_Label[2],252,255,252) guiSetFont(GUIEditor_Label[2],"default-bold-small") GUIEditor_Label[3] = guiCreateLabel(178,195,245,44,"#aa",false,shop_1) guiLabelSetColor(GUIEditor_Label[3],0,255,252) guiSetFont(GUIEditor_Label[3],"default-bold-small") GUIEditor_Label[4] = guiCreateLabel(32,270,336,24,"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -",false,shop_1) GUIEditor_Label[5] = guiCreateLabel(34,139,336,24,"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -",false,shop_1) GUIEditor_Label[6] = guiCreateLabel(35,81,336,24,"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -",false,shop_1) GUIEditor_Label[7] = guiCreateLabel(26,254,204,35,"by abu-waleed",false,shop_1) guiLabelSetColor(GUIEditor_Label[7],0,0,255) guiSetFont(GUIEditor_Label[7],"clear-normal") h = guiCreateButton(92,332,225,76,"aa",false,shop_1) guiSetFont(h,"default-bold-small") a = guiCreateButton(382,332,225,76,"bb",false,shop_1) guiSetFont(a,"default-bold-small") X = guiCreateButton(9,25,26,29,"X",false,shop_1) guiSetFont(X,"default-bold-small") guiSetVisible(shop_1, false) local marker1 = createMarker(1454.4311523438,-2218.5419921875,13.546875,'cylinder',2, 0,255, 0, 255) addEventHandler("onClientMarkerHit", marker1, function(hitPlayer) if hitPlayer == localPlayer then guiSetVisible(shop_1, true) showCursor(true) end end) Link to comment
αвυ-wαleed Posted December 1, 2013 Author Share Posted December 1, 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