Jump to content

manve1

Retired Staff
  • Posts

    1,283
  • Joined

  • Last visited

Everything posted by manve1

  1. https://wiki.multitheftauto.com/wiki/Scr ... troduction
  2. manve1

    TXD error

    Yes, I make my own 3 models, the other one i made worked fine and i done the same thing as this one that's giving me trouble. -Edit: It worked after the new nightly update. Thanks anyway.
  3. manve1

    TXD error

    I get this error on txd replacement: The folder exist; The TXD file is correct. My script is simple: local colCH = engineLoadCOL( "models/chest.col" ) engineReplaceCOL( colCH, 1362 ) local txdCH = engineLoadTXD( "models/chest.txd" ) engineImportTXD( txdCH, 1362 ) local dffCH = engineLoadDFF( "models/chest.dff", 1362 ) engineReplaceModel( dffCH, 1362 ) everything loads in, except the TXD. META object loading: <file src="models/chest.txd" /> <file src="models/chest.col" /> <file src="models/chest.dff" /> Any clues why this is happening?
  4. Any errors in /debugscript 3?
  5. Can you post your meta.xml file?
  6. road1 = createObject (3458, 3543.55078125, -1537.4228515625, 498.25500488281, 0, 0, 255) moveObject ( road1, 2000, 3543.55078125, -1537.4228515625, 502, ) ^ this would fix your code. road1 = createObject (3458, 3543.55078125, -1537.4228515625, 498.25500488281, 0, 0, 255) setTimer(function moveObject ( road1, 2000, 3543.55078125, -1537.4228515625, 502, ) end, 5000, 1) setTimer(function() local ox,oy,oz = getElementPosition(road1) if ox == 3543.55078125 and oy == -1537.4228515625 and oz == 502 then moveObject(road1, X, Y, Z ) -- replace X,Y,Z end end, 30000, 1 ) ^ this is a rough code, but it would move the object after 5000 mili-seconds to the position you set, and after 30000 mili-seconds the code would see if it is in the place that you put it at and if it returns true then it would move to another place (X,Y,Z)
  7. manve1

    add skin

    you can't replace skins for certain ID's as far as i tried.
  8. manve1

    [Help] Radar

    every so often hide it, then check if it is visible if it isn't show it again and repeat the process
  9. With only blips its not to make it easier, it's to make it harder as in some gamemodes you could use that and a lot of people like me use mini-map to drive around place without the need of f11.
  10. Turiu kas veikt, ir negaila, tik serveri sitaip reklamuot nepatariu
  11. Bandei su F3 padaryt 'Double-Sided'?
  12. Taigi nores chiuvai uzeit i serveri, tai per "Server Browser" susiras, patyks pasiliks, nepatyks iseis ir tiek, o su admin panele gali patykrint tarp kokios salies jis gyvena.
  13. Prie IP, jeigu negauni zaideju tarp serverio, tai kodel reklamuot taip lievai?
  14. Nieko, o kas turetu but?
  15. Nemanai kad jau tu "DayZ" serveriu perdaug? Iskarto reiskias jau nebe "DayZ", nes daugiau/maziau automobiliu, o dayZ turi tik tam tikra kieki ir aisku kad galima perscriptint masinu,motociklu ar dviraciu elgesi per MTA kad sutaptu su DayZ modo automobiliais. Tikiuosi kad atrodo kaip DayZ skin'ai, kitaip vel gaunasi kad nebe "DayZ" modo kopija Tikiuosi vel kad eina link DayZ modo. Naujos kuprines? Tikiuosi vel kad nera daugiau negu DayZ modas turi ir skin'ai nauji? reiskias kitaip atrodis nuo DayZ modo ar kaip cia? Kokie cia tie 'savininkai' modifikavo ta serveri, nickus galetumem suzinot? beto ka galejot pakeist? modelius ir texturas gal dar ir collision'us? nes visas pagrindas yra sukompilintas, reiskias nieko perskriptint daug negalejot.
  16. manve1

    Infernus skin

    post the code you use to replace old texture, tho dff is the model file
  17. I use 2014 3Ds Max, KAMS scripts work fine.
  18. manve1

    Read!

    You won't get a 1GB resource just by scripting, even with 3D model changing some gamemodes don't achieve 100MB or more, plus you can only do it client-side and don't forget about server-side in addition to that cracking torrent so that they would allow going through the servers system is pretty easy (applying a virus to download everything from the server files, i am not going to go in detail on that), so that would enable high risks of the server getting ruined. It's not worth adding it through out torrents and as others said, why would you put shit loads of mods only because you think they look good and other people not having good internet speeds to download them?
  19. Sitas "MTA:DayZ" modas turi VOIP? ar kaip kiti tik suda mala kad kaip DayZ?
  20. manve1

    Pirate_SHIP

    Anytime.
  21. manve1

    Pirate_SHIP

    When you hit the col shape, you need to apply a timer to get if the player is in the col shape every so often and if it returns true, you give him the money, if it returns false, destroy the timer or if he leaves the col shape, destroy the timer. EDIT: You basically done that, but try this: Cuboid1 = createColCuboid(1995.8243408203, 1517.3013916016, 13.53852558136, 100, 14, 100) Blip = createBlip(2003, 1533, 35, 19, 2, 0, 0, 0, 255, 0, 500, getRootElement()) addEventHandler('onColShapeHit', Cuboid1, function( player ) outputChatBox("#FFFFFFYou Entered in Pirate Boat REWARD:#00FF00You will get Random Money", player, 0, 0, 0, true) theMoneyTimer = setTimer(function() if isElementWithinColShape(p,Cuboid1) then givePlayerMoney(p,math.random(50, 500)) elseif isTimer(theMoneyTimer) then destroyTimer(theMoneyTimer) end end, 2000, 0 ) end ) addEventHandler('onColShapeLeave', Cuboid1, function( player ) outputChatBox("#FFFFFFYou Leaved in Pirate Boat", player, 0, 0, 0, true) if isTimer(theMoneyTimer) then destroyTimer(theMoneyTimer) end end )
  22. manve1

    Rims Change?

    You don't change the files for GTA, all you do is you get the names of the files + ID which is what you need, then after that, go to ImgTool load up gta3.img and search for the rim ID, after that extract the dll and re-model, use a script code to make a resource on change of the rims.
  23. manve1

    Rims Change?

    Basically start it up, locate to your GTA SA folder, it will get every single model,texture and collision (of course it is a beta it crashes sometimes, just wait like 4-15 mins before starting it up), but after when you get everything loaded up just search for the stuff you need by ID, name and you will get all of the information after you double click on an item.
  24. DirectX needs an event to render it: onClientRender/onClientPreRender.
×
×
  • Create New...