Mbtdaa
Members-
Posts
262 -
Joined
-
Last visited
Everything posted by Mbtdaa
-
يعطيك العافية شرح كافي ووافي وياليت تسوي شرح لتريقر من كلينت لسيرفر
-
كلينت function Map() local Map = getMapName() triggerServerEvent('MapName', localPlayer) end addEventHandler("onClientRender", Map) سيرفر addEvent('MapName', true) addEventHandler('MapName', localPlayer, function Map() guiSetText(GUIEditor_Label[13]," "..getMapName()) if Map and Map ~= "None" then end
-
مممم التريقر مشكلة على العموم بحاول واشوف وش يسير معي ويعطيكم العافية على التوضيح
-
اما مخبص ياليل *_* انا الي ابيه انه اخلي اللبل يظهر اسم الماب
-
السلام عليكم كيفكم يازقرت ! ان شاءالله طيبون حبيت اعرف وش الغلط الي اركتبته بكتابة الكود function Map () local Map = getMapName() guiSetText(GUIEditor_Label[13]," "..getMapName()) if Map and Map ~= "None" then end end addEventHandler("onClientRender", Map) ملاحظة : عدلت اخطاء واجهتني ببرنامج ام تي اي
-
|| Spawn Grid list || مـود الأنـتـقـآلأت قـريـد لـيـسـت ||
Mbtdaa replied to |~| ALCKASER |~|'s topic in المساهمات
طيب ياخوان ترا في فرق بينا وبين الاجانب الاجانب لغتهم انجليزية حنا عرب وقليل الي عندهم لغة انجليزية , -
يالبى قلبك سلمة يمناك
-
عندي استفسار اخر لاهنت يالغلا (localPlayer) وش تسوي ووش معناها
-
هذآ السورس هو حدث لـ لاعب و ممكن يكون اوبجيكت او ماركر او سيارة اها طيب وضحت لي المعلومة يعطيكم العافية ياخوان *_*
-
شغل تماام يعطيكم العافية شباب على ردودكم ويعطيك العافية كنق حبيبي على التصحيح بس حبيت اسالكم سؤال اخير لو ماعليكم امر ( source ) وش وضيفتها بظبط ؟
-
جاري تجربة كنق + انا عارف وضيفة الكود ياحبايب
-
ياخوان بغيت اسالكم .root. وش معناها ؟؟ووش تسوي
-
السلام عليكم اخواني انا متابع لمواضيع الشروحات بالقسم والوايكي باستمرار وحسيت اني بديت افهم شويات وحبيت اسوي لي كود واشوفكم وش تقولو هل هو صحيح وخالي من المشااكل ولا طبعا الكود حق تسجيل دخول قروب معين addEventHandler("onPlayerLogin") function (admin) if isObjectInACLGroup("user."..getAccountName(admin), aclGetGroup("Admin")) then outputChatBox (..getPlayerName(admin)"Admin login.!"255,255,255 end end)
-
السلام عليكم يعطيك العافية اخوي على الموضوع افدت كثير من المبتدئين بس عندي كم شغلة " ابيك تشرحها لي لو ماعليك امر ,root, وش معناها ووش تسوي وايضا (source)
-
لوول صدق تكرهو ام الواحد بانه يطلب مساعده خلاص عرفت غلطي وشكرا
-
اكواد الانفو انت معطيني ياها ياتابل كيف تقول وش دخل ذي والازرار والاديت امسح الاكواد معدا اكواد النافذة وتشوووف اذا فيه ولا لا
-
الفضيحة الكبرى طيب دقيقه صلو على النبي وشوفو معي اكواد الانفو انت معطيني اياها ياتابل معدا الاي بي وهااذا ردك . وبعدين ياضاوي ياحليوة وش الي فضيحة كبرة بنات حنا؟ ارفع علومك يابطل
-
السلام عليكم شوفو لي وش الخطء اللله لايهينكم سيرفر addEvent("ip",true) function ip(thePlayer) local IP = getPlayerIP(thePlayer) triggerClientEvent(source,"ip", source,IP) end addEventHandler("ip",root,ip) players = createTeam ( "Players", 255, 255, 255 ) addEventHandler("onPlayerJoin",root, function () setPlayerTeam ( source, players ) end) setTimer(function() setTeamFriendlyFire ( players , false ) end,50,1) addEvent("onLogin",true) addEventHandler("onLogin",root, function (user,pass) local acc = getAccount(user,pass) if ( acc ) then logIn(source,acc,pass) else outputChatBox("* Worng Username Or Password",source,255,0,0) end end ) addEvent("onRegister",true) addEventHandler("onRegister",root, function (user,pass) local acc = getAccount(user,pass) if ( acc ) then outputChatBox("* This Account is Already Exist",source,255,0,0) else addAccount(user,pass) outputChatBox("* You,re User : " .. user,source,255,255,255) outputChatBox("* You,re Pass : " .. pass,source,255,255,255) end end ) كلينت GUIEditor = { tab = {}, button = {}, edit = {}, window = {}, label = {}, tabpanel = {}, } button = {} GUIEditor.window[1] = guiCreateWindow(381, 228, 497, 404, "INfo Panel By iMr.Leon v.1", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF1169ED") GUIEditor.tabpanel[2] = guiCreateTabPanel(9, 25, 479, 370, false, GUIEditor.window[1]) GUIEditor.tab[2] = guiCreateTab("INfo", GUIEditor.tabpanel[2]) GUIEditor.label[1] = guiCreateLabel(10, 43, 71, 18, "Your Name : ", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 36, 66, 217) GUIEditor.label[2] = guiCreateLabel(0, 24, 478, 15, "---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 36, 66, 217) GUIEditor.label[3] = guiCreateLabel(10, 82, 71, 18, "Your Money : ", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 36, 66, 217) GUIEditor.label[4] = guiCreateLabel(10, 125, 63, 17, "Your Skin : ", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetColor(GUIEditor.label[4], 36, 66, 217) GUIEditor.label[5] = guiCreateLabel(10, 162, 70, 15, "Your Team : ", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 36, 66, 217) GUIEditor.label[6] = guiCreateLabel(10, 200, 61, 15, "Your Ping : ", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 36, 66, 217) GUIEditor.label[7] = guiCreateLabel(10, 240, 48, 15, "Your iP : ", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[7], "default-bold-small") guiLabelSetColor(GUIEditor.label[7], 36, 66, 217) GUIEditor.label[8] = guiCreateLabel(10, 278, 70, 15, "Your Serial :", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetColor(GUIEditor.label[8], 36, 66, 217) GUIEditor.label[9] = guiCreateLabel(0, 321, 478, 15, "---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[9], "default-bold-small") guiLabelSetColor(GUIEditor.label[9], 36, 66, 217) GUIEditor_Label[1] = guiCreateLabel(81, 43, 158, 23, "oooooooooooooooooooooo", false, GUIEditor.tab[2]) guiSetFont(GUIEditor_Label[1], "default-bold-small") guiLabelSetColor(GUIEditor_Label[1], 57, 246, 6) GUIEditor_Label[3] = guiCreateLabel(87, 82, 71, 18, "99999999", false, GUIEditor.tab[2]) guiSetFont(GUIEditor_Label[3], "default-bold-small") guiLabelSetColor(GUIEditor_Label[3], 252, 0, 0) GUIEditor_Label[4] = guiCreateLabel(70, 125, 52, 21, "40000", false, GUIEditor.tab[2]) guiSetFont(GUIEditor_Label[4], "default-bold-small") guiLabelSetColor(GUIEditor_Label[4], 216, 228, 23) GUIEditor_Label[5] = guiCreateLabel(81, 162, 380, 26, "sPsesjwrhnesfzlex", false, GUIEditor.tab[2]) guiSetFont(GUIEditor_Label[5], "default-bold-small") guiLabelSetColor(GUIEditor_Label[5], 14, 236, 207) GUIEditor_Label[6] = guiCreateLabel(73, 199, 57, 19, "19999", false, GUIEditor.tab[2]) guiSetFont(GUIEditor_Label[6], "default-bold-small") guiLabelSetColor(GUIEditor_Label[6], 200, 52, 28) GUIEditor_Label[7] = guiCreateLabel(61, 240, 143, 15, "192.168.1.18324", false, GUIEditor.tab[2]) guiSetFont(GUIEditor_Label[7], "default-bold-small") GUIEditor_Label[8] = guiCreateLabel(80, 276, 383, 27, "sr3si4rbhi3lbshli3tbihs5t3db54hbftdifb4fmse", false, GUIEditor.tab[2]) guiSetFont(GUIEditor_Label[8], "default-bold-small") guiLabelSetColor(GUIEditor_Label[8], 178, 127, 85) GUIEditor.label[18] = guiCreateLabel(143, 6, 153, 18, "WolCome To Server ^_^", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[18], "default-bold-small") guiLabelSetColor(GUIEditor.label[18], 235, 138, 13) GUIEditor.tab[3] = guiCreateTab("Login/Register", GUIEditor.tabpanel[2]) GUIEditor.edit[1] = guiCreateEdit(100, 69, 290, 39, "", false, GUIEditor.tab[3]) GUIEditor.edit[2] = guiCreateEdit(100, 187, 290, 39, "", false, GUIEditor.tab[3]) button.Login = guiCreateButton(100, 262, 113, 64, "Login", false, GUIEditor.tab[3]) guiSetFont(button.Login, "default-bold-small") guiSetProperty(button.Login, "NormalTextColour", "FF2442D9") GUIEditor.label[19] = guiCreateLabel(169, 10, 161, 55, "Name ", false, GUIEditor.tab[3]) guiSetFont(GUIEditor.label[19], "sa-gothic") guiLabelSetColor(GUIEditor.label[19], 103, 86, 62) GUIEditor.label[20] = guiCreateLabel(169, 118, 163, 66, "Pass", false, GUIEditor.tab[3]) guiSetFont(GUIEditor.label[20], "sa-gothic") guiLabelSetColor(GUIEditor.label[20], 162, 7, 213) button.register[5] = guiCreateButton(260, 260, 112, 69, "Register", false, GUIEditor.tab[3]) guiSetFont(GUIEditor.button[5], "default-bold-small") function refreshStats() if guiGetVisible(GUIEditor_Image[1]) then guiSetText(GUIEditor_Label[6],getPlayerPing(localPlayer)) guiSetText(GUIEditor_Label[3],"$"..getPlayerMoney()) guiSetText(GUIEditor_Label[1],getPlayerName(localPlayer)) guiSetText(GUIEditor_Label[8],getPlayerSerial()) guiSetText(GUIEditor_Label[4],getElementModel(localPlayer)) end end addEventHandler("onClientRender", root, refreshStats) theTeam = getPlayerTeam( localPlayer ) if theTeam then teamName = getTeamName(theTeam) else teamName = "N/A" end ) guiLabelSetColor (GUIEditor_Label[5],0,255,0,220) guiSetFont(GUIEditor_Label[5],"default-bold-small") guiLabelSetColor (ip1,255,255,0,220) guiSetFont(GUIEditor_Label[8],"default-bold-small") triggerServerEvent("getIP", getLocalPlayer())triggerServerEvent("ip",localPlayer) addEvent("ip",true) addEventHandler("ip",root, function(ip) guiSetText(GUIEditor_Label[8],tostring(ip)) end ) bindKey ( "F6" , "down" , function () if guiGetVisible ( GUIEditor.window[1] , true ) then guiSetVisible ( GUIEditor.window[1] , false ) showCursor ( false ) outputChatBox ( "By iMr.Leon" , 255 , 0 , 0 , true ) else guiSetVisible ( GUIEditor.window[1] , true ) showCursor ( true ) outputChatBox ( "By iMr.Leon" , 0 , 255 , 0 , true ) end end ) addEventHandler("onClientGUIClick",root, function () local user = guiGetText(GUIEditor.edit[1]) local pass = guiGetText(GUIEditor.edit[2]) if ( source == button.login ) then if string.len(user) > 0 and string.len(pass) > 0 then triggerServerEvent("onLogin",localPlayer,user,pass) showCursor(false) guiSetVisible ( GUIEditor.staticimage[1], false ) end elseif ( source == button.register ) then if string.len(user) > 0 and string.len(pass) > 0 then triggerServerEvent("onRegister",localPlayer,user,pass) showCursor(false) guiSetVisible ( GUIEditor.staticimage[1], false ) end end end )
