Jump to content

lubiekeppa

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by lubiekeppa

  1. Need help . GUIEditor_Window = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(0.2688,0.1967,0.5025,0.5367,"Wygląd Celownikow sniperskich ",true) guiSetVisible (GUIEditor_Window[1], false) GUIEditor_Label[1] = guiCreateLabel(99,29,244,20,"Kliknij na obrazek aby wybrac celownik sniperki",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],255,0,255) guiSetFont(GUIEditor_Label[1],"default-bold-small") default = guiCreateButton(18,274,96,39,"Standardowy wyglad celownika",false,GUIEditor_Window[1]) guiSetFont(default,"default-bold-small") close = guiCreateButton(298,274,92,39,"Zamknij",false,GUIEditor_Window[1]) guiSetFont(close,"default-bold-small") B1 = guiCreateButton(18,53,84,77,"",false,GUIEditor_Window[1]) BG1 = guiCreateStaticImage(7,5,70,63,"1/1.png",false,B1) B2 = guiCreateButton(112,53,84,77,"",false,GUIEditor_Window[1]) BG2 = guiCreateStaticImage(7,5,70,63,"2/2.png",false,B2) B3 = guiCreateButton(205,53,84,77,"",false,GUIEditor_Window[1]) BG3 = guiCreateStaticImage(7,5,70,63,"3/3.png",false,B3) B4 = guiCreateButton(299,53,84,77,"",false,GUIEditor_Window[1]) BG4 = guiCreateStaticImage(7,5,70,63,"4/4.png",false,B4) B5 = guiCreateButton(18,159,84,77,"",false,GUIEditor_Window[1]) BG5 = guiCreateStaticImage(7,5,70,63,"5/5.png",false,B5) B6 = guiCreateButton(113,159,84,77,"",false,GUIEditor_Window[1]) BG6 = guiCreateStaticImage(7,5,70,63,"6/6.png",false,B6) B7 = guiCreateButton(208,159,84,77,"",false,GUIEditor_Window[1]) BG7 = guiCreateStaticImage(7,5,70,63,"7/7.png",false,B7) B8 = guiCreateButton(300,159,84,77,"",false,GUIEditor_Window[1]) BG8 = guiCreateStaticImage(7,5,70,63,"8/8.png",false,B8) ---------- function open_window ( ) if guiGetVisible ( GUIEditor_Window[1] ) then showCursor ( false ) guiSetVisible ( GUIEditor_Window[1], false ) else guiSetVisible ( GUIEditor_Window[1], true ) showCursor ( true ) end end bindKey ( "F7", "down", open_window ) -------- addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == default then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == close then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG1 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("1/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG2 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("2/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG3 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("3/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG4 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("4/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG5 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("5/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG6 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("6/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG7 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("7/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG8 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("8/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler( "onClientResourceStart", getRootElement( ), function ( startedRes ) outputChatBox(".::[Celowniki Sniperskie]::.",255,255,0,true) outputChatBox(".::[Aby otworzyc kliknij F7]::.",255,255,0,true) txd = engineLoadTXD("sniper.txd") engineImportTXD(txd, 358) end ); addEventHandler( "onClientResourceStop", getRootElement( ), function ( stoppedRes ) txd = engineLoadTXD("sniper.txd") engineImportTXD(txd, 358) end ); Why are displayed for triple?
  2. Unfortunately, the server they play on people with god mode. How to prevent it?
  3. I was concerned whether it would work at all because it is very short pivot script code.
  4. and how does it work? On what basis? https://community.multitheftauto.com/ind ... ls&id=6542
  5. Welcome. I want to upload my anti cheat MTA Dayz Server and I do not know which one to choose. https://community.multitheftauto.com/ind ... ls&id=1975 or https://community.multitheftauto.com/ind ... ls&id=6542 Or maybe he saw someone else better?
  6. Yes. I want to make this script was in English only.
  7. I'm looking for the person who will do that this script was in English only. GUIEditor_Window = {} GUIEditor_Label = {} GUIEditor_Window[1] = guiCreateWindow(0.2688,0.1967,0.5025,0.5367,"{zhran}=abozhrh ||التصويبات ||Sniper crosshair ",true) guiSetVisible (GUIEditor_Window[1], false) GUIEditor_Label[1] = guiCreateLabel(99,29,244,20,"إضغط على صورة التصويبه لتغيير التصويبة",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],255,0,255) guiSetFont(GUIEditor_Label[1],"default-bold-small") default = guiCreateButton(18,274,96,39,"التصويبه الأصلية",false,GUIEditor_Window[1]) guiSetFont(default,"default-bold-small") close = guiCreateButton(298,274,92,39,"إغلاق",false,GUIEditor_Window[1]) guiSetFont(close,"default-bold-small") B1 = guiCreateButton(18,53,84,77,"",false,GUIEditor_Window[1]) BG1 = guiCreateStaticImage(7,5,70,63,"1/1.png",false,B1) B2 = guiCreateButton(112,53,84,77,"",false,GUIEditor_Window[1]) BG2 = guiCreateStaticImage(7,5,70,63,"2/2.png",false,B2) B3 = guiCreateButton(205,53,84,77,"",false,GUIEditor_Window[1]) BG3 = guiCreateStaticImage(7,5,70,63,"3/3.png",false,B3) B4 = guiCreateButton(299,53,84,77,"",false,GUIEditor_Window[1]) BG4 = guiCreateStaticImage(7,5,70,63,"4/4.png",false,B4) B5 = guiCreateButton(18,159,84,77,"",false,GUIEditor_Window[1]) BG5 = guiCreateStaticImage(7,5,70,63,"5/5.png",false,B5) B6 = guiCreateButton(113,159,84,77,"",false,GUIEditor_Window[1]) BG6 = guiCreateStaticImage(7,5,70,63,"6/6.png",false,B6) B7 = guiCreateButton(208,159,84,77,"",false,GUIEditor_Window[1]) BG7 = guiCreateStaticImage(7,5,70,63,"7/7.png",false,B7) B8 = guiCreateButton(300,159,84,77,"",false,GUIEditor_Window[1]) BG8 = guiCreateStaticImage(7,5,70,63,"8/8.png",false,B8) ---------- function open_window ( ) if guiGetVisible ( GUIEditor_Window[1] ) then showCursor ( false ) guiSetVisible ( GUIEditor_Window[1], false ) else guiSetVisible ( GUIEditor_Window[1], true ) showCursor ( true ) end end bindKey ( "F7", "down", open_window ) -------- addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == default then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == close then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG1 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("1/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG2 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("2/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG3 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("3/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG4 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("4/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG5 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("5/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG6 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("6/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG7 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("7/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == BG8 then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) destroyElement(txd) setTimer ( function() txd = engineLoadTXD("8/sniper.txd") engineImportTXD(txd, 358) end, 100, 1, true ) end end ) addEventHandler( "onClientResourceStart", getRootElement( ), function ( startedRes ) outputChatBox(".::[sniper crosshair | By | {zhran}=abozhrh]::.",255,255,0,true) outputChatBox(".::[مود التصويبات | By | {zhran}=abozhrh]::.",255,255,0,true) outputChatBox(".::[sniper crosshair | To open it |#FF0000 Press F7 #FFFF00]::.",255,255,0,true) outputChatBox(".::[لفتحه | مود التصويبات |#FF0000 إضغط F7 #FFFF00]::.",255,255,0,true) txd = engineLoadTXD("sniper.txd") engineImportTXD(txd, 358) end ); addEventHandler( "onClientResourceStop", getRootElement( ), function ( stoppedRes ) txd = engineLoadTXD("sniper.txd") engineImportTXD(txd, 358) end ); ------------ English = guiCreateButton(120,262,66,28,"English",false,GUIEditor_Window[1]) guiSetFont(English,"default-bold-small") Arabic = guiCreateButton(225,262,66,28,"عربي",false,GUIEditor_Window[1]) guiSetFont(Arabic,"default-bold-small") ---- addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == Arabic then guiSetText ( GUIEditor_Label[1], "إضغط على صورة التصويبه لتغيير التصويبة" ) guiSetText ( default, "التصويبه الأصلية" ) guiSetText ( close, "إغلاق" ) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if source == English then guiSetText ( GUIEditor_Label[1], "Click on picture for change Sniper crosshair" ) guiSetText ( default, "Default Sniper crosshair" ) guiSetText ( close, "Close" ) end end )
  8. lubiekeppa

    Help

    Welcome. I have a server mta dayz. And I question whether I can do restart the entire server or all the vehicles on the map, as well as itemków been registered to your account?
  9. Unfortunately it did not work out. Was to be done by someone who is for me?
  10. I'll try but I doubt that happened. I was grateful if someone did this to me
  11. The problem is that I do not understand what a colleague wrote above. I have a script but it seems to me that it is not complete.The script in Polish antyRelogWindow = guiCreateWindow( 0.35, 0.03, 0.30, 0.10, "Powiadomienie", true ) guiWindowSetMovable(antyRelogWindow, false) guiWindowSetSizable(antyRelogWindow, false) text1AR = guiCreateLabel(0.08, 0.29, 0.87, 0.17, "UWAGA! Doznałeś obrażeń, przez co nie możesz opuścić serwera, dopóki to", true, antyRelogWindow) text2AR = guiCreateLabel(0.07, 0.57, 0.93, 0.20, "okienko nie zniknie! W przeciwnym razie, twoja postać zostanie uśmiercona", true, antyRelogWindow) guiSetVisible (antyRelogWindow,false) function wlaczOkienko() guiSetVisible (antyRelogWindow,true) end addEvent("wlaczInfo",true) addEventHandler ("wlaczInfo", getRootElement(), wlaczOkienko) function wylaczOkienko() guiSetVisible (antyRelogWindow,false) end addEvent("wylaczInfo",true) addEventHandler ("wylaczInfo", getRootElement(), wylaczOkienko)
  12. lubiekeppa

    DayZ help

    The problem is that some vehicles (patriot, bus) double spawn and explode. How do I fix this?
  13. Hello i search script that will do that when we get injured, we can log off after 10 seconds
×
×
  • Create New...