Jump to content

mint3d

Members
  • Posts

    425
  • Joined

  • Last visited

Everything posted by mint3d

  1. Ye thats what I am saying.. How to make it for Colshapes?
  2. Sorry for late reply but it didn't work with the setElementData.. addEventHandler("onColShapeHit", createColRectangle (96, 1788, 184, 145), function(h)if not isElement(h) then return end if getElementData(h,"zombie") then killPed(h) end end) setElementData(col, "zombieProof", true) I get this error.. WARNING: Zombie-System\zombie_server.lua:27: Bad argument @ 'setElementData' [Expected element at argument 1, got nil] This is the zombieproof script if it helps.. addEvent( "onZombieSpawn", true ) function RanSpawn_Z ( gx, gy, gz, rot) local safezone = 0 local allradars = getElementsByType("radararea") for theKey,theradar in ipairs(allradars) do if getElementData(theradar, "zombieProof") == true then if isInsideRadarArea ( theradar, gx, gy ) then safezone = 1 end end
  3. Ok so I am planning on making a server for my mates about 20 of them who have just left mta to go to samp they claim it has better zombie rpg type servers. I was wondering if anyone could help me with some stuff? So I can try regain the players back and maybe they will bring people from samp..
  4. Your missing the full point. The script must have the setelement zombieproof in it.
  5. setElementData (createRadarArea(2418.4255371094, -1735,121.6306152344,100,0,150,0,153),"zombieProof",true) addEventHandler("onColShapeHit", createColRectangle (2418.4255371094, -1735,121.6306152344,100), function(h)if not isElement(h) then return end if getElementData(h,"zombie") then killPed(h) end end) This is a working one I use in another place.. only thing is I don't want the radar.. Can you help me with the original onColShapeHit maybe this code can help both you?
  6. That part of the script is fine.. I just want this local col = createColRectangle (96, 1788, 184, 145) to be zombieproof which means zombies won't spawn inside it.
  7. [20:13:34] SCRIPT ERROR: zombies/zombie_server.lua:26: unexpected symbol near ', ' [20:13:34] ERROR: Loading script failed: zombies/zombie_server.lua:26: unexpect e d symbol near ','
  8. WARNING: zombies/zombie_server.lua:29: Bad argument @ 'setElementData ' [Expected element at argument 1, got string 'zombieProof'] 5:05] WARNING: zombie s/zombie_server.lua:30: Bad argument @ 'addEventHandle r' [Expected element at argument 2, got nil] 5:0
  9. [19:45:34] SCRIPT ERROR: zombies/zombie_server.lua:29: unexpected symbol near ', ' [19:45:34] ERROR: Loading script failed: zombies/zombie_server.lua:29: unexpect e d symbol near ','
  10. It's not working... now its like everywhere is zombieproof.. I want only this area 96, 1788, 184, 145 the ColRectangle..
  11. I need some help basically I want something to be set "zombieproof" I need help I want to set it zombieproof the colRectangle.. setElementData ("zombieProof", true), addEventHandler("onColShapeHit", createColRectangle (96, 1788, 184, 145), function(h)if not isElement(h) then return end if getElementData(h,"zombie") then killPed(h) end end)
  12. It doesn't show up in that as a world item.
  13. but I don't know the ID of it...
  14. Try this https://community.multitheftauto.com/in ... ls&id=9004
  15. http://postimg.org/image/oj5gdgvtx/ Ok so I am trying to remove this from the game and ye I was using the script that shows the textures and it showed up with this ganggraf03_la how to I remove it? please help me.
  16. How would I put it into a script? I mean surely I can't just add that line..
  17. So it disabled all music in every interior?
  18. mint3d

    HELP!

    To edit the colours edit this 255, 0, 0
  19. mint3d

    HELP!

    I think this is what you mean. This sets the players name red when they join the server. function nametagColorChange ( thePlayer, r, g, b ) setPlayerNametagColor ( thePlayer, 255, 0, 0 ) end addEventHandler ( "onPlayerJoin", nametagColorChange )
  20. Ok so I have this script addEventHandler( 'onClientResourceStart', resourceRoot, function( ) local sound = playSound3D( 'http://www.181.fm/winamp.pls?station=181-power&style=mp3&description=Power%20181%20(Top%2040)&file=181-power.pls', 488.087890625, -14.6435546875, 1000.6796875 ) setSoundMaxDistance(sound, 4000 ) setElementDimension ( sound, 7 ) setElementInterior ( sound, 17 ) setSoundVolume(sound, 1) setInteriorSoundsEnabled end ) Everything worked good until I tried to remove the original music from Alhambra can someone help me? I want to remove Alhambra music.
  21. Your first script worked for only elegys and ye I have a lot of different values at each of them so I don't know
  22. I don't know why I have it stated that many times I don't know how to make it less coding lol
  23. lol I am being a noob where should I add that? sorry for me being a noob lol new to this
×
×
  • Create New...