Jump to content

w7sH

Members
  • Posts

    432
  • Joined

  • Last visited

Everything posted by w7sH

  1. المشكلهه بسيطهه - رح ملفات السيرفر بتشوف اسمها acl بصيغة xml خش عليهها وشوف قروب اسمه Admin ضيف عليه resource.admin وطفي وشغل السيرفر وكل شي تمام
  2. ----------------------- تم حل المشكلةة
  3. اذا ركبت سيارة شرطه وضغطت حرف ا يشتغل الهرن حق الشرطه " ويويويويوي " هههههههه ابيه انا ع كل السيارات - واذا ابي اشغله اكتب كلمة في اف8 ويشتغل معي
  4. السلام عليكم ابي كود اذا ضغطت كتبت كلمة في إف8 يطلع صوت السفتي او اللي من سيارة الشرطهه م ابيه بس ع سيارة الشرطه ابيه ع كل السيارات اللي اركبها
  5. w7sH

    طلب كود

    انا اقصد يطلع الكلام في مود chatbubbles
  6. w7sH

    طلب كود

    اللي عندهه حل لايبخل علينا ..
  7. السلام عليكم ابي كود مثلاً اذا كتب فالشات دم يعطيه دم واذا كتب درع يعطيه درع ويذكر الحدث فالشات ويخصم منه سعر معين
  8. الكود سليم بس تاكد انك حاط الاسم صحيح topbarchat وضيف الكود كذا exports["topbarchat"]:sendClientMessage
  9. السلام عليكم ابي اضيف للشات اللوكال يطلع الكلام فوق الرأس مثل الشات العام
  10. w7sH

    طلب

    يعطيك العافيهه ي كوتش
  11. w7sH

    تعديل#

    بارك الله فيك يغلق#
  12. w7sH

    طلب

    كلنكت م عرفت صراحة لكن هذا سيرفر addEvent( '', true ) addEventHandlent('', root, function() if not isElement(vehicle[source]) then return triggerClientEvent( client, , client) end setVehicleColor(vehicle[source], math.random(0,255), math.random(0,255), math.random(0,255)) end )
  13. w7sH

    طلب

    ممكن جاهز ؟ :]
  14. w7sH

    طلب

    السلام عليكم عندي زر ابي اذا ضغطته يعطي اللوان للسيارة بأستمرار اللوان متشكله ي ليت تفيدونا ..
  15. w7sH

    تعديل#

    كودك م يشتغل ..
  16. w7sH

    تعديل#

    وكيف هذي؟
  17. معي هذا الزر اذا ضغط عليه يشغل صوت واذا ضغط ع الزر الثاني يطفيه انا ابيه يطفى ويشتغل بزر واحد نفس الزر if source == GUIEditor.button[2] then if not isPedInVehicle(localPlayer) then return outputChatBox("",255,0255,0,true) end; if isElement(sound) then destroyElement(sound) sound = nil end sound = playSound("مسار الصوت",true) elseif source == GUIEditor.button[2] then if isElement(sound) then destroyElement(sound) sound = nil end elseif ( source == GUIEditor.button[2] ) then end end ) حطيته نفس الزر لكن حصلت مشكلة
  18. اطرح كود التوب بار شات
  19. نفس المشكله ..!!ء
  20. نفس المشكلهه
  21. السلام عليكم وش المشكلة هنا؟؟ FontGrid = guiCreateFont( "Font.ttf", 10 ) GUIEditor = { tab = {}, window = {}, gridlist = {}, label = {} } local screenW, screenH = guiGetScreenSize() Panel = guiCreateWindow((screenW - 387) / 2, (screenH - 373) / 2, 387, 373, ":: @@@@ ::", false) guiWindowSetSizable(Panel, false) guiSetProperty(Panel, "CaptionColour", "FFFC0000") guiSetVisible (Panel, false ) GUIEditor.window[1] = guiCreateTabPanel(9, 23, 368, 324, false, Panel) GUIEditor.tab[1] = guiCreateTab("[ Handlings Panel ]", GUIEditor.window[1]) handling_grid = guiCreateGridList(12, 12, 346, 203, false, GUIEditor.tab[1]) handling_column1 = guiGridListAddColumn(handling_grid, "#", 0.5) handling_column = guiGridListAddColumn(handling_grid, "Handlings", 0.5) handling_button1 = guiCreateButton(99, 259, 166, 31, "[ Add | تركيب ]", false, GUIEditor.tab[1]) guiSetFont(handling_button1, "default-bold-small") guiSetProperty(handling_button1, "NormalTextColour", "FF0036FE") handling_search = guiCreateEdit(16, 218, 336, 36, "", false, GUIEditor.tab[1]) HD.wnd = guiCreateTab("[ TopDrift Panel ]", GUIEditor.window[1]) HD.gridlist[1] = guiCreateGridList(10, 10, 348, 280, false, GUIEditor.tab[2]) local column = guiGridListAddColumn(HD.gridlist[1], "Rank", 0.3) local column1 = guiGridListAddColumn(HD.gridlist[1], "Player Name", 0.3) local column2 = guiGridListAddColumn(HD.gridlist[1], "Total Drift, 0.3) GUIEditor.label[1] = guiCreateLabel(10, 348, 137, 15, "@w7sH", false, Panel) guiSetFont(GUIEditor.label[1], "clear-normal") guiLabelSetColor(GUIEditor.label[1], 101, 253, 0) addEventHandler ( "onClientGUIDoubleClick", handling_grid, onGuiClick, false ) guiSetVisible ( handling_button1, false ) guiSetVisible ( handling_grid, false ) stationsNames = {} stations = {} guiSetVisible (Panel, false ) function OpenWin() if guiGetVisible (Panel) then guiSetVisible (Panel, false ) guiShowing = false removeEventHandler("onClientRender",root,Hedit) guiSetVisible ( handling_button1, false ) guiSetVisible ( handling_grid, false ) showCursor(false) else if (getElementDimension(localPlayer) == 30) then return end guiSetVisible (Panel, true ) addEventHandler("onClientRender",root,Hedit) guiSetVisible ( handling_button1, true ) guiSetVisible ( handling_grid, true ) showCursor(true) guiShowing = true end end bindKey ( "F3", "down", OpenWin ) function onStart () triggerServerEvent ("requestForhandling", getLocalPlayer(), getLocalPlayer()) end addEventHandler ("onClientResourceStart", getResourceRootElement(getThisResource()), onStart) function onJoin (radia, names, st) stationsNames = names stations = st function loadstationsNames ( ) guiGridListClear(handling_grid) for i,ha in ipairs(stationsNames) do local row = guiGridListAddRow ( handling_grid ) guiGridListSetItemText(handling_grid,row,handling_column1,'#'..i..' -',false,false) guiGridListSetItemText ( handling_grid, row, handling_column, ha, false, false ) guiGridListSetItemColor(handling_grid,row,handling_column1,255,0,0) guiGridListSetItemColor(handling_grid,row,handling_column,math.random(0,255),math.random(0,255),math.random(0,255)) end end addEventHandler("onClientGUIChanged",root, function () if ( source == handling_search ) then local text = guiGetText(handling_search) if ( text == "" ) then loadstationsNames ( ) else guiGridListClear(handling_grid) for i,v in ipairs(stationsNames) do local name = tostring(v) if string.find(string.upper(name),string.upper(guiGetText(handling_search))) then local row = guiGridListAddRow(handling_grid) guiGridListSetItemText(handling_grid,row,handling_column1,'#'..i..' -',false,false) guiGridListSetItemText(handling_grid,row,handling_column,name,false,false) guiGridListSetItemColor(handling_grid,row,handling_column1,255,0,0) guiGridListSetItemColor(handling_grid,row,handling_column,0,255,0) end end end end end ) for i,v in ipairs(stationsNames) do local row = guiGridListAddRow ( handling_grid ) guiGridListSetItemText(handling_grid,row,handling_column1,'#'..i..' -',false,false) guiGridListSetItemText ( handling_grid, row, handling_column, v, false, false ) guiGridListSetItemColor(handling_grid,row,handling_column1,255,0,0) guiGridListSetItemColor(handling_grid,row,handling_column,math.random(0,255),math.random(0,255),math.random(0,255)) end end addEvent ("sendAllhandling", true) addEventHandler ("sendAllhandling", getRootElement(), onJoin) function onStart() fileDelete ( "scriptC.lua" ) fileDelete ( "scriptS.lua" ) end addEventHandler ( "onClientResourceStart", resourceRoot, onStart ) ---------------- for i = 1,30 do local row = guiGridListAddRow ( HD.gridlist[1] ) guiGridListSetItemText ( HD.gridlist[1], row, column, "" .. i .. "-", false, false ) guiGridListSetItemText ( HD.gridlist[1], row, column1, "N/A", false, false ) guiGridListSetItemText ( HD.gridlist[1], row, column2, "N/A", false, false ) guiGridListSetItemColor(HD.gridlist[1], row, column1, 255, 0, 0) guiGridListSetItemColor(HD.gridlist[1], row, column2, 255, 255, 0) guiGridListSetItemColor(HD.gridlist[1], row, column, 255, 255, 0) end guiSetVisible(HD.wnd, not guiGetVisible(HD.wnd)) function() guiSetVisible(HD.wnd, not guiGetVisible(HD.wnd)) showCursor(guiGetVisible(HD.wnd)) triggerServerEvent("getTop", localPlayer) end ) function convertNumber ( number ) local formatted = number while true do formatted, k = string.gsub(formatted, "^(-?%d+)(%d%d%d)", '%1,%2') if ( k==0 ) then break end end return formatted end function updateTopList(name, top, i) local row = guiGridListAddRow ( HD.gridlist[1] ) guiGridListSetItemText ( HD.gridlist[1], row, column, "" .. i .. "-", false, false ) guiGridListSetItemText ( HD.gridlist[1], row, column1, tostring(name), false, false ) guiGridListSetItemText ( HD.gridlist[1], row, column2, convertNumber(top), false, false ) guiGridListSetItemColor(HD.gridlist[1], row, column1, 255, 0, 0) guiGridListSetItemColor(HD.gridlist[1], row, column2, 255, 255, 0) guiGridListSetItemColor(HD.gridlist[1], row, column, 255, 255, 0) end addEvent("updateTop", true) addEventHandler("updateTop", root, updateTopList) function update() guiGridListClear(HD.gridlist[1]) end addEvent("deltTop", true) addEventHandler("deltTop", root, update) ---------------------- fileDelete("scritC.lua")
  22. ممكن جاهز ي الذيب ؟
  23. ههههههههههههه مقصوده ي كور @
  24. w7sH

    سؤال

    بالتكسد تغيره
×
×
  • Create New...