Jump to content

matito6

Members
  • Posts

    112
  • Joined

  • Last visited

Everything posted by matito6

  1. 2 markers in different places, not the same;]
  2. How to make two teleports with this script?
  3. Welcome. How to make two teleports with this script? marker = createMarker(-1755, 6658.1000976563, 11.300000190735, "corona", 5, 100, 0, 100, 100) function teleport(player) if getElementType(player)=="player" then local vehicle=getPedOccupiedVehicle(player) if source == marker then setElementPosition(vehicle, -2720.3000488281, 7150.3999023438, 143) setElementRotation(vehicle, 0, 0, 0) end end end addEventHandler("onClientMarkerHit", getRootElement(), teleport)
  4. Welcome. with this script, I can do only one teleport to the map DM or DD. How do I do that you can have piles teleports? marker = createMarker(-1755, 6658.1000976563, 11.300000190735, "corona", 5, 100, 0, 100, 100) function teleport(player) if getElementType(player)=="player" then local vehicle=getPedOccupiedVehicle(player) if source == marker then setElementPosition(vehicle, -2720.3000488281, 7150.3999023438, 143) setElementRotation(vehicle, 0, 0, 0) end end end addEventHandler("onClientMarkerHit", getRootElement(), teleport)
  5. i download font and I would like the word "Euro WIN!" in destructionderby.lua was what drew the font
  6. Welcome. How to add my font in destructionderby.lua function DestructionDerby:handleFinishActivePlayer(player) if not self.rankingBoard then end finishActivePlayer(player) local activePlayers = getActivePlayers() if #activePlayers == 1 then showMessage(getPlayerName(activePlayers[1]) .. ' WON ! ', 255, 0, 0) end end i want change "WON!" and "player name font " but how ? ;D
  7. Welcome. i have problem in race_client. this is my problem : original race_client have : g_GUI['travelImage']  = guiCreateStaticImage(screenWidth/2-256, screenHeight/2-90, 512, 256, 'img/travelling.png', false, nil) and my that I converted because I wanted that picture was traveling on the screen and was good at any resolution : g_GUI['travelImage']  = guiCreateStaticImage(0, 0, screenWidth, screenHeight, 'img/travelling.png', false, nil) why dont work ? run the race and the black screen -.- pls help me ;]
  8. http://www.sendspace.pl/file/66e5fcb363b5991425925a9
  9. Welcome.I do not know how to set the location of the file timeleft.png race_client because there are the same Chinese stamps. Help! :]
  10. Welcome.I have a problem in the script namely the Gui. I would like to get rid of the gui window and I want that same script "news" remained. displays on the top of the screen news. Please help me. Sorry for bad english. ;] numb = 6 rules = {} news = {} memb ={} GUIEditor_Radio = {} language = {} acceptbtn = {} welllllc = "Prawdziwy Zombi Server PL!" typese = "Stealth Server" messages = { "www.pzombi.tnb.pl", "HAdmin: Farmer", "Admin: Nurrek", "Smody: Brak", "Mody: Brak" } local weapons = { [22]=true, [23]=true, [24]=true, [25]=true, [26]=true, [27]=true, [28]=true, [29]=true, [30]=true, [31]=true, [32]=true, [33]=true, [34]=true } function start() showCursor(true) language = guiCreateWindow(0.25,0.25,0.5,0.5,"Choose a Language/Wybierz jezyk",true) guiSetAlpha(language, 0.9) guiWindowSetSizable(language,false) guiWindowSetMovable(language,false) germanpic = guiCreateStaticImage(0.2,0.135,0.03 ,0.03 , "images/de.png", true, language) englishpic = guiCreateStaticImage(0.2,0.185, 0.03 ,0.03 , "images/uk.png", true, language) turkishpic = guiCreateStaticImage(0.2,0.235, 0.03 ,0.03 , "images/tur.png", true, language) turkishpic = guiCreateStaticImage(0.2,0.285, 0.03 ,0.03 , "images/pl.png", true, language) turkishpic = guiCreateStaticImage(0.2,0.335, 0.03 ,0.03 , "images/fr.png", true, language) german = guiCreateRadioButton ( 0.06,0.125, 0.2,0.04, "Niemiecki", true, language) english = guiCreateRadioButton ( 0.06,0.175, 0.2,0.04, "Angielski", true, language) turkish = guiCreateRadioButton ( 0.06,0.225, 0.2,0.04, "Turecki", true, language) polish = guiCreateRadioButton ( 0.06,0.275, 0.2,0.04, "Polski", true, language) french = guiCreateRadioButton ( 0.06,0.325, 0.2,0.04, "Francusku", true, language) picone = guiCreateStaticImage(0.0,0.55, 1 ,0.002 , "images/red_dot.png", true, language) logo = guiCreateStaticImage(0.25,0.02, 0.73,0.55, "images/logo.png", true, language) speed = getGameSpeed() grav = getGravity() local stxml = xmlLoadFile( "xml/starti.xml" ) local sst = xmlNodeGetValue( stxml ) lbl1 = guiCreateLabel(0.1,0.6,0.9,1,sst,true,language) guiLabelSetVerticalAlign(lbl1 ,"top") guiSetFont(lbl1,"default-bold-small") guiLabelSetHorizontalAlign(lbl1 ,"left",false) guiLabelSetColor ( lbl1, 255,255,255) okbtn = guiCreateButton(0.3,0.9,0.4237,0.0534,"Dalej",true,language) addEventHandler ( "onClientGUIClick", okbtn, load2, false ) addEventHandler ( "onClientGUIClick", german, speak,false ) addEventHandler ( "onClientGUIClick", english, speak,false) addEventHandler ( "onClientGUIClick", turkish, speak,false) addEventHandler ( "onClientGUIClick", polish, speak,false) addEventHandler ( "onClientGUIClick", french, speak,false) setTimer(guiBringToFront,500,5,language ) guiSetInputEnabled(true) end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()), start) function speak() if (guiRadioButtonGetSelected(german)==true) then guiSetText(language, "WAHLE EINE SPRACHE") elseif (guiRadioButtonGetSelected(english)==true) then guiSetText(language, "CHOOSE A LANGUAGE") elseif (guiRadioButtonGetSelected(turkish)==true) then guiSetText(language, "dil secin") elseif (guiRadioButtonGetSelected(polish)==true) then guiSetText(language, "Wybierz jezyk") elseif (guiRadioButtonGetSelected(french)==true) then guiSetText(language, "CHOISIR UNE LANGUE") end end function load2( ) if (guiRadioButtonGetSelected(german) == true) then text ="german" newsss = "Neuigkeiten:" rulesss = "Regeln:" membersss = "Mitglieder:" accct = "Akzeptiere die Regeln!" warnnn = "Du must die Regeln Akzeptieren um zu Spielen oder Disconnect" lassser = "Den Laser" wannause = "Was ich benutzen mochte:" welcometo = "Willkommen zu unserem Stealth-Server" followww = "Ich akzeptiere und folge den Regeln" neeewswdw = "News Fenster" elseif (guiRadioButtonGetSelected(english) == true) then text ="english" newsss = "News:" rulesss = "Rules:" membersss = "Members:" accct = "Accept the Rules!" warnnn = "You must Accept the Rules to Join us or Disconnect!" lassser = "The Laser" wannause = "I want to Use:" welcometo = "Welcome to Our ".. typese followww = "I will accept and follow the Rules" neeewswdw = "Newswindow" elseif (guiRadioButtonGetSelected(french) == true) then text ="france" newsss = "Nouvelle:" rulesss = "Regles:" membersss = "Membres:" accct = "Accepter les regles!" warnnn = "Vous devez accepter les regles de se joindre a nous ou Debranchez!" lassser = "Le laser" wannause = "Je veux utiliser:" welcometo = "Bienvenue a notre ".. typese followww = "Je vais accepter et de suivre les regles" neeewswdw = "nouvelle fenetre" elseif (guiRadioButtonGetSelected(polish) == true) then text ="polish" newsss = "Aktualnosci:" rulesss = "Regulamin:" membersss = "Admini:" accct = "Akceptuje regulamin!" warnnn = "Zaakceptuj regulamin!" lassser = "Laser" wannause = "Wlacz:" welcometo = "Witamy na naszej ".. typese followww = "Akceptuje regulamin" neeewswdw = "Newsy" elseif (guiRadioButtonGetSelected(turkish) == true) then text ="turkish" newsss = "yenilikler:" rulesss = "kurallar:" membersss = "uyeler:" accct = "kurallarý kabul etmek!" warnnn = "senin gereken kurallary kabul edip bize katýlmalsyn yada kesilmelisin!" lassser = "Laser" wannause = "kullanmak istiyorum:" welcometo = "hosgeldiniz bizim "..typese followww = "Kabul ve kurallara uyun" neeewswdw = "Haber Pencere" elseif (guiRadioButtonGetSelected(english) == false) or (guiRadioButtonGetSelected(french) == false) or (guiRadioButtonGetSelected(turkish) == false) or (guiRadioButtonGetSelected(german) == false) or (guiRadioButtonGetSelected(polish) == false) then text ="english" newsss = "News:" rulesss = "Rules:" membersss = "Members:" accct = "Accept the Rules!" warnnn = "You must Accept the Rules to Join us or Disconnect!" lassser = "The Laser" wannause = "I want to Use:" welcometo = "Welcome to Our "..typese followww = "I will accept and follow the Rules" neeewswdw = "Newswindow" end triggerServerEvent("Language", getLocalPlayer (), thisplayer, text ) guiSetVisible(language,false) showCursor(true) local node = xmlLoadFile ( "xml/server.xml" ) local subnode = xmlFindSubNode(node,"serv", 0) local irc = xmlNodeGetAttribute ( subnode, "irc" ) local sponsors = xmlNodeGetAttribute ( subnode, "sponsor" ) local hp = xmlNodeGetAttribute ( subnode, "hp" ) local ts = xmlNodeGetAttribute ( subnode, "ts" ) local cxml = xmlLoadFile( "xml/rule.xml" ) local crule = xmlNodeGetValue( cxml ) local mxml = xmlLoadFile( "xml/memb.xml" ) local mmemb = xmlNodeGetValue( mxml ) local nxml = xmlLoadFile( "xml/news.xml" ) local nnews = xmlNodeGetValue( nxml ) welc = guiCreateWindow(0,0,1,1,"",true) guiSetAlpha(welc, 1) guiWindowSetSizable(welc,false) guiWindowSetMovable(welc,false) acceptbtn = guiCreateButton(0.3,0.9152,0.4237,0.0534,accct,true,welc) guiSetProperty( acceptbtn, "HoverTextColour", "FF2900FF" ) guiSetProperty( acceptbtn, "Disabled", "True" ) rules = guiMemoSetReadOnly(guiCreateMemo(0.1007,0.22,0.3,0.3,crule,true,welc),true) news = guiMemoSetReadOnly(guiCreateMemo(0.5745,0.22,0.3,0.3,nnews,true,welc),true) memb = guiMemoSetReadOnly(guiCreateMemo(0.5745,0.60,0.3,0.2,mmemb,true,welc),true) check = guiCreateCheckBox(0.45,0.87,0.295,0.0524,followww,false,true,welc) welclbl = guiCreateLabel(0.0578,0.0286,0.8504,0.0801,welcometo,true,welc) guiLabelSetVerticalAlign(welclbl,"top") guiLabelSetColor ( welclbl, 0,100,255) guiLabelSetHorizontalAlign(welclbl,"center",false) guiSetFont(welclbl,"sa-gothic") rules = guiCreateLabel(0.1,0.145,0.8504,0.0801,rulesss,true,welc) guiSetFont(rules,"sa-gothic") guiLabelSetColor ( rules, 100,255,0) new = guiCreateLabel(0.575,0.145,0.8504,0.0801,newsss,true,welc) guiLabelSetColor ( new, 100,255,0) guiSetFont(new,"sa-gothic") sponsor = guiCreateLabel(0.01,0.8,0.8504,0.0801,"Sponsorzy: "..sponsors,true,welc) guiSetFont(sponsor,"sa-gothic") guiLabelSetColor ( sponsor, 255,0,0) memb = guiCreateLabel(0.575,0.52,0.8504,0.0801,membersss,true,welc) guiSetFont(memb,"sa-gothic") guiLabelSetColor ( memb, 100,255,0) irclbl = guiCreateLabel(0.105,0.55,0.239,0.0505,"IRC-Kanal: "..irc,true,welc) guiLabelSetVerticalAlign(irclbl ,"top") guiLabelSetHorizontalAlign(irclbl ,"left",false) guiSetFont(irclbl,"default-bold-small") hplbl = guiCreateLabel(0.105,0.565,0.239,0.0505,"Strona: "..hp,true,welc) guiLabelSetVerticalAlign(hplbl ,"top") guiLabelSetHorizontalAlign(hplbl ,"left",false) guiSetFont(hplbl,"default-bold-small") tslbl = guiCreateLabel(0.105,0.58,0.239,0.0505,"Teamspeak: "..ts,true,welc) guiLabelSetVerticalAlign(tslbl ,"top") guiSetFont(tslbl,"default-bold-small") guiLabelSetHorizontalAlign(tslbl ,"left",false) uses = guiCreateLabel(0.01,0.6,0.8504,0.0801,wannause,true,welc) guiSetFont(uses,"sa-gothic") guiLabelSetColor ( uses, 255,255,0) madebblbl = guiCreateLabel(0.9,0.95,0.239,.0505,"CrosRoad",true,welc) -- do not change or delete this lines guiLabelSetVerticalAlign(madebblbl ,"top") guiLabelSetHorizontalAlign(madebblbl ,"left",false) guiSetFont(madebblbl,"default-bold-small") guiLabelSetColor(madebblbl, 255,100,0)-- dont change until here laseruse = guiCreateCheckBox(0.01,0.67,0.295,0.02,lassser,false,true,welc) newsuse = guiCreateCheckBox(0.01,0.69,0.295,0.02,neeewswdw,false,true,welc) addEventHandler ( "onClientGUIClick", acceptbtn, acceptss,false ) setTimer(guiBringToFront,500,5, welc ) disabledtimer = setTimer(ti, 1000,6) end function acceptss () accept = guiCheckBoxGetSelected(check) if accept == true then
  11. Ok ty , work but one problem ... I do like that they can see colors player? So far it looks like this "* # ff2400Thor # 797979 # ~ Joined The Server And Wanne Say Hi To You All" ... "# ff2400Thor # 797979 # ~" how to make colors to be shown? I mean that the numbers were hidden and shown colors
  12. Welcome. I have a script that when you type / hi should write "Euro Joined The Server Wanne And Say Hi To You All!" but it does not work . Gives you the file here .lua : function hi ( playerSource, command ) outputChatBox ( "* "..getClientName( playerSource ).." Joined The Server, And Wanne Say Hi To You All!") end addCommandHandler ( "hi", hi )
  13. ok but I need somewhere to put my script font?
  14. Welcome. I do not know how to set the font for your script "deathlist". The current font is "bankgothic" how to change it to mine? I have a "deathlist by Pato"
  15. Welcome. I do not know how to remove the respawn on the map. Is there a script for this? or something else. Please help me.
  16. Welcome. I do not know how to do it but I would like that when you enter / vote or otherwise redo maps For instance / vote next map is ... in the middle of the screen when you type / vote flashed the word redo? and players were able to post / yes or / no vote, and after finishing wrote that if the votes were cast as many votes as the no. Sorry for bad english;/ Thank you and best regards -----and I'm talking about such a vote, the end and everyone will want to restart the map when admin will do it.
  17. He played one on the server DM IP? I mean that could be done so that when you load the maps around the screen and the image is displayed when no load (download) map, you can keep playing HMMM ? Please Help
×
×
  • Create New...