marty000123

Members
  • Content count

    258
  • Joined

  • Last visited

  • Days Won

    2

marty000123 last won the day on May 17 2017

marty000123 had the most liked content!

Community Reputation

39 Good

5 Followers

About marty000123

  • Rank
    Red-Headed Stepchild

Details

  • Gang
    Zombies

Recent Profile Visitors

895 profile views
  1. Isn't this an edited gamemode from a couple of servers that already exist? Other than that, I must say it looks good.
  2. Peds are :Oing up my script

    I mean, I thought I was pretty clear when I said ''here's my code'' and ''i added your line to it''. Even a baby can understand that my final code looks like the code I originally sent, plus the line you gave me. I also already said that it didn't work, hence my request for further help. So if you want to help me, then help me, appreciate it, but don't act like a :O. function katana(attacker, weapon, bodypart, loss) if getElementType(thePlayer) == "player" then if getTeamName(getPlayerTeam(attacker)) == "Infected" then if getPedWeapon(attacker) == 8 then setElementHealth(source, getElementHealth(source) - 40 ) end end end end addEventHandler("onPlayerDamage", root, katana)
  3. Peds are :Oing up my script

    So ye can I get some additional help with this? Still haven't fixed it. The script doesn't work either.
  4. Peds are :Oing up my script

    Yup.
  5. Peds are :Oing up my script

    It's obviously that the peds attack is also being registered and checked. But since it doesn't have a team, it :Os up. I have done the check that if the element is a player, this and that happens, but it didn't seem to work.
  6. Peds are :Oing up my script

    That worked, thanks! Now I have a similar problem with peds. Whenever a zombie hits me, the following 2 warnings happen (theyre connected but i cant figure out how to fix): WARNING: playerzombie/server.lua: BAd argument @ getPlayerTeam [expected player at argument 1, got ped] [DUP x2] WARNING: playerzombie/server.lua: Bad argumetn @ getTeamName [expected team at argument 1, got boolean] [DUP x2] function katana(attacker, weapon, bodypart, loss) if getTeamName(getPlayerTeam(attacker)) == "Infected" then if getPedWeapon(attacker) == 8 then setElementHealth(source, getElementHealth(source) - 40 ) end end end addEventHandler("onPlayerDamage", root, katana)
  7. Peds are :Oing up my script

    ''WARNING: redzone/server.lua:6: Bad argument @ getAccountName [Expected account at argument 1, got boolean] [DUP x5]'' ''ERROR: redzone/server.lua:7: attempt to concatenate local √°ccName' (a boolean value)'' This doesn't happen when I have my zombies turned off. So the peds are :Oing up the script, does anyone know a solution to this? redzone = createRadarArea ( -978.54296875, -343.0224609375, 3900, 800, 255, 0, 0, 30) local redz = createColRectangle ( -978.54296875, -343.0224609375, 3900, 800 ) function hill_Enter ( thePlayer, matchingDimension ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Staff" ) ) then local playerName = getPlayerName ( thePlayer ) if getElementType ( thePlayer ) == "player" then killPed(thePlayer) outputChatBox ( playerName.." entered the redzone, and died of radiation!", root, 255, 255, 109 ) end end end addEventHandler ( "onColShapeHit", redz, hill_Enter )
  8. [Zombie TDM/RPG] DMC - The Zombie Invasion [ENGLISH]

    I've decided to rename the server to The Zombie Invasion again. The server is not just an ordinary server, it's a project that exists since early 2014, something that never dies. Renaming it in the first place was a mistake. Enjoy the server!
  9. Prone

    Is this possible on MTA?
  10. [Zombie TDM/RPG] DMC - The Zombie Invasion [ENGLISH]

    The server, Zombie Invasion 2.0, is now officially released! Current server version: 2.0.0. Since 17 Sept. 2017. No more closed beta. Feel free to join our open, public server at mtasa://198.23.193.197:22050!
  11. [Zombie TDM/RPG] DMC - The Zombie Invasion [ENGLISH]

    Our server is doing realy well again! The new server is around 2 weeks old now, and we already retrieved quite some scripts, and help from other people. We are currently in BETA stage, but you can already join us on mtasa://198.23.193.197:22050. Yesterday, we got 20+/30! I'll keep everyone here updated with news regarding our server. The estimated release (the moment when we get out of BETA) will be in about a month. We have Skype, Discord and a forum. Please join our community @ www.darkmooncommunity.com! We're continously developing, full-time. We'll start posting media once we get out of BETA, so stay tuned!
  12. Anti-zombie player

    The point is not to create a new kind of zombie. The Katana part will be the player that's spawned in the zombie class. I'll try it out, thanks.
  13. Anti-zombie player

    It's not working too well. It gives a warning. My scripter is on it at the moment. Thanks a lot though, pushed me into the right direction! But now I have another problem. It's with another part of the same script. The point of the bit is to make players lose 40hp when they're hit by a zombie player. But it doesn't seem to work, and it gives 0 warnings and 0 errors. Help would be nice. function katana(attacker, weapon, bodypart, loss) if getElementData(getRootElement(), "zombie", true) then if getPedWeapon (getRootElement()) == 8 then setElementHealth ( attacker, getElementHealth(attacker) - 40 ) end end end addEventHandler("onPlayerDamage", getRootElement(), katana)
  14. Anti-zombie player

    Thanks for the reply, function makeZombie(thePlayer) if getTeamName(getPlayerTeam(thePlayer)) == "Infected"then setElementData(thePlayer, "zombie", true) end end addEventHandler("onPlayerSpawn", getRootElement(), makeZombie) This is what I have now. Still no luck, and no errors/warnings.
  15. Anti-zombie player

    https://pastebin.com/eruNwKBD