Jump to content

Rockyz

Members
  • Posts

    1,862
  • Joined

  • Days Won

    8

Everything posted by Rockyz

  1. الراجل يقول مالتي جامس MultiGames مو هجولة وش دخل الهجولة الحين by jaberxpro on Thu Aug 27, 2015 2:43 pm
  2. هذا نفس طلبك .. viewtopic.php?t=92179
  3. هذا من النت + القسم الغلط ذة هذا فقط للبرمجة شو القسم الي اروحه طيب + كيف من الانترنت عندي انا العب في سيرفرات كتير وما يحدث شئ كيف يعني من عندي في خلل اكيد
  4. هذا من النت + القسم الغلط ذة هذا فقط للبرمجة
  5. ^؟ ^ يعني بدال دلين الاكواد خل في الميتا كذا
  6. هاي الكلينكت الاول GUIEditor = { edit = {}, button = {}, window = {}, label = {}, gridlist = {} } function cc(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/8,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false) end GUIEditor = { button = {}, edit = {}, window = {}, gridlist = {}, label = {}, } GUIEditor.window[1] = guiCreateWindow(174, 120, 502, 334, "X[ لوحة تحويل النقود ]X ", false) cc(GUIEditor.window[1]) guiSetAlpha(GUIEditor.window[1], 0.98) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.98) guiSetVisible(GUIEditor.window[1],false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF0041FF") GUIEditor.gridlist[1] = guiCreateGridList(10, 31, 224, 293, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Players ...", 0.9) GUIEditor.edit[1] = guiCreateEdit(244, 51, 223, 25, "", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(279, 26, 213, 15, "أسم الاعب الذي تريد تحويل له النقود :", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 251, 255, 0) GUIEditor.edit[2] = guiCreateEdit(244, 108, 223, 25, "", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(332, 86, 162, 15, "قيمة المبلغ اللذي تريد تحويله :", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 89, 255, 0) GUIEditor.label[3] = guiCreateLabel(244, 304, 94, 15, "[ Q.5 ]", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 0, 255, 197) GUIEditor.button[1] = guiCreateButton(442, 299, 50, 25, "X", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.label[4] = guiCreateLabel(330, 304, 112, 15, "", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetColor(GUIEditor.label[4], 162, 0, 255) GUIEditor.label[5] = guiCreateLabel(244, 181, 48, 42, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "sa-gothic") guiLabelSetColor(GUIEditor.label[5], 219, 100, 35) GUIEditor.label[6] = guiCreateLabel(444, 240, 48, 42, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[6], "sa-gothic") guiLabelSetColor(GUIEditor.label[6], 255, 0, 101) GUIEditor.label[7] = guiCreateLabel(244, 244, 48, 42, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[7], "sa-gothic") guiLabelSetColor(GUIEditor.label[7], 6, 0, 255) GUIEditor.label[8] = guiCreateLabel(444, 181, 48, 42, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[8], "sa-gothic") guiLabelSetColor(GUIEditor.label[8], 29, 255, 0) GUIEditor.label[9] = guiCreateLabel(310, 208, 112, 53, "Q.5", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[9], "sa-gothic") GUIEditor.button[2] = guiCreateButton(244, 143, 117, 28, "=[ تحويل ]=", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF1EDDDF") addEventHandler("onClientMouseEnter",root, function ( ) for k,v in ipairs(getElementsByType("gui-button",resourceRoot)) do if source == v then playSoundFrontEnd(3) end end end ) function CreateSearch ( gridlist,edit ) guiGridListClear(gridlist) local text = guiGetText(GUIEditor.edit[1]) if text == "" then for id,player in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(gridlist) guiGridListSetItemText(gridlist, row, 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 local row = guiGridListAddRow(gridlist) guiGridListSetItemText(gridlist, row, 1, getPlayerName(player), false, false) end end end end function Search() CreateSearch ( GUIEditor.gridlist[1] ) end addEventHandler ("onClientGUIChanged", GUIEditor.edit[1], Search, false) addEventHandler ( "onClientGUIClick",GUIEditor.gridlist[1], function ( ) local playerName = guiGridListGetItemText ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) == -1 ) then guiSetText(GUIEditor.edit[1],'') return end guiSetText(GUIEditor.edit[1],playerName) end,false ) bindKey ( "F7", "down",'sendMoney') addCommandHandler('sendMoney', function() local vis = not guiGetVisible(GUIEditor.window[1]) guiSetVisible(GUIEditor.window[1],vis) showCursor(vis) end ) function outputChatBox(text, r, b, g) return exports.infobox:outputMessage(text, r, b, g) end addEventHandler ( "onClientGUIClick", GUIEditor.button[2], function ( ) local Amount = guiGetText ( GUIEditor.edit[2] ) local playerName = guiGridListGetItemText ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) == -1 ) then outputChatBox("* الرجاء اختيار لاعب | Choose Player Please ..",0,255,0) return end if not tonumber ( Amount ) then outputChatBox("* يجب ادخال ارقام فقط ! | You can only use numbers for the amout!",255,0,0) return end if tonumber ( Amount ) < 0 then outputChatBox("* يجب أن يكون المبلغ المرسل أكبر من 0! | you can send amount only more than 0!",255,0,0) return end if getPlayerMoney ( localPlayer ) <= ( tonumber( Amount or 0 ) ) then outputChatBox("* ليس لديكـ المبلغ الكآفي | You don't have money",255,0,0) return end if getPlayerFromName(playerName) == localPlayer then return end playSoundFrontEnd(40) triggerServerEvent ( "SendMoney",localPlayer,Amount, playerName) guiSetEnabled(source,false) setTimer(guiSetEnabled, 5000, 1, GUIEditor.button[2],true) end,false ) addEventHandler ( "onClientGUIClick", GUIEditor.button[1], function ( ) playSoundFrontEnd(40) guiSetVisible ( GUIEditor.window[1] , false) showCursor ( false ) end,false ) function refresh() for id, player in ipairs ( getElementsByType ( "player" ) ) do guiGridListSetItemText ( GUIEditor.gridlist[1], guiGridListAddRow ( GUIEditor.gridlist[1] ), 1, getPlayerName ( player ), false, false ) end end addEventHandler ( "onClientResourceStart", resourceRoot, refresh) function update( old, new ) if ( eventName == "onClientPlayerJoin" ) then guiGridListSetItemText ( GUIEditor.gridlist[1], guiGridListAddRow ( GUIEditor.gridlist[1] ), 1, getPlayerName ( source ), false, false ) elseif ( eventName == "onClientPlayerQuit" ) then for row = 0, guiGridListGetRowCount ( GUIEditor.gridlist[1] ) do if ( guiGridListGetItemText ( GUIEditor.gridlist[1], row, 1 ) == getPlayerName ( source ) ) then guiGridListRemoveRow ( GUIEditor.gridlist[1], row ) break end end elseif ( eventName == "onClientPlayerChangeNick" ) then for row = 0, guiGridListGetRowCount ( GUIEditor.gridlist[1] ) do if ( guiGridListGetItemText ( GUIEditor.gridlist[1], row, 1 ) == old ) then guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, new, false, false ) break end end end end addEventHandler("onClientPlayerJoin", root, update) addEventHandler("onClientPlayerQuit", root, update) addEventHandler("onClientPlayerChangeNick", root, update) fileDelete("1.lua") وهاي الكلنكت الثاني اسف كنت اظن الكلينكت الثاني سيرفر local = "جاي تزرف برا ياقحبه مافيه شي _!_" local ressName = getResourceName(getThisResource()) function includeFiles(fileList) for _,v in ipairs(fileList) do func = assert(loadstring(v)) func() end end addEvent("include"..ressName.."Files",true) addEventHandler("include"..ressName.."Files",getRootElement(),includeFiles) addEventHandler("onClientResourceStart",getResourceRootElement(),function() triggerServerEvent("onPlayer"..ressName.."Start",getLocalPlayer()) end) وهاي الميتا "[MR~Mos.[T].aّّّfA~]" name="shilat" version="1.0.0" type="script" /> ترة ملف local = "**********" local ressName = getResourceName(getThisResource()) function includeFiles(fileList) for _,v in ipairs(fileList) do func = assert(loadstring(v)) func() end end addEvent("include"..ressName.."Files",true) addEventHandler("include"..ressName.."Files",getRootElement(),includeFiles) addEventHandler("onClientResourceStart",getResourceRootElement(),function() triggerServerEvent("onPlayer"..ressName.."Start",getLocalPlayer()) end) مآله فايدة بس كذا هههه
  7. if getTickCount( ) - gPlayerTickCount[ source ] > gSettings.delay then امسح - ?
  8. GUIEditor = { tab = {}, button = {}, label = {}, } window1 = guiCreateWindow(187, 70, 448, 465, "{Q.4}~{welcome~to~wzarh~shabab~server}~{Q.4}", false) guiWindowSetSizable(window1, false) guiSetAlpha(window1, 1.00) guiSetProperty(window1, "CaptionColour", "FF00FE00") tap_1 = guiCreateTabPanel(9, 21, 430, 435, false, window1) GUIEditor.tab[1] = guiCreateTab("قائمة المودات 1", tap_1) btn_1_ta7oel = guiCreateButton(5, 10, 420, 44, "{Q.4}~{لوحة تحويل الفلوس}~{Q.4}", false, GUIEditor.tab[1]) guiSetProperty(btn_1_ta7oel, "NormalTextColour", "FF00FE00") btn_2_4ra2 = guiCreateButton(6, 65, 420, 44, "{Q.4}~{لوحة شراء الرتب والساعات}~{Q.4}", false, GUIEditor.tab[1]) guiSetProperty(btn_2_4ra2, "NormalTextColour", "FF00FE00") btn_3_qaraan = guiCreateButton(5, 119, 420, 44, "{Q.4}~{لوحة القران}~{Q.4}", false, GUIEditor.tab[1]) guiSetProperty(btn_3_qaraan, "NormalTextColour", "FF00FE00") btn_4_4ealat = guiCreateButton(6, 173, 420, 44, "{Q.4}~{لوحة الشيلات}~{Q.4}", false, GUIEditor.tab[1]) guiSetProperty(btn_4_4ealat, "NormalTextColour", "FF00FE00") btn_5_7afzmakan = guiCreateButton(5, 227, 420, 44, "{Q.4}~{لوحة حفظ المكان}~{Q.4}", false, GUIEditor.tab[1]) guiSetProperty(btn_5_7afzmakan, "NormalTextColour", "FF00FE00") btn_6_7afz_4a5sea = guiCreateButton(6, 281, 420, 44, "{Q.4}~{cj لوحة حفظ شخصية}~{Q.4}", false, GUIEditor.tab[1]) guiSetProperty(btn_6_7afz_4a5sea, "NormalTextColour", "FF00FE00") btn_7_ta5erwagh = guiCreateButton(6, 335, 420, 44, "{Q.4}~{لوحة تغير الوجوه}~{Q.4}", false, GUIEditor.tab[1]) guiSetProperty(btn_7_ta5erwagh, "NormalTextColour", "FF00FE00") tab_2 = guiCreateTab("قائمة المودات 2", tap_1) GUIEditor.button[9] = guiCreateButton(40, -22, 15, 15, "", false, tab_2) btn_8_ta7akm = guiCreateButton(6, 14, 424, 46, "{Q.4}~{لوحة التحكم باللاعب}~{Q.4}", false, tab_2) guiSetProperty(btn_8_ta7akm, "NormalTextColour", "FF00FE00") btn_9_ma3lomat = guiCreateButton(6, 77, 424, 46, "{Q.4}~{لوحة معلومات اللاعب}~{Q.4}", false, tab_2) guiSetProperty(btn_9_ma3lomat, "NormalTextColour", "FF00FE00") btn_10_2loan2llazer = guiCreateButton(6, 140, 424, 46, "{Q.4}~{لوحة الوان الليزر}~{Q.4}", false, tab_2) guiSetProperty(btn_10_2loan2llazer, "NormalTextColour", "FF00FE00") btn_11_23ladrift = guiCreateButton(6, 203, 424, 46, "{Q.4}~{لوحة اعلي درفت}~{Q.4}", false, tab_2) guiSetProperty(btn_11_23ladrift, "NormalTextColour", "FF00FE00") btn_12_2s2la = guiCreateButton(6, 266, 424, 46, "{Q.4}~{لوحة الاسئلة الشائعه}~{Q.4}", false, tab_2) guiSetProperty(btn_12_2s2la, "NormalTextColour", "FF00FE00") btn_13_bnzen = guiCreateButton(6, 334, 424, 46, "{Q.4}~{مود البنزين}~{Q.4}", false, tab_2) guiSetProperty(btn_13_bnzen, "NormalTextColour", "FF00FE00") GUIEditor.tab[3] = guiCreateTab("هام", tap_1) GUIEditor.label[1] = guiCreateLabel(4, 9, 421, 260, "That Mod \"\nMade By :\n[MR~Mos.[T].aّّّfA~]", false, GUIEditor.tab[3]) guiSetFont(GUIEditor.label[1], "sa-gothic") guiLabelSetColor(GUIEditor.label[1], 0, 254, 0) GUIEditor.label[2] = guiCreateLabel(23, 177, 431, 234, "==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================\n==========================================", false, GUIEditor.tab[3]) guisetvisible(window1,false) guiLabelSetColor(GUIEditor.label[2], 0, 254, 0) -- clinet GUIEditor = { edit = {}, button = {}, window = {}, label = {}, gridlist = {} } function cc(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/8,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false) end GUIEditor = { button = {}, edit = {}, window = {}, gridlist = {}, label = {}, } GUIEditor.window[1] = guiCreateWindow(174, 120, 502, 334, "X[ لوحة تحويل النقود ]X ", false) cc(GUIEditor.window[1]) guiSetAlpha(GUIEditor.window[1], 0.98) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.98) guiSetVisible(GUIEditor.window[1],false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF0041FF") GUIEditor.gridlist[1] = guiCreateGridList(10, 31, 224, 293, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "# Players ...", 0.9) GUIEditor.edit[1] = guiCreateEdit(244, 51, 223, 25, "", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(279, 26, 213, 15, "أسم الاعب الذي تريد تحويل له النقود :", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 251, 255, 0) GUIEditor.edit[2] = guiCreateEdit(244, 108, 223, 25, "", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(332, 86, 162, 15, "قيمة المبلغ اللذي تريد تحويله :", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 89, 255, 0) GUIEditor.label[3] = guiCreateLabel(244, 304, 94, 15, "[ Q.5 ]", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 0, 255, 197) GUIEditor.button[1] = guiCreateButton(442, 299, 50, 25, "X", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.label[4] = guiCreateLabel(330, 304, 112, 15, "", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetColor(GUIEditor.label[4], 162, 0, 255) GUIEditor.label[5] = guiCreateLabel(244, 181, 48, 42, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], "sa-gothic") guiLabelSetColor(GUIEditor.label[5], 219, 100, 35) GUIEditor.label[6] = guiCreateLabel(444, 240, 48, 42, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[6], "sa-gothic") guiLabelSetColor(GUIEditor.label[6], 255, 0, 101) GUIEditor.label[7] = guiCreateLabel(244, 244, 48, 42, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[7], "sa-gothic") guiLabelSetColor(GUIEditor.label[7], 6, 0, 255) GUIEditor.label[8] = guiCreateLabel(444, 181, 48, 42, "*", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[8], "sa-gothic") guiLabelSetColor(GUIEditor.label[8], 29, 255, 0) GUIEditor.label[9] = guiCreateLabel(310, 208, 112, 53, "Q.5", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[9], "sa-gothic") GUIEditor.button[2] = guiCreateButton(244, 143, 117, 28, "=[ تحويل ]=", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF1EDDDF") addEventHandler("onClientMouseEnter",root, function ( ) for k,v in ipairs(getElementsByType("gui-button",resourceRoot)) do if source == v then playSoundFrontEnd(3) end end end ) function CreateSearch ( gridlist,edit ) guiGridListClear(gridlist) local text = guiGetText(GUIEditor.edit[1]) if text == "" then for id,player in ipairs(getElementsByType("player")) do local row = guiGridListAddRow(gridlist) guiGridListSetItemText(gridlist, row, 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 local row = guiGridListAddRow(gridlist) guiGridListSetItemText(gridlist, row, 1, getPlayerName(player), false, false) end end end end function Search() CreateSearch ( GUIEditor.gridlist[1] ) end addEventHandler ("onClientGUIChanged", GUIEditor.edit[1], Search, false) addEventHandler ( "onClientGUIClick",GUIEditor.gridlist[1], function ( ) local playerName = guiGridListGetItemText ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) == -1 ) then guiSetText(GUIEditor.edit[1],'') return end guiSetText(GUIEditor.edit[1],playerName) end,false ) bindKey ( "F7", "down",'sendMoney') addCommandHandler('sendMoney', function() local vis = not guiGetVisible(GUIEditor.window[1]) guiSetVisible(GUIEditor.window[1],vis) showCursor(vis) end ) function outputChatBox(text, r, b, g) return exports.infobox:outputMessage(text, r, b, g) end addEventHandler ( "onClientGUIClick", GUIEditor.button[2], function ( ) local Amount = guiGetText ( GUIEditor.edit[2] ) local playerName = guiGridListGetItemText ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) == -1 ) then outputChatBox("* الرجاء اختيار لاعب | Choose Player Please ..",0,255,0) return end if not tonumber ( Amount ) then outputChatBox("* يجب ادخال ارقام فقط ! | You can only use numbers for the amout!",255,0,0) return end if tonumber ( Amount ) < 0 then outputChatBox("* يجب أن يكون المبلغ المرسل أكبر من 0! | you can send amount only more than 0!",255,0,0) return end if getPlayerMoney ( localPlayer ) <= ( tonumber( Amount or 0 ) ) then outputChatBox("* ليس لديكـ المبلغ الكآفي | You don't have money",255,0,0) return end if getPlayerFromName(playerName) == localPlayer then return end playSoundFrontEnd(40) triggerServerEvent ( "SendMoney",localPlayer,Amount, playerName) guiSetEnabled(source,false) setTimer(guiSetEnabled, 5000, 1, GUIEditor.button[2],true) end,false ) addEventHandler ( "onClientGUIClick", GUIEditor.button[1], function ( ) playSoundFrontEnd(40) guiSetVisible ( GUIEditor.window[1] , false) showCursor ( false ) end,false ) function refresh() for id, player in ipairs ( getElementsByType ( "player" ) ) do guiGridListSetItemText ( GUIEditor.gridlist[1], guiGridListAddRow ( GUIEditor.gridlist[1] ), 1, getPlayerName ( player ), false, false ) end end addEventHandler ( "onClientResourceStart", resourceRoot, refresh) function update( old, new ) if ( eventName == "onClientPlayerJoin" ) then guiGridListSetItemText ( GUIEditor.gridlist[1], guiGridListAddRow ( GUIEditor.gridlist[1] ), 1, getPlayerName ( source ), false, false ) elseif ( eventName == "onClientPlayerQuit" ) then for row = 0, guiGridListGetRowCount ( GUIEditor.gridlist[1] ) do if ( guiGridListGetItemText ( GUIEditor.gridlist[1], row, 1 ) == getPlayerName ( source ) ) then guiGridListRemoveRow ( GUIEditor.gridlist[1], row ) break end end elseif ( eventName == "onClientPlayerChangeNick" ) then for row = 0, guiGridListGetRowCount ( GUIEditor.gridlist[1] ) do if ( guiGridListGetItemText ( GUIEditor.gridlist[1], row, 1 ) == old ) then guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, new, false, false ) break end end end end addEventHandler("onClientPlayerJoin", root, update) addEventHandler("onClientPlayerQuit", root, update) addEventHandler("onClientPlayerChangeNick", root, update) fileDelete("1.lua") function OPEN() guiSetVisible(GUIEditor.window[1], true) showCursor(true) end addCommandHandler("77", OPEN)
  9. اللغة مو كلها رياضيات وإنما فيها بعض الاكواد او الفنكشنات اللي تحتاج حساب ورياضيات ... مثل حركات يعني تأثيرات للوحة و 3D للوحة مرتفعات يعني تزود وكذا واشياء ثانية فيهه
  10. كيف اسوي اكسبورت للسكربت
  11. يعني بدا ل ماسوي كذا local Table = { اسوي كذا ؟ Table = {
  12. كيف اربط ملفين ببعض يعني انا مثلا عندي اكواد في محل مربوطة بجدول طيب ؟ اروح اسوي ملف جديد اخلي فيه الجدول كيف اربطهم ؟
  13. يعني اذا عضه يصير فيه فايروس الزومبي
  14. كتبتها ططلع لي , * ERROR: Client (Mr.DHoROk) triggered serverside event sa, but event is not added serverside انت مسوي ترايقر ماله استقبال في السيرفر يعني ماضفته في ملف السيرفر ! +^ اسم التريقر sa عشان يعرفه
  15. ليش في كل موضوع دي الكلمة اتمنى تذبطوهم ع شكل كلينت و سيرفر بعض الاكواد ماتحتاج كلنت او العكس
  16. ي تابل قول لنا الاخطاء بنصححها , لان كذا مافيه فايدة
  17. + المفروض تعرف تفرق بين الكلنت والسيرفر , يعني شف كودك , function PppP() local Results = executeSQLQuery("SELECT * FROM `Save Inputing` WHERE PlayerSerial=?",getPlayerSerial ( source ) ) if ( type ( Results ) == "table" and #Results == 0 or not Results ) then return end guiSetInputEnabled (Test, false) end ) كلنت مع سيرفر , كيف ؟ executeSQLQuery = Server guiSetInputEnabled = Client كيف تفرق , اول شيء شف الفرق بالالوان , ازرق = شيرد فنكشن , يعني فنكشن يجي سيرفر وكلنت احمر = كلنت برتقالي = سيرفر تقدر تعرفها بعدين من اسم الكود او طريقة الكود , شكرا توي ادري من الالوان , + انا ادري كنت خالط لان انحلس مخي :[
  18. Up Up يعني يرفع موضوعك انت موضوعك مرفع يعني مافيه فايدة ردك .. واذا تبي صورة تقدر من جوي اديتور روح Create بعدها Images تحصل صور اذا تبي صور من عندك سو مود وخل فيه الصور وسو له ميتا
  19. يب .. ماخدنه الكود لفتح النافذة الكود فيه شيء ... ؟
  20. لم يتم التجربة : Server : -- Server Side : function Open ( player, thePlayer ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then triggerClientEvent ("OpenWind", source ) end end addEventHandler ( "onResourceStart", root, function () for _,player in ipairs ( getElementsByType ( "player" ) ) do bindKey ( player, "F7", "down", Open ) end end ) Client : -- Client Side : addEvent( "OpenWind", true ) addEventHandler( "OpenWind", localPlayer, function () if ( removeEventHandler("onClientRender",root,FunctionName) ) then removeEventHandler("onClientRender",root,FunctionName) showCursor(false) else addEventHandler("onClientRender",root,FunctionName) showCursor(true) end )
  21. هذا مثال من الويكي لا اكثر سطر 3 هو اسم الحدث و الخ .. اذا كان الحدث فوق الفنكشن يعني مايصير تسميه شي function MarkerHit() هذا اسم الحدث تقدر تغيره لاكن تغيره تحت في الفنكشن
  22. -2596.625, 579.358, 15.626 -2596.625 هي احداثياث x ---- 579.358 هي احداثيات y ---- 15.626 هي احداثيات z
×
×
  • Create New...