Jump to content

Daniels69

Members
  • Posts

    32
  • Joined

  • Last visited

Details

  • Gang
    FX
  • Location
    Latvia

Recent Profile Visitors

1,545 profile views

Daniels69's Achievements

Rat

Rat (9/54)

1

Reputation

  1. Well made server, and pretty interesting to play! Good luck in futher updates
  2. Hi, how can i get the objects parent resource name ? I need to know which object is parented with which resource. To output it on the screen when i click an object
  3. Hello i have question about applying shader with engineApplyShaderToWorldTexture() Is it possible to set transparency/alpha to the applied shader? I want to apply a shader to vehicle windows, with ability to customize the transparency of tinted window
  4. dgsSetProperty(interface,"faceTo",{faceTowardsX,faceTowardsY,faceTowardsZ})
  5. Hello, dear MTASA community, i'm proud to announce the opening of arcane dayz server! The development was going for a long time, and finally we finished it! We've made a dayz server, which is focused on hard surviving and PVP. But we gave it not so oldschool (dayz epoch) look. With new-style huds and things like that. -Couple things about the systems: -Levels system, as you progress with levels you progress with your abilities, many things open from different levels for e.x the same GLUE option to car, is available only from level 2. Higher the level, higher the possibilities of better gaming expirience -Airdrops - At the moment, nothing too much fancy, does the main thing , drops the prize on the ground, attach blip and thing is done. in the future airdrop will, change i can say very soon. With customly designed things. -To make the life a lil bit interesting and not so apocalyptic, we've added 'chat-events' , each 10minutes, some one can win something, you can answer on questions and e.t.c -To make base controling more easy, we've designed base system by our selves, it loads/unloads automatically, you can add a proper base with mapping and protection with only one command, after restart/shutdown , every thing will be on it place. -And ofcourse a language selection system. Now you can properly change the language of server of one of available languages. (More will be addes soon if needed) at the moment there are only 2 (Latvian,English) it's just a little part of everything we've done. I won't tell every thing. Better come and check couple UI screenshots. IP: mtasa://173.212.239.10:22004 IP: mtasa://173.212.239.10:22004
  6. keep getting this error atm, it's the latest update.. and the dgs elements don't load, before i updated every thing was working, now it won't.. http://prntscr.com/hfmrov
  7. can't get futher than this http://prntscr.com/h6461v made an admin account, gave resource admin rights
  8. Hello i have an problem. I've created an window with couple buttons, but when i press the button it calls the function two times or even more.. code: --the button gButtonVehRespawn = edit:dgsDxCreateButton(0.825, 0.076, 0.16, 0.06, "Respawn", true, tabVehicles) -- code addEventHandler("onClientDgsDxMouseClick",root,function() if source == gButtonVehRespawn then btRespawnOneVehicle() elseif source == gButtonAllVehRespawn then showrespawn() end end)
  9. The server language is ENGLISH , website is currently only latvian. EVENT NIGHT STARTING AT 19:30 by GMT+3 , A lot of events, cool prizes. IP: mtasa://176.31.105.102:22007 http://mtasa.lv/
  10. UPDATE: Added levels system , which unlocks unique features for players. Like access to new abilities via commands,unlocks cars and much more. Come and join. mtasa://176.31.105.102:22007
  11. Hello, i want to introduce you with my project. We have 3 servers at the moment. DayZ : With a lot of custom features like auto-events each 30 mins, very optimized gamemode, all bugs fixed, added realistic features to dayz and .e.tc Custom made zombies, with help of npc_hlc script. There are 3 types of them, slow , medium, and fast. We offer players a free base when they have 5 members in they group. All user interface elements are customly made by us. There are plenty of vehicles (Above 400) , they have low polygon mods, which reduces the size of mods. Roleplay: We make our scripts mostly by our selves, we are working for a good economy in the server, a lot of realistic features, like batterys for vehicles, fuel consumption, engine types , plenty of jobs, plenty of features for those jobs, good atmosphere Drift/rpg: This server is made by me completely from scratch, the idea is , a player joins , he haves a choice for 1 car, then he needs to gain reputation/level/money to buy new cars, you can join races with npcs, or with players , drift battles or sprint battles, and in the free time you can completely tune your car as you wish and cruise the town with your gang Website: http://mtasa.lv/ Dayz: mtasa://176.31.105.102:22007 ( Free base, international, easy loot) Roleplay: mtasa://176.31.105.102:22005 Drift/rpg: mtasa://176.31.105.102:22003 (Closed now, not finished yet)
  12. local modelNames = { [402] = "Nissan 240SX", [529] = "529", [420] = "420", [550] = "550", [546] = "546", [540] = "540", [580] = "580", [527] = "Honda Civic Si", [587] = "Nissan Silvia S14", [436] = "Nissan Silvia S15", [426] = "BMW E39", --[526] = "BMW E34", [401] = "Nissan Skyline R34", [559] = "Toyota Supra", [562] = "BMW E36 M3", [477] = "Mazda RX7", [480] = "Porsche 911", [533] = "Honda S2000", [517] = "Toyota Celica", [405] = "Toyota Chaser Tourer V", [560] = "Subaru Impreza", [526] = "Audi S1 Quattro", [600] = "Audi S4" } function getVehicleNameFromModel(model) if not model then return false end if not modelNames[model] then return "Nav zināms:" .. model end return modelNames[model] end function getAllVehiclesModels() local models = {} for k,_ in pairs(modelNames) do table.insert(models, tonumber(k)) end return models end this one is for the names and this one is for drawing: addEventHandler("onClientRender", root, function() if not drawingName then return end offsetY = offsetY + (offsetTargetY - offsetY) * 0.15 local y = screenHeight - height + offsetY local h = screenHeight + offsetY local vehicle = getPedOccupiedVehicle ( localPlayer ) local vehids = getElementData(getPedOccupiedVehicle ( localPlayer ),"handlingType") dxDrawText(""..drawingName, 3, y + 3, screenWidth + 3, h + 3, tocolor(0, 0, 0, 170), 3, "default-bold", "center", "center",false,false,false,true) dxDrawText(""..drawingName, 0, y, screenWidth, h, tocolor(255, 255, 255), 3, "default-bold", "center", "center",false,false,false,true) if drawingOwner then local ownerOffset = dxGetFontHeight(3, "default-bold") y = y + ownerOffset h = h + ownerOffset dxDrawText(drawingOwner, 0, y, screenWidth, h, tocolor(48, 113, 138), 2, "default-bold", "center", "center", false, false, false, true) end end ) local function hide() drawingName = false end local function startHiding() offsetTargetY = height setTimer(hide, 1000, 1) end addEventHandler("onClientVehicleEnter", root, function(player) if player ~= localPlayer then return end drawingName = getVehicleNameFromModel(getElementModel(source)) local ownerName = getElementData(source, "tws-ownerName") if ownerName then drawingOwner = "" .. tostring(drawingName) else drawingOwner = false end offsetY = height offsetTargetY = 0 setTimer(startHiding, 4000, 1) end )
  13. I'm wondering how do i check if the tent is empty (in dayz)? Have no idea.. maybe some one knows? the part what i've made for _,col in ipairs(getElementsByType("colshape")) do if getElementData(col, "tent") then local tent = getElementData(col, "parent"); if tent then local x,y,z = getElementPosition(tent); local rX,rY,rZ = getElementRotation(tent); i just want to check if the tent is empty, and then delete it.. can any one help me with this?
×
×
  • Create New...