Jump to content

NotAvailable

Members
  • Posts

    595
  • Joined

  • Last visited

Everything posted by NotAvailable

  1. And then>?
  2. Hi, im currently working on my Zombie server. But my zombie kills are not saving. Does someone know how i save zombie kills? Regards, Jesseunit
  3. Nice ben.
  4. I dont really get it. What you suppose to do in that video? Whats minecraft? Isnt this: drugcraft? Your planting coke? Tell me more.
  5. Hi, im currently working on a Real-Time prison. but i have 1 little problem. When "Someone" enters the marker the GUI opens-up for "Everybody in-game" How do i fix that? I tried to fix it but none of my solutions worked. Here's the GUI code: local visitMarker = createMarker( -2278.9223632813, 1904.2668457031, 8.0588625335693, "Cylinder", 1, 255, 6000, 0, 140) local pGate = createObject(976, -2280.6494140625, 1911.068359375, 7.9688630104065, 0, 0, 270.91735839844) function looool (hitElement) if getElementType( hitElement ) == "player" then window = guiCreateWindow(542,170,241,350,"Visitor",false) guiWindowSetMovable(window,false) guiWindowSetSizable(window,false) label = guiCreateLabel(48,32,150,22,"What are you doing here?",false,window) guiLabelSetColor(label,255,255,255) guiLabelSetVerticalAlign(label,"top") guiLabelSetHorizontalAlign(label,"left",false) button1 = guiCreateButton(36,68,168,43,"Visiting a partner",false,window) addEventHandler("onClientGUIClick", button1, opengate, false) guiSetFont(button1,"default-bold-small") button2 = guiCreateButton(36,121,168,43,"Visiting family",false,window) addEventHandler("onClientGUIClick", button2, family, false) guiSetFont(button2,"default-bold-small") button3 = guiCreateButton(36,174,168,43,"Im coming to free my partner",false,window) addEventHandler("onClientGUIClick", button3, free, false) guiSetFont(button3,"default-small") button4 = guiCreateButton(36,227,168,43,"Im trying to blow-up Alcatraz",false,window) addEventHandler("onClientGUIClick", button4, blow, false) guiSetFont(button4,"default-small") leave = guiCreateButton(36,280,168,43,"Leave",false,window) addEventHandler ( "onClientGUIClick", leave, hidewindow, false ) guiSetFont(leave,"default-bold-small") showCursor(true) end end addEventHandler( "onClientMarkerHit", visitMarker, looool) function hidewindow(player) guiSetVisible (window,false) showCursor(false) end function showhide(player) if player == getLocalPlayer() and source == visitMarker then guiSetVisible (window,true) showCursor(true) end end function opengate() guardWindow = guiCreateWindow(225,40,333,134,"Guard",false) guiWindowSetMovable(guardWindow,false) guiWindowSetSizable(guardWindow,false) guardMemo = guiCreateMemo(16,27,304,76,"Ok, go ahead",false,guardWindow) guiMemoSetReadOnly(guardMemo,true) guardButton = guiCreateButton(109,107,121,17,"Closing in 2 seconds.",false,guardWindow) guiSetFont(guardButton,"default-small") guiSetVisible(guardWindow, true) guiSetVisible(window, false) showCursor(false) guiBringToFront(guardWindow) setTimer(gateUp, 500, 1) setTimer(closeGuardWindow, 2500, 1) setTimer(gateBack, 3000, 1) end function gateUp() moveObject(pGate, 400, -2280.6494140625, 1911.068359375, 10.81021785736) end function gateBack() moveObject(pGate, 400, -2280.6494140625, 1911.068359375, 7.9688630104065) end function closeGuardWindow() guiSetVisible(guardWindow, false) showCursor(false) end function free() guardWindow = guiCreateWindow(225,40,333,134,"Guard",false) guiWindowSetMovable(guardWindow,false) guiWindowSetSizable(guardWindow,false) guardMemo = guiCreateMemo(16,27,304,76,"Yeah, and i gotta believe that!\nYou wont get in here homeboy.\nIf you do, we will open fire at you.",false,guardWindow) guiMemoSetReadOnly(guardMemo,true) guardButton = guiCreateButton(109,107,121,17,"Close",false,guardWindow) addEventHandler("onClientGUIClick", guardButton, closeGuardWindow, false) guiSetFont(guardButton,"default-small") guiSetVisible(guardWindow, true) guiSetVisible(window, false) showCursor(true) guiBringToFront(guardWindow) end function family() guardWindow = guiCreateWindow(225,40,333,134,"Guard",false) guiWindowSetMovable(guardWindow,false) guiWindowSetSizable(guardWindow,false) guardMemo = guiCreateMemo(16,27,304,76,"Ok, go ahead",false,guardWindow) guiMemoSetReadOnly(guardMemo,true) guardButton = guiCreateButton(109,107,121,17,"Closing in 2 seconds.",false,guardWindow) guiSetFont(guardButton,"default-small") guiSetVisible(guardWindow, true) guiSetVisible(window, false) showCursor(false) guiBringToFront(guardWindow) setTimer(gateUp, 500, 1) setTimer(closeGuardWindow, 2500, 1) setTimer(gateBack, 3000, 1) end function blow() guardWindow = guiCreateWindow(225,40,333,134,"Guard",false) guiWindowSetMovable(guardWindow,false) guiWindowSetSizable(guardWindow,false) guardMemo = guiCreateMemo(16,27,304,76,"Run away, before i blow you up!",false,guardWindow) guiMemoSetReadOnly(guardMemo,true) guardButton = guiCreateButton(109,107,121,17,"Closing in 3 seconds.",false,guardWindow) guiSetFont(guardButton,"default-small") guiSetVisible(guardWindow, true) guiSetVisible(window, false) showCursor(false) guiBringToFront(guardWindow) setTimer(closeGuardWindow, 3000, 1) end Hope someone could help me. Regards, Jesseunit
  6. I am currently working with some scripters and mappers on a new gamemode. Called: Squadrush Information: Its based on Battlefield : Bad Company 2 But then its like RPG / TDM / Zombie zones
  7. I`ve saw these scripts on Valhalla
  8. Hi, I was searching a music player GUI, But i found NONE. So i made one! ABOUT: Press: F2 to open/close U NEED TO ADD YOUR OWN SONG IN THIS VERSION! FEATURES: Play Stop GUI Window COMING IN V.2: Players will be able to play their own songs(GTA User Tracks) Pause button Advanced GUI Some improvements And much more! DOWNLOAD: https://community.multitheftauto.com/index.php?p= ... ls&id=1127 Thanks to Varez, for helping with some bugs. Regards, Jesseunit
  9. addEventHandler("onClientResourceStart",resourceRoot, function() window = guiCreateWindow(15,306,121,48,"Audio Options",false) guiWindowSetSizable(window,false) on = guiCreateButton(9,24,40,15,"on",false,window) addEventHandler ( "onClientGUIClick", on, startSound, false ) off = guiCreateButton(64,25,40,14,"off",false,window) addEventHandler ( "onClientGUIClick", off, lol, false ) end ) function startSound () local sound = playSound("armysound.mp3", false) setSoundVolume(sound, 1.0) end function lol () if isElement(sound) == playing then setSoundVolume(sound, 0.0) end end
  10. Hmmm.... 1 thing. The 'off' button is not working
  11. Nope its still the same:
  12. Ok thanks ill try to fix it
  13. Hi, Im working on a music player GUI. But when i press the ON button, It says in debug: ERROR: audio/audio_c.lua:14: Stack Overflow Here is my code(client): addEventHandler("onClientResourceStart",resourceRoot, function() window = guiCreateWindow(15,306,121,48,"Audio Options",false) guiWindowSetSizable(window,false) on = guiCreateButton(9,24,40,15,"on",false,window) addEventHandler ( "onClientGUIClick", on, playSound, false ) off = guiCreateButton(64,25,40,14,"off",false,window) addEventHandler ( "onClientGUIClick", off, stopSound, false ) end ) function playSound () local sound = playSound("cripsnbloods.mp3", false) setSoundVolume(sound, 0.5) end function stopSound () setSoundPaused(sound, true) end I dont know whats the problem, Regards, Jesseunit
  14. Ok. i start the resource, No errors anything. I join the server, Login... But nothing happens. I want like when a player registers, He sees the tutorial.
  15. Hi, EDIT: FIXED! I got a Tutorial script Ex. When you register the tutorial will start every 10 seconds it changes the camera from position. But it doesnt work. Here is the script (tuto_c): ---Tutorial function tutoWideScreen() dxDrawRectangle(0.0,652.0,1523.0,215.0,tocolor(0,0,0,255),false) dxDrawRectangle(0.0,0.0,1523.0,215.0,tocolor(0,0,0,255),false) showPlayerHudComponent ("radar", false ) end function tutu() setCameraMatrix(2023.45703125, 1555.7138671875, 23.787837982178,-1800,0,-2000) addEventHandler("onClientRender",root,tuto1) addEventHandler("onClientRender",root,tutoWideScreen) setTimer(remove1,12000,1) lol = setTimer(tutorial2,12000,1) end addEvent("startTutu", true) addEventHandler ("startTutu", getRootElement (), tutu) function tutorial2() setCameraMatrix(2115.1982421875, 2260.0625, 14.8203125,-14000,0,-8000) addEventHandler("onClientRender",root,tuto2) setTimer(remove2,12000,1) lol2 = setTimer(tutorial3,12000,1) end function tutorial3() setCameraMatrix(34,-9,50.0,-5,-10,20) addEventHandler("onClientRender",root,tuto3) setTimer(remove3,12000,1) lol3 = setTimer(tutorial4,12000,1) end function tutorial4() setCameraMatrix(-1990.96484375, 285.1650390625, 38.889850616455,10000,3500,-2000) addEventHandler("onClientRender",root,tuto4) setTimer(remove4,12000,1) lol4 = setTimer(tutorial5,12000,1) end function tutorial5() setCameraMatrix(1976.69921875, 2049.5712890625, 14.8203125,10000,6500,-3000) addEventHandler("onClientRender",root,tuto5) setTimer(remove5,12000,1) lol5 = setTimer(tutorial6,12000,1) end function tutorial6() setCameraMatrix(1353,-1274,22.0,1364,-1278,16.54) addEventHandler("onClientRender",root,tuto6) setTimer(remove6,12000,1) lol6 = setTimer(tutorial7,12000,1) end function tutorial7() setCameraMatrix(907.3076171875, -1778.11328125, 13.540578842163,10000,-8000,0) addEventHandler("onClientRender",root,tuto7) setTimer(remove7,12000,1) lol7 = setTimer(tutorial20,12000,1) end function tutorial20() addEventHandler("onClientRender",root,tuto20) setTimer(remove20,5000,1) end function tuto1() dxDrawText("Welcome at European Zombie Roleplay BETA, every new player will be spawned at this place!",21.0,500.0,250.0,291.0,tocolor(255,255,255,255),1.0,"default","left","top",false,true,true) end function tuto2() dxDrawText("Here you can buy a new skin, you can always come back and change it!",21.0,500.0,250.0,291.0,tocolor(255,255,255,255),1.0,"default","left","top",false,true,true) end function tuto3() dxDrawText("[HAY] This is a minigame if you reach the top you'll get much cash!",21.0,500.0,250.0,291.0,tocolor(255,255,255,255),1.0,"default","left","top",false,true,true) end function tuto4() dxDrawText("[CAR SHOP] Here you can buy your own car, you can spawn your car with your playermenu by pressing L!",21.0,500.0,250.0,291.0,tocolor(255,255,255,255),1.0,"default","left","top",false,true,true) end function tuto5() dxDrawText("[PIZZA] Here you can start the job 'Pizza Delivery' ",21.0,500.0,250.0,291.0,tocolor(255,255,255,255),1.0,"default","left","top",false,true,true) end function tuto6() dxDrawText("[CHAO LUNGS AMMO-NOODLES] Here you can buy Weapons / Ammo",21.0,500.0,250.0,291.0,tocolor(255,255,255,255),1.0,"default","left","top",false,true,true) end function tuto7() dxDrawText("[HOME] You can buy in European Zombie Roleplay (EZR) your own houses, Soon u can save your cars there!",21.0,500.0,250.0,291.0,tocolor(255,255,255,255),1.0,"default","left","top",false,true,true) end function tuto20() dxDrawText("Thanks for reading this mother fucking tutorial, now fuck off and play.",21.0,500.0,250.0,291.0,tocolor(255,255,255,255),1.0,"default","left","top",false,true,true) end function remove1() removeEventHandler("onClientRender",root,tuto1) end function remove2() removeEventHandler("onClientRender",root,tuto2) end function remove3() removeEventHandler("onClientRender",root,tuto3) end function remove4() removeEventHandler("onClientRender",root,tuto4) end function remove5() removeEventHandler("onClientRender",root,tuto5) end function remove6() removeEventHandler("onClientRender",root,tuto6) end function remove7() removeEventHandler("onClientRender",root,tuto7) end function remove20() removeEventHandler("onClientRender",root,tuto20) removeEventHandler("onClientRender",root,tutoWideScreen) showPlayerHudComponent ("radar", true ) end addEventHandler("onClientPlayerRegister", getRootElement(), startTutu) Can someone help me? Thanks! Regards, Jesseunit
  16. Hello, Does someone know how to replace Pedestrian skins? I know how to replace car skins but i dont know how to replace ped skins. Regards, Jesseunit
  17. YouTube: Regards, Jesseunit
  18. COLD ICE BABY! ICE COLD BABY! nice.
  19. Thankyou i use it for my race server
  20. Maybe ask the Creator(me)
×
×
  • Create New...