Jump to content

zombienation

Members
  • Posts

    314
  • Joined

  • Last visited

Everything posted by zombienation

  1. but i mean when i'm in editor to create the map file with the pickups? i'm sorry if this question is kinda dumb, but i havent checked it yet if the options are in editor when u create a pickup, i'm on phone now
  2. yes idd i have noticed it, i'm just sure about how to add the weaponpickups inside an interior and other dimension
  3. hello, i was trying to start on a gladiatorfighting script, but when i tried to work inside an interior id, there were invincible zombies running around, i warped again there and did wallhack on, and idd, invincible zombies, lol i tried on internior ID 15 and 14, what should be inside the stadiums, now, if i want to change the dimension to, would this line be enough? setElementDimension (player, 10) i can add weaponpickups inside an interior and different dimension on a private editor server right? thanks
  4. hello, how is it possible to make it able to save tuning on vehicles the player own on his account ( by buying the car ) i cant figure out how to save the tuning after going to the modshop, so the tuning is still on the vehicle after u respawn it, or if possible after it get destroyed.. i'm trying to fix something for it with stuff from this resource https://community.multitheftauto.com/index.php?p= ... ls&id=2604 thx
  5. sorry my bad i got confused with my mode and the original, there are more lua's in mine and i forgot wich weren't the original lol it all works now, no original zombieskins, thanks
  6. hmm thanks ! and also for your zombie skin replacement script, are "skin replacements" only in client lua or also in the others?
  7. yes, is it possible and wont it have effect on something alse on the script? ( with me they didn't spawned )
  8. well i tried to put off the skinmods in the zombie script, so the peds will spawn with there original skins and with zombie functions, then i dont need to change everything out of script A to inside script B and that could spare me much much more time
  9. i'll try to use the skinmod from 105 on 258 and see if that works on 258 is there a way to disable the skins in zombiescript without disabeling them to spawn? i tried to delete the skinlines from client and meta, the script start but no zombies spawned, maybe there is something i forgot somewhere? Edit: it works the normal modding
  10. forget my last question i just tried it and it works, but still the 258 skin dont change, when i try it on an other skin id, i tried on 13, it works.. when i use my normal script for the skins, 258 changes,.. but i just figured out its better not to use double skins on 1 id, lol does that mean that mod 258 is a bad skinmod to use?
  11. Thx a lot. I guess your script would spare me a lot of time also. Gonna test it but I just put it in the zombie client or in a new client side lua?
  12. so as example for 105 and 258, i delete this? local skin = engineLoadTXD ( "skins/230.txd" ) --will work for brains hobo by Slothman engineImportTXD ( skin, 258 ) and the same for 105 and replace it with what u just showed? i dont need to add the skin id's or stuff in this part ? addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) for skin, model in pairs ( zombieSkins ) do if ( fileExists ( model ..".txd" ) and fileExists ( model ..".dff" ) ) then engineImportTXD ( engineLoadTXD ( model ..".txd" ), tonumber ( skin ) ) engineReplaceModel ( engineLoadDFF ( model ..".dff", 0 ), tonumber ( skin ) ) end end end )
  13. hello, i'm trying to figure out how to change the zombieskins in the zombiescript.. i tried this: original skin lines for zombies, .... local skin = engineLoadTXD ( "skins/229.txd" ) --infected tourist by Slothman engineImportTXD ( skin, 230 ) local skin = engineLoadTXD ( "skins/230.txd" ) --will work for brains hobo by Slothman engineImportTXD ( skin, 258 ) .... the skins i want to use also have a .dff file, so i tried this first local ID = 29 txd = engineLoadTXD("105.txd", 105) engineImportTXD(txd, 105) dff = engineLoadDFF("105.dff", 0) -- When you're replacing something else than a vehicle the ID must be 0. engineReplaceModel(dff, 105) local ID = 29 txd = engineLoadTXD("258.txd") engineImportTXD(txd, 258) dff = engineLoadDFF("258.dff") engineReplaceModel(dff, 258) with skin 105 everything works as it shud, when i try 100% the same for skin 258 ( included the missing parts that are here in the lines for skin 105 and not in 258 ) it dont work, then i tried how i show the lines for 258, and it dont work either, could anybody help me showing what i'm doing wrong or how to do it right? i rename the skin files to the original names of the zombieskins so the files get recognised if the lines are good thx
  14. Hello, Is there a way to make it possible for resources to restart automaticly after a amount of time? Thx
  15. No its not the freeroam resource, I added.a.script from a friend. From then i have the double.chat, when it is off its all ok. So i have to look in all the luas, wich are maybe 25 lol. I will see what i will find on the info u gve me. Thx
  16. Hello, I am trying to merge some stuff in my server and i have a double chat, I know i fixed it by looking in the luas but i forgot what to look for in the lines lol. Could anybody who had this to tell me how i can search the lines by searching on a word? If u remember it lol This could spare me some time Thx
  17. Thanks, I'll add it after work, Last night i have also noticed that this anti damage script bugs the zombies. When i have it on, zombies can only die with headshot. Is it possible to get this right pls? Thx
  18. Is it also possible to make the peds stay on there location? For example, when players hit a ped with a car or explosion, The ped moves away from his spawnlocation. Is it possible to make them "solid" on their location? Thx
  19. aaaah no, i tought i had to add it in the team/ped lines i just showed. i'll make a client lua now, thanks
  20. thanks, but i tried it but didn't worked, maybe i better showed the full mechanic lines and not just only the ped.. sorry for that mechanic1 = createPed(50,-2614, 1354, 7, 0) setElementHealth(mechanic1, 100) mechanicpickup = createPickup (-2614, 1354, 7, 3, 1275, 15000 ) function mechanicskinpickup ( thePlayer ) setPedSkin ( thePlayer, 50 ) setPlayerTeam ( thePlayer, teammechanic ) setElementData ( thePlayer, "zombie", false ) createVehicle(525,-2607,1355,10) end addEventHandler ( "onPickupUse", mechanicpickup, mechanicskinpickup ) addEventHandler ("onPickupUse", getRootElement(), function (playerWhoUses) if (source == mechanicpickup) then setPlayerNametagText (playerWhoUses, "" .. getPlayerName (playerWhoUses)) setElementData (playerWhoUses, "job", "farm") outputChatBox ( "* " .. getPlayerName(playerWhoUses) .. " joined mechanic team, go in a car and press /repair to repair it", getRootElement(), 255, 255, 0,false) end end)
  21. hello, i have this thing that my players always kills the peds on the server, peds with skinpickup, to show what skin is wich pickup.. is it possible to make peds stay standing even when they get shot? thx here is a line of how i add the peds mechanic1 = createPed(50,-2614, 1354, 7, 0) setElementHealth(mechanic1, 100)
  22. i just for fun, it was late, i was high, it was funny
×
×
  • Create New...