Jump to content

Captain Cody

Members
  • Posts

    2,753
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Captain Cody

  1. Oh yeh sorry forgot about that.
  2. I believe you can use SQL and what not do carry out this.
  3. may work - - local objects = getElementsByType("object") for i, v in ipairs(objects) do if ID ~= 3113 then local x,y,z = getElementPosition(v) local xr,yr,zr = getElementRotation(v) local ID = getElementModel (v) setLowLODElement(v,createObject ( getElementModel(v), x,y,z,xr,yr,zr,true )) end end
  4. You have to not include the object id example: if not (ID) then
  5. I don't get what you mean..
  6. c_XOffset = 0 c_YOffset = 0
  7. As with this mans server will be a bit till it's up (Longer then his though) https://forum.multitheftauto.com/viewtopic.php?f=114&t=96175
  8. Basicly here's the idea, you make sure it's known you did it first.
  9. AHAHAHHAHAH; I've seen many people "Borrowing" ideas from my server I you don't see me complaining. They take the idea it says you had an original idea in the first place.
  10. You don't need the onClientResourceStart, all you have to do is just leave it by itself in the code.
  11. Client Side :: outputChatBox("**Please wait, download in progress**", 255, 0, 0) fadeCamera(true) setCameraMatrix(2003, -881, 130, 1832, -1249, 64) Then use the download group thing at 1 That's all you need.
  12. https://wiki.multitheftauto.com/wiki/SetLowLODElement *Hint* *Hint* If your models are optimized enough you can use the same id for both the low lod and the original model without lag.' for i,v in pairs getElementsByType("object",resourceRoot) do local x,y,z = getElementPosition(v) local xr,yr,zr = getElementRotation(v) setLowLODElement(v,createObject ( getElementModel(v), x,y,z,xr,yr,zr,true ) end
  13. https://www.mediafire.com/?ww558fl8wo9wmyf
  14. https://www.mediafire.com/?8870qy6q0usodxy
  15. https://www.mediafire.com/?ww558fl8wo9wmyf Had to manually edit a few bits, some parts may be missing but the basic road and land mass and what not are all added.
  16. I'll try again today I guess.
  17. You just need the DFF. The default TXD already has all the files it needs.
  18. It could be. I'm not to sure. Haven't messed with anything in SAMP before.
  19. Find the object in the SAMP files, pull it. use engine load DFF
  20. --- Server and or client side setElementData(vehicle,"vehicle.tint",true,true) -- first (True) setting, true or false --- Client side addEventHandler( "onClientElementStreamIn", getRootElement( ), function ( ) if getElementType(source) == "vehicle" then if getElementData(source,"vehicle.tint") == true then -- Apply shader end end end ) addEventHandler( "onClientElementStreamOut", getRootElement( ), function ( ) if getElementType(source) == "vehicle" then if getElementData(source,"vehicle.tint") == true then -- Kill shader, save resources end end end )
  21. I did take a look at the col file when I exported and it in general was a tad bit screwed up. I'll redo it tomorow
×
×
  • Create New...