UDC

Members
  • Content Count

    89
  • Joined

  • Last visited

Community Reputation

9 Neutral

1 Follower

About UDC

  • Rank
    Transformer

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. You can make your own Friendlyfire code tho which is going to be client sided. function friendlyFire (attacker) if (isElement(source)) and (isElement(attacker)) and (getElementType(attacker) == "player") and (getElementType(source) == "player") then local aTeam = getPlayerTeam(attacker) local sTeam = getPlayerTeam(source) if (aTeam == sTeam) then cancelEvent() end end end addEventHandler("onClientPlayerDamage", root, friendlyFire)
  2. Actually this resource uses Slothbot, while I want to create my personal Ped Moving syste...
  3. It's kind of it, but I want to know what controls shall I use to reach "X" position and some stuff... You gave me an idea on the function tho, thanks
  4. you can try to introduce tables, this way: for i=550,20000 do removeWorldModel(i,10000,0,0,0) end setOcclusionsEnabled(false) setWaterLevel(-5000) for k,objects in ipairs(garageObjects) do -- garageObjects table is already defined and with values local loadedObjects = {} local a,b,c,d,e,f,g,h,i = unpack(objects) local object = createObject ( a,b,c,d,e,f,g ) table.insert(loadedObjects, object) setObjectScale(object,h or 1) setElementDoubleSided(object, i or false ) setElementDimension(object,arenaCDimension) end if (#loadedObjects >= #garageObjects) then fadeCamera(true) loadedObjects = {} end In this case, fadeCamera will be executed only when all the objects were created. PS: setGarageOpen only opens the garage door.
  5. Message me on the forum with more details.
  6. I can try to work for you, message me with more details please.
  7. Hey there, I was wondering if I can automate player's movement. In other words how to move a player to another position (without using setElementPosition). The player would walk till he reaches that position. ?
  8. Really appreciate your help, thanks. Keep up the good work mate, I loved this resource.
  9. I really love what you did in here. I believe that RP servers need such features, but I'm going to ask you if you're able to determine exact position for the object you're going to place in the car's bed ?
  10. I didn't resize them in 3Ds max I just resized them on the TXD @HunT
  11. @CodyJ(L) dude even with that program it's still the same.. no Texture, but this time, the TXD file is loaded.
  12. This idea is unique, I've never thought of teaching or learning Lua online in a discord server, it's brilliand, keep it up guys. This option would help alot.
  13. It's still not loading, I don't know why..
  14. So guys, I made my own mod, the DFF and COL file both work fine, but the TXD isn't loading, it returns this error WARNING: UGAmodloader\client.lua:54: Error loading TXD @ 'engineLoadTXD' [objects/chests/chest.txd] I use a modloader from the community, it works fine with the rest of mods, but this one has errors, I think the problem is from the TXD file, can anyone check it? PS: I use .tga files in TXD https://www.upload.ee/files/8647584/chest.txd.html here is the TXD file