ABO-SR777777A Posted October 27, 2012 Share Posted October 27, 2012 السلام عليكم كتبت الموضوع لاان الكثثير ماييبي يدخل معليش اعتذاري لكم ازعتجكم لكن خلاظ من اليوم ما مابي اسوي شي طلبي انا سويت مربع المربع هذا حلو بس المربع ذا حق البينق انا ابي اسوي بنق محدد ويديه كيك مثلا اكتب في الفراغ 350 واسوف SAVE لما اسوي سايف اي واحد بنقه 250 كيك على وجهه Link to comment
iPrestege Posted October 27, 2012 Share Posted October 27, 2012 فية سكربت جاهزز ليةة تروح وتسوي مشوار طويل ذذ Link to comment
ABO-SR777777A Posted October 27, 2012 Author Share Posted October 27, 2012 طيب رابط التحميل لا هنت Link to comment
iPrestege Posted October 27, 2012 Share Posted October 27, 2012 http://www.mediafire.com/?4almyd3s6db736i local maxPing = 1000 maxPing = اعلى بنق او الحد الاعلى للبنق Link to comment
ABO-SR777777A Posted October 27, 2012 Author Share Posted October 27, 2012 اوكي باجرب بس انا عندي مربع هو GUIEditor_Edit ابي اكتب رقم فيه واحفض ويديه كيك Link to comment
GAME_OVER!! Posted October 27, 2012 Share Posted October 27, 2012 (edited) جرب ذا سيرفر addEvent( "Max", true ) addEventHandler( "Max", getRootElement(), function(v) local ping = getPlayerPing(source) if (ping > v) then kickPlayer(source,source,"You got big ping") end end ) كلينت GUIEditor_Window[1] = guiCreateWindow(374,312,258,258,"Max Ping",false) guiSetVisible (GUIEditor_Window[1],false) G = guiCreateEdit(10,35,129,31,"",false,GUIEditor_Window[1]) B = guiCreateButton(20,60,67,25,"Save",false,GUIEditor_Window[1]) addEventHandler ( "onClientGUIClick", guiRoot, function ( button, state, absoluteX, absoluteY ) if ( source == B ) then local v = guiGetText ( G ) if ( v ~= "" ) then triggerServerEvent ( "Max", localPlayer, v ) end end end ) Edited October 27, 2012 by Guest Link to comment
iPrestege Posted October 27, 2012 Share Posted October 27, 2012 اوكي باجرببس انا عندي مربع هو GUIEditor_Edit ابي اكتب رقم فيه واحفض ويديه كيك + وش الفايدة كذا ذذ انت تبيها للبنق العالي لو بنقة عالي رح صكة من الادمنية كان الموضوع تبية كذا Link to comment
GAME_OVER!! Posted October 27, 2012 Share Posted October 27, 2012 خليه يجرب الي عطيته ويردلي خبر Link to comment
ABO-SR777777A Posted October 27, 2012 Author Share Posted October 27, 2012 [lua] ------- [lua]GUIEditor_Window[1] = guiCreateWindow(16,75,30,19,"Ping",false) guiSetVisible (GUIEditor_Window[1],false) G = guiCreateEdit(52,72,41,28,"",false,GUIEditor_Window[1]) B = guiCreateButton(403,278,46,26,"save",false,GUIEditor_Window[1]) addEventHandler ( "onClientGUIClick", guiRoot, function ( button, state, absoluteX, absoluteY ) if ( source == B ) then local v = guiGetText ( G ) if ( v ~= "" ) then triggerServerEvent ( "Max", localPlayer, v ) end end end )[lua] كذا صح انا ابي لو دق حفض يطلع كلام بالشات Link to comment
ABO-SR777777A Posted October 27, 2012 Author Share Posted October 27, 2012 نافذتي GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Grid = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(112,79,608,417,"/ F1 Admin server P admin /",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(9,21,590,387,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) GUIEditor_Label[1] = guiCreateLabel(16,75,30,19,"ping",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Edit[1] = guiCreateEdit(52,72,41,28,"",false,GUIEditor_Tab[1]) GUIEditor_Label[2] = guiCreateLabel(19,122,37,20,"fps",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[2],"default-bold-small") GUIEditor_Edit[2] = guiCreateEdit(52,115,41,28,"",false,GUIEditor_Tab[1]) GUIEditor_Edit[3] = guiCreateEdit(12,11,188,25,"Team 1",false,GUIEditor_Tab[1]) GUIEditor_Edit[4] = guiCreateEdit(201,11,188,25,"Team 2 ",false,GUIEditor_Tab[1]) GUIEditor_Button[1] = guiCreateButton(403,278,46,26,"save",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Button[1],"default-bold-small") GUIEditor_Button[2] = guiCreateButton(460,278,108,28,"Remove",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Button[2],"default-bold-small") GUIEditor_Button[3] = guiCreateButton(398,310,169,23,"War",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Button[3],"default-bold-small") GUIEditor_Grid[1] = guiCreateGridList(390,7,194,266,false,GUIEditor_Tab[1]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) guiGridListAddColumn(GUIEditor_Grid[1],"Player ",0.2) for i = 1, 15 do guiGridListAddRow(GUIEditor_Grid[1]) end guiGridListSetItemText(GUIEditor_Grid[1],0,1,"dd") GUIEditor_Button[4] = guiCreateButton(26,193,182,27,"End map",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Button[4],"default-bold-small") GUIEditor_Memo[1] = guiCreateMemo(13,248,243,126,"By: ABO.SR777777A\nEmil : [email protected]\nserver : \nping 350\nfps 10 \n\nyou kick\n\nAdmin P Panel v1.3.1\n\n\nEnd mode",false,GUIEditor_Tab[1]) GUIEditor_Label[3] = guiCreateLabel(173,62,48,19,"name:",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[3],"default-bold-small") GUIEditor_Label[4] = guiCreateLabel(175,94,48,19,"Ping:",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[4],"default-bold-small") GUIEditor_Label[5] = guiCreateLabel(175,123,48,19,"Srial",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[5],"default-bold-small") GUIEditor_Label[6] = guiCreateLabel(176,152,48,19,"Money",false,GUIEditor_Tab[1]) guiSetFont(GUIEditor_Label[6],"default-bold-small") GUIEditor_Image[1] = guiCreateStaticImage(267,250,130,121,"images/mtalogo.png",false,GUIEditor_Tab[1]) ------------------------------------ bindKey ( "F1" , "down" , function() if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then guiSetVisible ( GUIEditor_Window[1] ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then guiSetVisible ( GUIEditor_Window[1] ,true ) showCursor (false ) guiSetInputEnabled(true) playSound("sound/open.wav") end end ) ------- GUIEditor_Window[1] = guiCreateWindow(16,75,30,19,"Ping",false) guiSetVisible (GUIEditor_Window[1],false) G = guiCreateEdit(52,72,41,28,"",false,GUIEditor_Window[1]) B = guiCreateButton(403,278,46,26,"save",false,GUIEditor_Window[1]) addEventHandler ( "onClientGUIClick", guiRoot, function ( button, state, absoluteX, absoluteY ) if ( source == B ) then local v = guiGetText ( G ) if ( v ~= "" ) then triggerServerEvent ( "Max", localPlayer, v ) end end end ) سيرفر addEvent( "Max", true ) addEventHandler( "Max", getRootElement(), function(v) local ping = getPlayerPing(getLocalPlayer()) if (ping > v) then kickPlayer(source,source,"You got big ping") end end ) ؟؟؟؟؟؟ كيف Link to comment
GAME_OVER!! Posted October 27, 2012 Share Posted October 27, 2012 يشيخ انت ناوي تعقدني خليها بنافذه عاديه مو بلأدمنيه !!!!!!!!!!!! Link to comment
ABO-SR777777A Posted October 27, 2012 Author Share Posted October 27, 2012 ياخي ماهي ادمنيه ذي وش بك انت نافذه مسويها توني Link to comment
GAME_OVER!! Posted October 27, 2012 Share Posted October 27, 2012 ياخي ماهي ادمنيه ذيوش بك انت نافذه مسويها توني طيب انت جرب الي عطيتك خليه مود ججديد لما تشوفه شغال قولي ادمجه لك مع الي عطيتني ااما كذا عفره Link to comment
iPrestege Posted October 27, 2012 Share Posted October 27, 2012 خليه يجرب الي عطيته ويردلي خبر يخوي وش الفايدة يسوي وهو عندة بالادمنية Link to comment
3NAD Posted October 27, 2012 Share Posted October 27, 2012 جرب ذاسيرفر addEvent( "Max", true ) addEventHandler( "Max", getRootElement(), function(v) local ping = getPlayerPing(getLocalPlayer()) if (ping > v) then kickPlayer(source,source,"You got big ping") end end ) كلينت GUIEditor_Window[1] = guiCreateWindow(374,312,258,258,"Max Ping",false) guiSetVisible (GUIEditor_Window[1],false) G = guiCreateEdit(10,35,129,31,"",false,GUIEditor_Window[1]) B = guiCreateButton(20,60,67,25,"Save",false,GUIEditor_Window[1]) addEventHandler ( "onClientGUIClick", guiRoot, function ( button, state, absoluteX, absoluteY ) if ( source == B ) then local v = guiGetText ( G ) if ( v ~= "" ) then triggerServerEvent ( "Max", localPlayer, v ) end end end ) getPlayerPing(getLocalPlayer()) At Server Side ????? Link to comment
GAME_OVER!! Posted October 27, 2012 Share Posted October 27, 2012 getPlayerPing(getLocalPlayer()) At Server Side ????? Attempt was wrong fix getPlayerPing(source) Link to comment
GAME_OVER!! Posted October 27, 2012 Share Posted October 27, 2012 ------- GUIEditor_Window[1] = guiCreateWindow(16,75,30,19,"Ping",false) guiSetVisible (GUIEditor_Window[1],false) G = guiCreateEdit(52,72,41,28,"",false,GUIEditor_Window[1]) B = guiCreateButton(403,278,46,26,"save",false,GUIEditor_Window[1]) addEventHandler ( "onClientGUIClick", guiRoot, function ( button, state, absoluteX, absoluteY ) if ( source == B ) then local v = guiGetText ( G ) if ( v ~= "" ) then triggerServerEvent ( "Max", localPlayer, v ) end end end ) كذا صح انا ابي لو دق حفض يطلع كلام بالشات حط كود اضهار الكلام في الشات تحت if ( source == B ) then وبعدين الكود لحسن مو لي Link to comment
hassan.k.s.a Posted October 27, 2012 Share Posted October 27, 2012 GUIEditor_Window[1] = guiCreateWindow(16,75,30,19,"Ping",false) guiSetVisible (GUIEditor_Window[1],false) G = guiCreateEdit(52,72,41,28,"",false,GUIEditor_Window[1]) B = guiCreateButton(403,278,46,26,"save",false,GUIEditor_Window[1]) addEventHandler ( "onClientGUIClick", guiRoot, function () if ( source == B ) then outputChatBox ( "الكلام", getRootElement(), 255, 0, 0, true ) local v = guiGetText ( G ) if ( v ~= "" ) then triggerServerEvent ( "Max", localPlayer, v ) end end end ) Link to comment
abu5lf Posted October 27, 2012 Share Posted October 27, 2012 السلام عليكمكتبت الموضوع لاان الكثثير ماييبي يدخل معليش اعتذاري لكم ازعتجكم لكن خلاظ من اليوم ما مابي اسوي شي طلبي انا سويت مربع المربع هذا حلو بس المربع ذا حق البينق انا ابي اسوي بنق محدد ويديه كيك مثلا اكتب في الفراغ 350 واسوف SAVE لما اسوي سايف اي واحد بنقه 250 كيك على وجهه انصحك بأستخدام getElementData setElementData Link to comment
==>ҭᾄlᾄl Posted October 28, 2012 Share Posted October 28, 2012 GUIEditor_Window[1] = guiCreateWindow(16,75,30,19,"Ping",false) guiSetVisible (GUIEditor_Window[1],false) G = guiCreateEdit(52,72,41,28,"",false,GUIEditor_Window[1]) B = guiCreateButton(403,278,46,26,"save",false,GUIEditor_Window[1]) addEventHandler ( "onClientGUIClick", guiRoot, function () if ( source == B ) then outputChatBox ( "الكلام", getRootElement(), 255, 0, 0, true ) local v = guiGetText ( G ) if ( v ~= "" ) then triggerServerEvent ( "Max", localPlayer, v ) end end end ) guiRoot؟؟؟؟؟؟؟ Link to comment
TAPL Posted October 28, 2012 Share Posted October 28, 2012 GUIEditor_Window[1] = guiCreateWindow(16,75,30,19,"Ping",false) guiSetVisible (GUIEditor_Window[1],false) G = guiCreateEdit(52,72,41,28,"",false,GUIEditor_Window[1]) B = guiCreateButton(403,278,46,26,"save",false,GUIEditor_Window[1]) addEventHandler ( "onClientGUIClick", guiRoot, function () if ( source == B ) then outputChatBox ( "الكلام", getRootElement(), 255, 0, 0, true ) local v = guiGetText ( G ) if ( v ~= "" ) then triggerServerEvent ( "Max", localPlayer, v ) end end end ) guiRoot؟؟؟؟؟؟؟ https://wiki.multitheftauto.com/wiki/Predefined_variables_list 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