Jump to content

Sylence

Members
  • Posts

    35
  • Joined

  • Last visited

Details

  • Gang
    في شعرك <3
  • Location
    #Saudi Arabia

Sylence's Achievements

Rat

Rat (9/54)

0

Reputation

  1. سلام عليكم ابي اسوي اذا كتب اسم حساب في ايدت و اسم التيم في ايدت تاني يضيف الاعب البلحساب في اسم التيم المكتوب
  2. سلام عليكم انا عامل لوحة شرطي وعامل بيتون فيها اسمه Destroy car عاوز الشرطي لما فتح اللوحه ويدوس علي ديستوري كار تتسحب السياره
  3. شالخطا دا؟ -- ضيف ذذ لوب JP = { {"1",'minutes',60000}, {"2",'mintes',120000}, {"3",'mintes',180000}, {"5",'mintes',3000000}, {"10",'mintes',600000}, {"15",'mintes',900000}, {"20",'mintes',1200000}, {"30",'mintes',1800000}, {"40",'mintes',2400000}, {"1",'hours',3600000}, {"2",'hours',7200000}, {"3",'hours',10800000}, {"4",'hours',14400000}, {"5",'hours',18000000}, {"24",'hours',86400000} } changeGridListItemToPlayersName = function ( GridList, Column ) if GridList and Column then -- Check Parematers if getElementType ( GridList ) == "gui-gridlist" then -- Check The Type of ' GridList ' if guiGridListClear ( GridList ) then -- Clear GridList for i, v in next, getElementsByType ( "player" ) do -- Get Everything by Type ' player ' local Row = guiGridListAddRow ( GridList ) -- Add Row guiGridListSetItemText ( GridList, Row, Column, getPlayerName ( v ), false, false ); -- Set New Values end; -- end of ' for ' end; -- end of ' clear gridlist ' end; -- end of ' check gridlist type ' end; -- end of ' check parematers end; GUIEditor = { button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(124, 137, 550, 364, ":: Jail Systeam ::", false) guiWindowSetSizable(wnd, false) guiSetVisible (wnd, false) grid2 = guiCreateGridList(10, 24, 258, 253, false, wnd) guiGridListAddColumn(grid2, "Name", 0.9) grid = guiCreateGridList(273, 24, 258, 253, false, wnd) guiGridListAddColumn(grid, "ID", 0.5) guiGridListAddColumn(grid, "Time", 0.5) GUIEditor.button[1] = guiCreateButton(10, 287, 150, 36, "UnJail", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(192, 287, 150, 36, "UnJail", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") GUIEditor.button[3] = guiCreateButton(364, 287, 150, 36, "Close", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") GUIEditor.label[1] = guiCreateLabel(354, 337, 222, 17, "#Created By [L]e3bA | v3.4.1", false, wnd) guiLabelSetColor(GUIEditor.label[1], 229, 0, 0) end ) guiSetVisible (wnd, false) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("m", "down", OpenWin) for _, v in ipairs (JP) do local Row = guiGridListAddRow(grid) guiGridListSetItemText(grid, Row, 1, v[1], false, false) guiGridListSetItemText(grid, Row, 2, v[2], false, false) guiGridListSetItemData(grid, Row,1, v[3], false, false) end addEventHandler("onClientGUIClick", GUIEditor.button[1], function ( ) local sel = guiGridListGetSelectedItem(grid) local sel2 = guiGridListGetSelectedItem(grid2) local Jail = unpack(guiGridListGetItemData ( grid,sel,1 )) local Mk = setElementPosition ( 2122.21818, 53121, 10.5141 ) setElementPosition ( 2122.21338, 2243.54175, 10.67188 ) if sel ~= -1 and sel2 ~= -1 and getElementType(player) == "player" then setTimer ( Jail , Mk ) end end)
  4. مشكور اخوي طيب عاوز كود انا عامل بيتون اسمه unJailPlayer عاوز اليضعط عليه يتفك سجنه
  5. GUIEditor = { button = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(121, 135, 525, 333, "#", false) guiWindowSetSizable(wnd, false) grid = guiCreateGridList(12, 55, 227, 268, false, wnd) guiGridListAddColumn(grid, "ID", 0.5) guiGridListAddColumn(grid, "Time", 0.5) grid2 = guiCreateGridList(259, 55, 227, 268, false, wnd) guiGridListAddColumn(grid2, "Name", 0.9) GUIEditor.button[1] = guiCreateButton(116, 26, 238, 24, "Jail", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) -- guiSetVisible (wnd, false) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("m", "down", OpenWin) for _, v in ipairs (JP) do local Row = guiGridListAddRow(grid) guiGridListSetItemText(grid, Row, 1, v[1], false, false) guiGridListSetItemText(grid, Row, 2, v[2], false, false) end -- addEventHandler("onClientGUIClick", GUIEditor.button[1], function ( ) local sel = guiGridListGetSelectedItem(grid) local Jail = unpack(guiGridListGetItemData ( grid,sel,1 )) local Mk = setElementPosition ( 2122.21818, 53121, 10.5141 ) setElementPosition ( 2122.21338, 2243.54175, 10.67188 ) if sel ~= -1 and getElementType(player) == "player" then setTimer ( Jail , Mk ) end end) -----
  6. gUIEditor = { button = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(93, 111, 643, 423, "#@#", false) guiWindowSetSizable(wnd, false) grid = guiCreateGridList(22, 71, 480, 300, false, wnd) guiGridListAddColumn(grid, "Time", 0.5) guiGridListAddColumn(grid, "Name", 0.5) GUIEditor.button[1] = guiCreateButton(159, 375, 271, 38, "Jal", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) -- guiSetVisible (wnd, false) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("m", "down", OpenWin) for _, v in ipairs (JP) do local Row = guiGridListAddRow(grid) guiGridListSetItemText(grid, Row, 1, v[1], false, false) guiGridListSetItemText(grid, Row, 2, v[2], false, false) end -- addEventHandler("onClientGUIClick", GUIEditor.button[1], function ( ) local sel = guiGridListGetSelectedItem(grid) local Jail = unpack(guiGridListGetItemData ( grid,sel,1 )) local Mk = setElementPosition ( 2122.21818, 53121, 10.5141 ) setElementPosition ( 2122.21338, 2243.54175, 10.67188 ) if sel ~= -1 and getElementType(player) == "player" then setTimer ( Jail , Mk ) end end) -----
  7. كيف يعني 2 قريد لست؟
  8. طيب ازاي دي تتحط هنا addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent("SlapPlayer", localPlayer) end end)
  9. شسوي طيب دلوقتي؟
  10. سلام عليكم انا عامل لوحة شرطي وفيها سلاب عاووز ال outputChatBox تكتب فيها adham has slapped le3ba يعني عاوز اول شي في اوت شات اسم اللاعب بعدين has slapped بعدين اسم اللاعب الاخد سلاب انا مش عارف اعملها
  11. سلام عليكم انا عامل لوحة شرطي وفيها سلاب عاووز ال outputChatBox تكتب فيها adham has slapped le3ba يعني عاوز اول شي في اوت شات اسم اللاعب بعدين has slapped بعدين اسم اللاعب الاخد سلاب انا مش عارف اعملها
  12. JP = { {'1','minutes'}, {'2','mintes'}, {'3','mintes'}, {'5','mintes'}, {'10','mintes'}, {'15','mintes'}, {'20','mintes'}, {'30','mintes'}, {'40','mintes'}, {'1','hours'}, {'2','hours'}, {'3','hours'}, {'4','hours'}, {'5','hours'}, {'24','hours'} } GUIEditor = { gridlist = {}, button = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(174, 155, 422, 335, "jail", false) guiWindowSetSizable(wnd, false) GUIEditor.gridlist[1] = guiCreateGridList(13, 32, 310, 196, false, wnd) guiGridListAddColumn(GUIEditor.gridlist[1], "ID", 0.5) guiGridListAddColumn(GUIEditor.gridlist[1], "Time", 0.5) GUIEditor.button[1] = guiCreateButton(60, 232, 273, 38, "Jail Player", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") end ) -- guiSetVisible (wnd, false) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("m", "down", OpenWin) for _, v in ipairs (JP) do local Row = guiGridListAddRow(grid) guiGridListSetItemText(grid, Row, 1, v[1], false, false) guiGridListSetItemText(grid, Row, 2, v[2], false, false) end -- addEventHandler("onClientGUIClick", GUIEditor.button[1], function ( ) local sel = guiGridListGetSelectedItem(grid) local Jail = unpack(guiGridListGetItemData ( grid,sel,1 )) local Mk = setElementPosition ( 2122.21818, 53121, 10.5141 ) setElementPosition ( 2122.21338, 2243.54175, 10.67188 ) if sel ~= -1 and getElementType(player) == "player" then setTimer ( Jail , Mk ) end end) ----- انا لعبه + اهي اللوحه القلتلي عليها + حسابي نسيت الباص
  13. Sylence

    help

    ما ظبتن function onAdmins ( thePlayer ) local cuenta = getAccountName( getPlayerAccount(thePlayer) ) if isObjectInACLGroup("user."..cuenta, aclGetGroup("Admin")) then triggerClientEvent ( "Abrir", thePlayer) else outputChatBox("ACCESO DENEGADO!", thePlayer, 255, 0, 0, true) end end addCommandHandler("sendmoney", onAdmins) function Enviar (cantidad, name) givePlayerMoney(getRootElement(), tonumber(cantidad)) exports["topbarchat"]:sendClientMessage("#ffff00نظام حافز : تم منح الجميع $ "..cantidad, getRootElement(), 255, 255, 255, true) end addEvent("SendMoney1", true) addEventHandler("SendMoney1", getRootElement(), Enviar)
  14. سلام عليكم اليوم لوحه بتفتح من ف8 _rr عاوزها تفتح بحرف ظ / كلنت -- M7mdAl7arthy -- -- Skype: M7mdAl7arthy -- -- Updated: 3NAD -- getTDByType = { --[[ { 'car name', car id, 'file Path' }; --]] { 'Camry 2011', 566, 'xCar7' }; { 'Camry 2006', 585, 'xCar17' }; }; Languages = { ["English"] = { ["Information"] = "Welcome @ 6ArH Server's, \n\nIf you have a bad Video Card ' Law FPS '\nof Real Cars,\n\nYou can stop it by this script..\n\nIt's so easily :\n- Select any car.\n- Press \" Run / Stop Selected \".\n\nYou can open this window again\nby pressing ' / '\n\nWe hope you have fun : )"; ["Run Or Stop"] = "Run / Stop Selected"; ["Run All"] = "Run All"; ["Stop All"] = "Stop All"; }; ["عربي"] = { ["Information"] = "مرحباً بكم في سيرفرات طارهـ,\n\nإذا كآن لديك كرت شاشة سيء ' FPS منخفض '\nو تعاني من الـ ' لاق ' بـسبب السيارات\n\nيمكنك إيقاف السيارات بواسطة هذا السكربت\n\nتابع الخطوات :\n- أختر اي سيارة من القائمة.\n- أضغط ' إيقاف / تشغيل '.\n\nيمكنك فتح هذه النافذة مرة أخرى\nبواسطة الزر ' ظ '\n\n نتمنى لكم قضاء اوقات سعيدة"; ["Run Or Stop"] = "تشغيل / إيقاف"; ["Run All"] = "تشغيل الكل"; ["Stop All"] = "إيقاف الكل"; }; } Enad = { button = {}, window = {}, gridlist = {}, label = {}, combobox = {}, } function centerWindow(center_window, x, y) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false) local x,y = (screenW-windowW)/x,(screenH-windowH)/y guiSetPosition(center_window,x,y,false) end load_ = true i = true Enad.window[1] = guiCreateWindow(200, 131, 425, 407, ":: Panel Systeam ::", false) guiWindowSetSizable(Enad.window[1], false) guiSetVisible ( Enad.window[1], false ) guiWindowSetSizable(Enad.window[1], false) guiSetAlpha(Enad.window[1], 1.00) centerWindow ( Enad.window[1], 2, 2 ) GUIEditor.combobox[1] = guiCreateComboBox(25, 64, 390, 88, "عربي", false, Enad.window[1]) guiComboBoxAddItem(GUIEditor.combobox[1], "English") guiComboBoxAddItem(GUIEditor.combobox[1], "عربي") GUIEditor.gridlist[1] = guiCreateGridList(63, 142, 352, 231, false, Enad.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "#", 0.9) GUIEditor.button[1] = guiCreateButton(149, -8611, 92, 318, "", false, Enad.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") --Enad.button[4] = guiCreateButton(218, 285, 72, 34, "Run All", false, Enad.window[1]) --guiSetProperty(Enad.button[4], "NormalTextColour", "FFAAAAAA") Column2 = guiGridListAddColumn( Enad.gridlist[1], 'ID', .25 ) Column2_ = guiGridListAddColumn( Enad.gridlist[1], 'Vehicle', .60 ) for _, type in ipairs( getTDByType )do local gRow = guiGridListAddRow( Enad.gridlist[1] ) guiGridListSetItemText( Enad.gridlist[1], gRow, Column2, tostring( type[ 2 ] ), false, false ) guiGridListSetItemText( Enad.gridlist[1], gRow, Column2_, tostring( type[ 1 ] ), false, false ) t = guiGridListSetItemData( Enad.gridlist[1], gRow, Column2_, tostring( type[ 3 ] ) ) guiGridListSetItemColor ( Enad.gridlist[1], gRow, Column2, 0, 255, 0 ) end addEventHandler ( "onClientGUIClick", root, function ( ) if source == Enad.button[1] then local iRow, iCol = guiGridListGetSelectedItem( Enad.gridlist[1] ) if( iRow and iCol and iRow ~= -1 and iCol ~= -1 )then local ID = tonumber( guiGridListGetItemText( Enad.gridlist[1], iRow, 1 ) ) local CN = tostring( guiGridListGetItemText( Enad.gridlist[1], iRow, 2 ) ) local filePath = tostring( guiGridListGetItemData( Enad.gridlist[1], iRow, 2 ) ) if( ID ~= '' )then if fileExists( ':'.. filePath ..'/'.. ID ..'.txd' ) and fileExists( ':'.. filePath ..'/'.. ID ..'.dff', ID ) then if not( engineRestoreModel( ID ) )then engineImportTXD( engineLoadTXD( ':'.. filePath ..'/'.. ID ..'.txd' ), ID ) engineReplaceModel( engineLoadDFF( ':'.. filePath ..'/'.. ID ..'.dff', ID ), ID ) guiGridListSetItemColor ( Enad.gridlist[1], iRow, 1, 0, 255, 0 ) load_ = true else guiGridListSetItemColor ( Enad.gridlist[1], iRow, 1, 255, 0, 0 ) load_ = false end guiSetEnabled ( source, false ) setTimer ( guiSetEnabled, 3000, 1, source, true ) else if i == true then guiGridListSetItemColor ( Enad.gridlist[1], iRow, 1, 255, 255, 0 ) i = false setTimer( function( ) i = true end, 5000, 1 ) end end end end elseif source == Enad.button[2] then guiSetVisible ( Enad.window[1], false ) showCursor ( false ) executeCommandHandler ( "onStartPlay_" ) bindKey( '/', 'down', 'rr_' ) elseif source == Enad.button[3] then guiSetEnabled ( source, false ) setTimer ( guiSetEnabled, 10000, 1, source, true ) if not load_ then return end load_ = false for i, type in ipairs( getTDByType )do if fileExists( ':'.. type[3] ..'/'.. type[2] ..'.txd' ) and fileExists( ':'.. type[3] ..'/'.. type[2] ..'.dff', type[2] ) then engineRestoreModel( type[2] ) end end guiGridListClear ( Enad.gridlist[1] ) for _, type in ipairs( getTDByType )do local gRow = guiGridListAddRow( Enad.gridlist[1] ) guiGridListSetItemText( Enad.gridlist[1], gRow, Column2, tostring( type[ 2 ] ), false, false ) guiGridListSetItemText( Enad.gridlist[1], gRow, Column2_, tostring( type[ 1 ] ), false, false ) t = guiGridListSetItemData( Enad.gridlist[1], gRow, Column2_, tostring( type[ 3 ] ) ) guiGridListSetItemColor ( Enad.gridlist[1], gRow, Column2, 255, 0, 0 ) end elseif source == Enad.button[4] then guiSetEnabled ( source, false ) setTimer ( guiSetEnabled, 10000, 1, source, true ) if load_ then return end load_ = true if isTimer ( loadTimer ) then killTimer ( loadTimer ) end loadTimer = setTimer ( function ( ) for i, type in ipairs( getTDByType )do if fileExists( ':'.. type[3] ..'/'.. type[2] ..'.txd' ) and fileExists( ':'.. type[3] ..'/'.. type[2] ..'.dff', type[2] ) then engineImportTXD( engineLoadTXD( ':'.. type[3] ..'/'.. type[2] ..'.txd' ), type[2] ) engineReplaceModel( engineLoadDFF( ':'.. type[3] ..'/'.. type[2] ..'.dff', type[2] ), type[2] ) end end end , 1500, 1 ) guiGridListClear ( Enad.gridlist[1] ) for _, type in ipairs( getTDByType )do local gRow = guiGridListAddRow( Enad.gridlist[1] ) guiGridListSetItemText( Enad.gridlist[1], gRow, Column2, tostring( type[ 2 ] ), false, false ) guiGridListSetItemText( Enad.gridlist[1], gRow, Column2_, tostring( type[ 1 ] ), false, false ) t = guiGridListSetItemData( Enad.gridlist[1], gRow, Column2_, tostring( type[ 3 ] ) ) guiGridListSetItemColor ( Enad.gridlist[1], gRow, Column2, 0, 255, 0 ) end if isTimer ( Timer ) then killTimer ( Timer ) end resetProgress_ ( pp_ ) fadeCamera ( false ) Timer = setTimer ( upgradeValues_, 50, 0, pp_ ) end end ) for i, v in pairs ( Languages ) do guiComboBoxAddItem ( Enad.combobox[1], tostring ( i ) ) end addEventHandler ( "onClientGUIComboBoxAccepted", Enad.combobox[1], function ( ) local text = tostring ( guiComboBoxGetItemText ( source, guiComboBoxGetSelected ( source ) ) ) if text == "" then return end if text == "عربي" then guiLabelSetHorizontalAlign ( Enad.label[1], "right" ) else guiLabelSetHorizontalAlign ( Enad.label[1], "left" ) end guiSetText ( Enad.label[1], Languages[text]["Information"] ) guiSetText ( Enad.button[1], Languages[text]["Run Or Stop"] ) guiSetText ( Enad.button[4], Languages[text]["Run All"] ) guiSetText ( Enad.button[3], Languages[text]["Stop All"] ) end , false ) addCommandHandler( 'openOptionsCar', function( ) if not guiGetVisible ( Enad.window[1] ) then guiSetVisible( Enad.window[1], true ) showCursor( true ) guiBringToFront( Enad.window[1] ) guiSetVisible ( Enad.button[2], true ) end end ) bindKey( "/", "down", function ( ) if not guiGetVisible ( Enad.window[1] ) then guiSetVisible( Enad.window[1], true ) showCursor( true ) guiBringToFront( Enad.window[1] ) guiSetVisible ( Enad.button[2], false ) else guiSetVisible( Enad.window[1], false ) showCursor( false ) end end ) --[[ addCommandHandler( 'reall', function( ) for i, type in ipairs( getTDByType )do if fileExists( ':'.. type[3] ..'/'.. type[2] ..'.txd' ) and fileExists( ':'.. type[3] ..'/'.. type[2] ..'.dff', type[2] ) then if not( engineRestoreModel( type[2] ) )then engineImportTXD( engineLoadTXD( ':'.. type[3] ..'/'.. type[2] ..'.txd' ), type[2] ) engineReplaceModel( engineLoadDFF( ':'.. type[3] ..'/'.. type[2] ..'.dff', type[2] ), type[2] ) end end end end )]] سرفر --
×
×
  • Create New...