Scripting Moderators
  • Content Count

  • Joined

  • Last visited

  • Days Won


CodyJ(L) last won the day on January 19

CodyJ(L) had the most liked content!

Community Reputation

522 MTA Ambassador

About CodyJ(L)

  • Rank
    Scripting Section Moderator
  • Birthday September 13


  • Gang
  • Location
    Deep mountains of Montana
  • Occupation
    91 B
  • Interests

Recent Profile Visitors

13,386 profile views
  1. I'll update it as soon as I get a new rig
  2. If you do something truly unique then yes. My project for example has hundreds of people waiting for it if I ever finish it. Alot of things that people think are unique really are not and are mostly the same bull :~ that you come to expect everywhere.
  4. Alright first of all, next time you post please put the Lua stuff in the Lua boxes or whatever the hell they are called in the editor it can be found by clicking on the <>. Secondly please explain the issue more then just 'I don't know what's missing'.
  5. text1 = dxDrawText ( "Click to copy", 700, 828, 150,"Click to copy" ) function setClipboardF (texts) setClipboard(texts) end addEventHandler("onClientGUIClick", tex1, setClipboardF, false)
  6. Sorry for a bit of a late response, haven't been reading forums much lately. When you active the function loop through the panels and save their states. On vehicle damage loop through and restore their states to what has been saved. damageTable = {} function setVehiclePanelsDamageProof(player) local veh = getPedOccupiedVehicle(player) if isElement(veh) then if damageTable[veh] then damageTable[veh] = nil else damageTable[veh] = {} for i = 0,6 do local state = getVehiclePanelState(veh,i) damageTable[veh][i] = state end end end end addCommandHandler ( "damageProof", setVehiclePanelsDamageProof ) -- # Change this to whatever you want function onVehicleDamage() if isElement(source) and damageTable[source] then for i = 0,6 do setVehiclePanelState(source,i,damageTable[source][i]) end end end addEventHandler("onVehicleDamage", root, onVehicleDamage) Basic script, should work (Untested) . You'll have to modify it to your needs though. When you use the command "damageProof" it loops through the vehicles panels and saves their states (Or if table exists nils it) which enables or disables it. If a table exists (It's enabled) onVehicleDamage it loops through and resets the vehicles panel states. If disabled then it'll ignore it.
  7. Firstly, MTA does not have it's own streamer; there is physically no difference between how SA handles elements and how MTA handles elements. However, separate LOD models are broken in MTA, luckly they are not really required as a typical SA object is lower poly then a far - lod element from modern games thus performance in't really hit much on decent computers (Even sub decent) unless you're going for custom maps. For important objects (AND ONLY IMPORTANT OBJECTS) create the object again with a lod boolen set to true. After that use to assign it. And set the LOD distance to between 170 and 300 depending on how big the object is. Typically I'd recommend people use my streamer, but apparently it's the worlds most difficult thing to figure out (Other then my girl friend) and the above does the job just as well for smaller maps. For bigger maps though The github readme explains it.
  8. This is because MTA does not support the second Alpha flag (Which it needs to)
  9. Conflicting vehicle variants.
  10. Looking back at this my grammar there sucks, and no. What I was thinking at the time (Which is completely different from what I wrote) was setting players to the dimension of the current player client side, this however would cause de-syncs. So either way it's wrong.
  11. What you could do (While not really feasible) is having a 'Bot' that captures the character images in games and sends the images to the website.
  12. Same concept could be applied to vehicles for realistic vehicle deformation. (See AfterAlls vehicle deformation)
  13. Typically it's either that the model does not have a proper LOD, or collisions are wrong. Try assigning a lod (Create a duplicate of the model with LOD set to true and assign it)
  14. Store it as lua, make it check the servers IP or name to verify the server and encrypt it using MTAs encrypter.