-
Posts
898 -
Joined
-
Last visited
Everything posted by S4MuEL
-
السلآمم عليكمم , شبآب ممكن تصحيح لذآ الكود , آو بالاصصح وين الخطأ في الكود ؟ آنآ شآكك في guiSetVisible = ) GUIEditor = { button = {}, label = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(272, 117, 249, 370, "== ~ | Information Player | ~ ==", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.button[1] = guiCreateButton(35, 32, 180, 38, "Copy My Serial !", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF11ED21") GUIEditor.button[2] = guiCreateButton(35, 81, 180, 38, "Show My Money In Chat !", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFDBF409") GUIEditor.button[3] = guiCreateButton(35, 131, 180, 38, "Show My Name In Chat !", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF0582F7") playerping = GUIEditor.label[1] = guiCreateLabel(13, 186, 236, 19, "My Ping Is ! :", false, GUIEditor.window[1]) function changeLabelColor ( ) guiLabelSetColor ( GUIEditor.label[1], math.random(0, 255), math.random(0, 255), math.random(0, 255) ) end setTimer ( changeLabelColor, 50, 0 ) Skin = GUIEditor.label[2] = guiCreateLabel(13, 216, 236, 19, "MyID Skin is ! :", false, GUIEditor.window[1]) function changeLabelColor ( ) guiLabelSetColor ( GUIEditor.label[2], math.random(0, 255), math.random(0, 255), math.random(0, 255) ) end setTimer ( changeLabelColor, 50, 0 ) id = GUIEditor.label[3] = guiCreateLabel(13, 245, 236, 19, "My ID is ! :", false, GUIEditor.window[1]) function changeLabelColor ( ) guiLabelSetColor ( GUIEditor.label[3], math.random(0, 255), math.random(0, 255), math.random(0, 255) ) end setTimer ( changeLabelColor, 50, 0 ) playerw = GUIEditor.label[4] = guiCreateLabel(13, 273, 236, 19, "MyIDWeapon is ! :", false, GUIEditor.window[1]) function changeLabelColor ( ) guiLabelSetColor ( GUIEditor.label[4], math.random(0, 255), math.random(0, 255), math.random(0, 255) ) end setTimer ( changeLabelColor, 50, 0 ) health = GUIEditor.label[5] = guiCreateLabel(13, 300, 236, 19, "My Health ! :", false, GUIEditor.window[1]) function changeLabelColor ( ) guiLabelSetColor ( GUIEditor.label[5], math.random(0, 255), math.random(0, 255), math.random(0, 255) ) end setTimer ( changeLabelColor, 50, 0 ) armor = GUIEditor.label[6] = guiCreateLabel(13, 326, 236, 19, "My Armor ! :", false, GUIEditor.window[1]) function changeLabelColor ( ) guiLabelSetColor ( GUIEditor.label[6], math.random(0, 255), math.random(0, 255), math.random(0, 255) ) end setTimer ( changeLabelColor, 50, 0 ) GUIEditor.label[7] = guiCreateLabel(148, 346, 95, 17, "By : Mr.Ray[b]ak", false, GUIEditor.window[1]) function changeLabelColor ( ) guiLabelSetColor ( GUIEditor.label[7], math.random(0, 255), math.random(0, 255), math.random(0, 255) ) end setTimer ( changeLabelColor, 50, 0 ) GUIEditor.button[4] = guiCreateButton(225, 22, 15, 26, "X", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") ---------------------------------------------------------------------- function Close() guiSetVisible(GUIEditor.window[1], false) showCursor( false ) end function open() guiSetVisible(GUIEditor.window[1], true) showCursor( true ) end bindKey("F3","down", function() if (guiGetVisible(GUIEditor.window[1]) == false) then open() else Close() end end) addEventHandler("onClientGUIClick", root, function( state, absoluteX, absolutey ) if (source == GUIEditor.button[4]) then Close() end end ) ------------------------------------------------------------------ addEventHandler("onClientRender", getRootElement(), refreshStats) guiSetText ( playerWeapon, getPedWeapon(localPlayer)) function refreshStats() if guiGetVisible(GUIEditor.window[1],true) then else guiSetText(playerWeapon,"MyIDWeapon is ! :"..getPedWeapon(getLocalPlayer())) end end ------------------------------------------------------------------------ addEventHandler("onClientRender", getRootElement(), refreshStats) guiSetText ( id, getElementRadius(localPlayer)) function refreshStats() if guiGetVisible(GUIEditor.window[1],true) then else guiSetText(id,"My ID is ! :"..getElementRadius(getLocalPlayer())) end end ---------------------------------------------------------------------- addEventHandler("onClientRender", getRootElement(), refreshStats) function refreshStats() if guiGetVisible(GUIEditor.window[1],true) then else guiSetText(playerPing,"My Ping Is ! :"..getPlayerPing(getLocalPlayer())) end end ------------------------------------------------------------------------ addEventHandler("onClientRender", getRootElement(), refreshStats) guiSetText ( Skin, getPedSkin(localPlayer)) function refreshStats() if guiGetVisible(GUIEditor.window[1],true) then else guiSetText(Skin,"MyID Skin is ! :"..getPedSkin(getLocalPlayer())) end end -------------------------------------------------------------------------- addEventHandler("onClientRender", getRootElement(), refreshStats) guiSetText ( health, getElementHealth(localPlayer)) function refreshStats() if guiGetVisible(GUIEditor.window[1],true) then else guiSetText(health,"My Health ! :"..getElementHealth(getLocalPlayer())) end end ---------------------------------------------------------------------------- addEventHandler("onClientRender", getRootElement(), refreshStats) guiSetText ( armor, getPedArmor(localPlayer)) function refreshStats() if guiGetVisible(GUIEditor.window[1],true) then else guiSetText(playerArmor,"My Armor ! :"..getPedArmor(getLocalPlayer())) end end ---------------------------------------------------------------------------- addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[2] then if spam then outputChatBox("You have to wait 30 sec To Use This Command",255,0,0) return end triggerServerEvent ("showMoney", localPlayer) spam = true setTimer(function() spam = false end,30000,1) end ) ---------------------------------------------------------------------------- function onGuiClick (button, state, absoluteX, absoluteY) if source == GUIEditor.button[1] then setClipboard ( "" .. getPlayerSerial(source) .. "" ) end end addEventHandler ("onClientGUIClick", getRootElement(), onGuiClick)
-
* correcte -_-"
-
@برستيج شكلهه يقصصد string.find مآ إدري الزبدةة , بعطيهه كود بلآوي !! asma3 a sa7bi chouf hedha jarbou ! PlayerListSearch = edit---اسم المكان الي يكتب في الاسم_VERSION PlayerList = list ---اسم اللسته function aClientGUIChanged () if ( source == PlayerListSearch ) then guiGridListClear ( PlayerList ) local text = guiGetText ( source ) if ( text == "" ) then for id, player in ipairs ( getElementsByType ( "player" ) ) do guiGridListSetItemPlayerName ( PlayerList, guiGridListAddRow ( PlayerList ), 1, getPlayerName ( player ), false, false ) end else for id, player in ipairs ( getElementsByType ( "player" ) ) do if ( string.find ( string.upper ( getPlayerName ( player ) ), string.upper ( text ), 1, true ) ) then guiGridListSetItemPlayerName ( PlayerList, guiGridListAddRow ( PlayerList ), 1, getPlayerName ( player ), false, false ) end end end end addEventHandler ( "onClientGUIChanged", root, aClientGUIChanged )
-
3NAD + Pres[T]ege + Talal لآهنتمم ع المسآعدةة + شآدو بالظبط
-
عنآد تقدر تشرح لي حبةة حبةة الكود ذآك ؟
-
بالله ؟ لآلآ مآ ينفع الكود ذآ وشش ؟ , حق وش ؟= ) function putAllPlayersInList() guiGridListClear(grid) for i,v in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(grid) guiGridListSetItemText(grid,row,1,getPlayerName(v),false,false) guiGridListSetItemColor(grid,row,1,0,255,0) end end
-
تششوف مثلآ , يعني مثلآ إنت دخلت اللعبةة ورححت تبحث ع السيرفر وكتبت إختصآرهه وطلعع لك , # أنا أبي نفسس الشي بس ع الاعب مثلآ لو كتبت بلوحةة الشرطي اسم الاعب في الخانةة الفارغةة يطلع لك !! مثآل ! يمكن السآلفةة فيهآ gridlist مآ إدري يطلع لك اسسم الاعبين وانت تكتب بالخآنةة تحت زي اللوحةة اللي بالصورةة ذذ
-
السلآمم عليكمم شبآب , سألت أخوي قلت لهه آي فنكششن ينفع .. أنا عندي لوحةة وتسسذآ قلت لهه وآبي لمآ آكتب في خآنةة اسم لآعب يجيني إسسمهه ع اليمين مثلآ فقآل لي starting.find فهل هذآ الفنكششن صحيح ؟ وممكن مثآل عليهه ؟
-
ثثآنكسس برستيج , $ يعطيك العآفيةة ظبط معي
-
addEventHandler ( "onClientGUIClick", root, function( state, absoluteX, absolutey ) if (source == GUIEditor.button[1]) then triggerServerEvent ( "giveWeapons1", localPlayer ) elseif (source == GUIEditor.button[2]) then triggerServerEvent ( "giveWeapons2", localPlayer ) elseif (source == GUIEditor.button[3]) then triggerServerEvent ( "giveWeapons3", localPlayer ) end ) server side ------------ addEvent("giveWeapons1", true) addEventHandler("giveWeapons1", root, function() outputChatBox("#00ff00You have received pack of weapons 1 !!", source, 0, 255, 0, true) giveWeapon(source, 24, 150) giveWeapon(source, 31, 150) giveWeapon(source, 34, 150) end) addEvent("giveWeapons2", true) addEventHandler("giveWeapons2", root, function() outputChatBox("#ff0000You have received pack of weapons 2 !!", source, 0, 255, 0, true) giveWeapon(source, 30, 150) giveWeapon(source, 22, 150) giveWeapon(source, 27, 150) end) addEvent("giveWeapons3", true) addEventHandler("giveWeapons3", root, function() outputChatBox("#ffff00You have received pack of weapons 3 !!", source, 0, 255, 0, true) giveWeapon(source, 29, 150) giveWeapon(source, 25, 150) giveWeapon(source, 16, 5) end) هم ثلآثةة أزرآر للعلمم ذذ
-
السلآمم عليكمم ورحمةة الله وبركآتهه الزبدةة , # أنا سويت سكربت مآ شي حآلهه وكل شي بس عندي مشكلةة اللي هي لو ظغطت ع بوتون تجيني الاسلحةة ولو ظغطت بوتون ثآني عشان اخذ الاسلحةة الثآنيةة تظل معي الاسلحةة القديمةة , # رحت للويكي وجربت وتسسذآ وقروشةة ووضعت الكود في الكلنت والسيرفر وأخربط ! ومآ نفع شي .. وش الحل ؟ = \
-
جمآعةة , إدري أن سبق وطرح خوينآ " حسن " موضوع لـ تحريك النآفذةة وأنا فتحت موضوع جديد لأني مآ أعرف للإحدآثيات فوق وتحت , ! ومآ إدري وشو ! ><"
-
السلآمم ععليكمم ممكن كود تحريك النآفذةة من الفوق الى الوسط ؟ = )
-
الحين بتسآعدونآ بأي طريقةة ولآ لآ ؟
-
لآ والله .. أبو شنب عدل ع المود حقي حق الصبح ( الخلفيةة ) فمآ عجبتني أمكنةة الأزرآر .. فغيرتهآ الكود الأصلي لـ أبو شنب ! : newFont = guiCreateFont("customfont.ttf", 10) guiCreateWindow = function(l_1_0, l_1_1, l_1_2, l_1_3, l_1_4, l_1_5) local l_1_6 = guiCreateStaticImage(l_1_0, l_1_1, l_1_2, l_1_3, "games.png", l_1_5) local l_1_7 = guiCreateLabel(0, 0, 250, 100, l_1_4, false, l_1_6) guiSetFont(l_1_7, newFont) guiSetEnabled(l_1_7, false) return l_1_6 end local l_0_0, l_0_1 = guiGetScreenSize() local l_0_2 = 238 local l_0_3 = 403 local l_0_4 = l_0_0 / 2 - l_0_2 / 2 local l_0_5 = l_0_1 / 2 - l_0_3 / 2 GUIEditor = { button = {}, label = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(140, 133, 537, 344, "", false) guiSetVisible (GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1],false) guiWindowSetMovable(GUIEditor.window[1],true) GUIEditor.button[1] = guiCreateButton(12, 28, 137, 42, "Sound 1", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.button[2] = guiCreateButton(385, 28, 137, 42, "Sound 2", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(12, 113, 137, 42, "Sound 3", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFF0000") GUIEditor.button[4] = guiCreateButton(385, 113, 137, 42, "Sound 4", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFF0000") GUIEditor.button[5] = guiCreateButton(202, 75, 137, 42, "Stop | إيقآف", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF2B27D7") GUIEditor.button[6] = guiCreateButton(200, 179, 137, 42, "Close Wnd", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FF24D942") GUIEditor.label[1] = guiCreateLabel(10, 322, 143, 15, "== | Panel Sounds ! | ==", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(427, 322, 91, 15, "By : Mr.Ray[b]ak", false, GUIEditor.window[1]) GUIEditor.label[3] = guiCreateLabel(231, 322, 91, 15, "Saleh Al Yami", false, GUIEditor.window[1]) ------------------- function open() if (guiGetVisible(GUIEditor.window[1]) == false) then guiSetVisible(GUIEditor.window[1], true) showCursor(true) else guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end bindKey("F2","down",open) الكود يلي عدلتهه ! : newFont = guiCreateFont("customfont.ttf", 10) guiCreateWindow = function(l_1_0, l_1_1, l_1_2, l_1_3, l_1_4, l_1_5) local l_1_6 = guiCreateStaticImage(l_1_0, l_1_1, l_1_2, l_1_3, "games.png", l_1_5) local l_1_7 = guiCreateLabel(0, 0, 250, 100, l_1_4, false, l_1_6) guiSetFont(l_1_7, newFont) guiSetEnabled(l_1_7, false) return l_1_6 end local l_0_0, l_0_1 = guiGetScreenSize() local l_0_2 = 238 local l_0_3 = 403 local l_0_4 = l_0_0 / 2 - l_0_2 / 2 local l_0_5 = l_0_1 / 2 - l_0_3 / 2 GUIEditor = { button = {}, label = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(140, 133, 537, 344, "", false) guiSetVisible (GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1],false) guiWindowSetMovable(GUIEditor.window[1],true) GUIEditor.button[1] = guiCreateButton(30, 49, 122, 51, "Sound 1", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF0925D4") GUIEditor.button[2] = guiCreateButton(28, 150, 122, 51, "Sound 2", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0925D4") GUIEditor.button[3] = guiCreateButton(205, 49, 122, 51, "Stop | إيقآف", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFDC1D1D") GUIEditor.button[4] = guiCreateButton(204, 148, 122, 51, "Close Wnd", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF0CB440") GUIEditor.button[5] = guiCreateButton(373, 48, 122, 51, "Sound 3", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF0925D4") GUIEditor.button[6] = guiCreateButton(376, 148, 122, 51, "Sound 4", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FF0925D4") GUIEditor.label[1] = guiCreateLabel(211, 12, 230, 55, "لوحــةة الأنآشيد V.1", false, GUIEditor.staticimage[1]) GUIEditor.label[2] = guiCreateLabel(6, 316, 116, 20, "www.Gta-Arabs.com", false, GUIEditor.staticimage[1]) guiLabelSetColor(GUIEditor.label[2], 247, 0, 0) GUIEditor.label[3] = guiCreateLabel(226, 315, 73, 17, "Salah Al Yami", false, GUIEditor.staticimage[1]) GUIEditor.label[4] = guiCreateLabel(408, 314, 110, 22, "By : Mr.Ray[b]ak", false, GUIEditor.staticimage[1]) guiLabelSetColor(GUIEditor.label[4], 247, 0, 0) ------------------------------------------------------------ function open() if (guiGetVisible(GUIEditor.window[1]) == false) then guiSetVisible(GUIEditor.window[1], true) showCursor(true) else guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end bindKey("F2","down",open)
-
Where do wrong ? newFont = guiCreateFont("customfont.ttf", 10) guiCreateWindow = function(l_1_0, l_1_1, l_1_2, l_1_3, l_1_4, l_1_5) local l_1_6 = guiCreateStaticImage(l_1_0, l_1_1, l_1_2, l_1_3, "games.png", l_1_5) local l_1_7 = guiCreateLabel(0, 0, 250, 100, l_1_4, false, l_1_6) guiSetFont(l_1_7, newFont) guiSetEnabled(l_1_7, false) return l_1_6 end local l_0_0, l_0_1 = guiGetScreenSize() local l_0_2 = 238 local l_0_3 = 403 local l_0_4 = l_0_0 / 2 - l_0_2 / 2 local l_0_5 = l_0_1 / 2 - l_0_3 / 2 GUIEditor = { button = {}, label = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(140, 133, 537, 344, "", false) guiSetVisible (GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1],false) guiWindowSetMovable(GUIEditor.window[1],true) GUIEditor.button[1] = guiCreateButton(30, 49, 122, 51, "Sound 1", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF0925D4") GUIEditor.button[2] = guiCreateButton(28, 150, 122, 51, "Sound 2", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF0925D4") GUIEditor.button[3] = guiCreateButton(205, 49, 122, 51, "Stop | إيقآف", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFDC1D1D") GUIEditor.button[4] = guiCreateButton(204, 148, 122, 51, "Close Wnd", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF0CB440") GUIEditor.button[5] = guiCreateButton(373, 48, 122, 51, "Sound 3", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF0925D4") GUIEditor.button[6] = guiCreateButton(376, 148, 122, 51, "Sound 4", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FF0925D4") GUIEditor.label[1] = guiCreateLabel(211, 12, 230, 55, "لوحــةة الأنآشيد V.1", false, GUIEditor.staticimage[1]) GUIEditor.label[2] = guiCreateLabel(6, 316, 116, 20, "www.Gta-Arabs.com", false, GUIEditor.staticimage[1]) guiLabelSetColor(GUIEditor.label[2], 247, 0, 0) GUIEditor.label[3] = guiCreateLabel(226, 315, 73, 17, "Salah Al Yami", false, GUIEditor.staticimage[1]) GUIEditor.label[4] = guiCreateLabel(408, 314, 110, 22, "By : Mr.Ray[b]ak", false, GUIEditor.staticimage[1]) guiLabelSetColor(GUIEditor.label[4], 247, 0, 0) ------------------------------------------------------------ function open() if (guiGetVisible(GUIEditor.window[1]) == false) then guiSetVisible(GUIEditor.window[1], true) showCursor(true) else guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end bindKey("F2","down",open)
-
جربت الكود وشغال -_-" إرفعلي المود كآمل على رابط ، عشان أشيكلكـ عليه # عندك مسسن ؟
-
يكون أفضضل بس لآ تسويهه كلهه ! <3
-
الملف الصورة متاكد من صيغتها وماهي داخل ملف؟ يوب متأكد من كل شي !